generated/google/apis/servicenetworking_v1/classes.rb in google-api-client-0.37.0 vs generated/google/apis/servicenetworking_v1/classes.rb in google-api-client-0.37.1
- old
+ new
@@ -56,10 +56,18 @@
# pool of available ranges in the service consumer's allocated range.
# Corresponds to the JSON property `ipPrefixLength`
# @return [Fixnum]
attr_accessor :ip_prefix_length
+ # Optional. The private IPv6 google access type for the VMs in this subnet.
+ # For information about the access types that can be set using this field,
+ # see [subnetwork](/compute/docs/reference/rest/v1/subnetworks)
+ # in the Compute API documentation.
+ # Corresponds to the JSON property `privateIpv6GoogleAccess`
+ # @return [String]
+ attr_accessor :private_ipv6_google_access
+
# Required. The name of a [region](/compute/docs/regions-zones)
# for the subnet, such `europe-west1`.
# Corresponds to the JSON property `region`
# @return [String]
attr_accessor :region
@@ -94,10 +102,11 @@
def update!(**args)
@consumer = args[:consumer] if args.key?(:consumer)
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
@description = args[:description] if args.key?(:description)
@ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
+ @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
@region = args[:region] if args.key?(:region)
@requested_address = args[:requested_address] if args.key?(:requested_address)
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
@subnetwork_users = args[:subnetwork_users] if args.key?(:subnetwork_users)
end
@@ -2877,16 +2886,26 @@
# size.
# Corresponds to the JSON property `ipPrefixLength`
# @return [Fixnum]
attr_accessor :ip_prefix_length
+ # Optional. DO NOT USE - Under development.
+ # The size of the desired secondary ranges for the subnet. Use usual CIDR
+ # range notation. For example, '30' to find unused x.x.x.x/30 CIDR range. The
+ # goal is to determine that the allocated ranges have enough free space for
+ # all the requested secondary ranges.
+ # Corresponds to the JSON property `secondaryRangeIpPrefixLengths`
+ # @return [Array<Fixnum>]
+ attr_accessor :secondary_range_ip_prefix_lengths
+
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
+ @secondary_range_ip_prefix_lengths = args[:secondary_range_ip_prefix_lengths] if args.key?(:secondary_range_ip_prefix_lengths)
end
end
# Request to search for an unused range within allocated ranges.
class SearchRangeRequest