Class: Google::Apis::ServicenetworkingV1::SecondaryIpRange
- Inherits:
-
Object
- Object
- Google::Apis::ServicenetworkingV1::SecondaryIpRange
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/servicenetworking_v1/classes.rb,
lib/google/apis/servicenetworking_v1/representations.rb,
lib/google/apis/servicenetworking_v1/representations.rb
Instance Attribute Summary collapse
-
#ip_cidr_range ⇒ String
Secondary IP CIDR range in
x.x.x.x/y
format. -
#range_name ⇒ String
Name of the secondary IP range.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecondaryIpRange
constructor
A new instance of SecondaryIpRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecondaryIpRange
Returns a new instance of SecondaryIpRange.
4307 4308 4309 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 4307 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_cidr_range ⇒ String
Secondary IP CIDR range in x.x.x.x/y
format.
Corresponds to the JSON property ipCidrRange
4300 4301 4302 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 4300 def ip_cidr_range @ip_cidr_range end |
#range_name ⇒ String
Name of the secondary IP range.
Corresponds to the JSON property rangeName
4305 4306 4307 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 4305 def range_name @range_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4312 4313 4314 4315 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 4312 def update!(**args) @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) @range_name = args[:range_name] if args.key?(:range_name) end |