Class: Google::Apis::ComputeAlpha::SubnetworksExpandIpCidrRangeRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SubnetworksExpandIpCidrRangeRequest

Returns a new instance of SubnetworksExpandIpCidrRangeRequest.



33140
33141
33142
# File 'generated/google/apis/compute_alpha/classes.rb', line 33140

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

Instance Attribute Details

#ip_cidr_rangeString

The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update. Corresponds to the JSON property ipCidrRange

Returns:

  • (String)


33131
33132
33133
# File 'generated/google/apis/compute_alpha/classes.rb', line 33131

def ip_cidr_range
  @ip_cidr_range
end

#range_typeString

The type of IP CIDR range to associate with this subnetwork. The default is RFC_1918. When expanding to a non-RFC 1918 range, this field must be be set to NON_RFC_1918. Corresponds to the JSON property rangeType

Returns:

  • (String)


33138
33139
33140
# File 'generated/google/apis/compute_alpha/classes.rb', line 33138

def range_type
  @range_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33145
33146
33147
33148
# File 'generated/google/apis/compute_alpha/classes.rb', line 33145

def update!(**args)
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
  @range_type = args[:range_type] if args.key?(:range_type)
end