Class: Google::Apis::ServicenetworkingV1beta::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange
- Inherits:
-
Object
- Object
- Google::Apis::ServicenetworkingV1beta::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/servicenetworking_v1beta/classes.rb,
lib/google/apis/servicenetworking_v1beta/representations.rb,
lib/google/apis/servicenetworking_v1beta/representations.rb
Overview
Allocated IP address ranges for this private service access connection.
Instance Attribute Summary collapse
-
#address ⇒ String
The starting address of the reserved range.
-
#ip_prefix_length ⇒ Fixnum
The prefix length of the reserved range.
-
#name ⇒ String
The name of the reserved range.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudServicenetworkingV1ConsumerConfigReservedRange
constructor
A new instance of GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudServicenetworkingV1ConsumerConfigReservedRange
Returns a new instance of GoogleCloudServicenetworkingV1ConsumerConfigReservedRange.
2035 2036 2037 |
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 2035 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ String
The starting address of the reserved range. The address must be a valid IPv4
address in the x.x.x.x format. This value combined with the IP prefix length
is the CIDR range for the reserved range.
Corresponds to the JSON property address
2023 2024 2025 |
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 2023 def address @address end |
#ip_prefix_length ⇒ Fixnum
The prefix length of the reserved range.
Corresponds to the JSON property ipPrefixLength
2028 2029 2030 |
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 2028 def ip_prefix_length @ip_prefix_length end |
#name ⇒ String
The name of the reserved range.
Corresponds to the JSON property name
2033 2034 2035 |
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 2033 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2040 2041 2042 2043 2044 |
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 2040 def update!(**args) @address = args[:address] if args.key?(:address) @ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length) @name = args[:name] if args.key?(:name) end |