Class: Google::Apis::ServicenetworkingV1::Range
- Inherits:
-
Object
- Object
- Google::Apis::ServicenetworkingV1::Range
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicenetworking_v1/classes.rb,
generated/google/apis/servicenetworking_v1/representations.rb,
generated/google/apis/servicenetworking_v1/representations.rb
Overview
Represents a found unused range.
Instance Attribute Summary collapse
-
#ip_cidr_range ⇒ String
CIDR range in "10.x.x.x/y" format that is within the allocated ranges and currently unused.
-
#network ⇒ String
In the Shared VPC host project, the VPC network that's peered with the consumer network.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Range
constructor
A new instance of Range.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Range
Returns a new instance of Range.
3028 3029 3030 |
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 3028 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_cidr_range ⇒ String
CIDR range in "10.x.x.x/y" format that is within the allocated ranges and
currently unused.
Corresponds to the JSON property ipCidrRange
3020 3021 3022 |
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 3020 def ip_cidr_range @ip_cidr_range end |
#network ⇒ String
In the Shared VPC host project, the VPC network that's peered with the
consumer network. For example: projects/1234321/global/networks/host-network
Corresponds to the JSON property network
3026 3027 3028 |
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 3026 def network @network end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3033 3034 3035 3036 |
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 3033 def update!(**args) @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) @network = args[:network] if args.key?(:network) end |