Class: Google::Apis::ServicenetworkingV1beta::SecondaryIpRange

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/servicenetworking_v1beta/classes.rb,
generated/google/apis/servicenetworking_v1beta/representations.rb,
generated/google/apis/servicenetworking_v1beta/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecondaryIpRange

Returns a new instance of SecondaryIpRange.



2922
2923
2924
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 2922

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ip_cidr_rangeString

Secondary IP CIDR range in x.x.x.x/y format. Corresponds to the JSON property ipCidrRange

Returns:

  • (String)


2915
2916
2917
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 2915

def ip_cidr_range
  @ip_cidr_range
end

#range_nameString

Name of the secondary IP range. Corresponds to the JSON property rangeName

Returns:

  • (String)


2920
2921
2922
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 2920

def range_name
  @range_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2927
2928
2929
2930
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 2927

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