diff --git a/api_names_out.yaml b/api_names_out.yaml index 8b4e97917..0494ba836 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -138087,6 +138087,8 @@ "/servicenetworking:v1/AddSubnetworkRequest/privateIpv6GoogleAccess": private_ipv6_google_access "/servicenetworking:v1/AddSubnetworkRequest/region": region "/servicenetworking:v1/AddSubnetworkRequest/requestedAddress": requested_address +"/servicenetworking:v1/AddSubnetworkRequest/requestedRanges": requested_ranges +"/servicenetworking:v1/AddSubnetworkRequest/requestedRanges/requested_range": requested_range "/servicenetworking:v1/AddSubnetworkRequest/secondaryIpRangeSpecs": secondary_ip_range_specs "/servicenetworking:v1/AddSubnetworkRequest/secondaryIpRangeSpecs/secondary_ip_range_spec": secondary_ip_range_spec "/servicenetworking:v1/AddSubnetworkRequest/subnetwork": subnetwork @@ -138419,6 +138421,8 @@ "/servicenetworking:v1/Range/network": network "/servicenetworking:v1/RangeReservation": range_reservation "/servicenetworking:v1/RangeReservation/ipPrefixLength": ip_prefix_length +"/servicenetworking:v1/RangeReservation/requestedRanges": requested_ranges +"/servicenetworking:v1/RangeReservation/requestedRanges/requested_range": requested_range "/servicenetworking:v1/RangeReservation/secondaryRangeIpPrefixLengths": secondary_range_ip_prefix_lengths "/servicenetworking:v1/RangeReservation/secondaryRangeIpPrefixLengths/secondary_range_ip_prefix_length": secondary_range_ip_prefix_length "/servicenetworking:v1/RemoveDnsRecordSetMetadata": remove_dns_record_set_metadata diff --git a/generated/google/apis/servicenetworking_v1.rb b/generated/google/apis/servicenetworking_v1.rb index 68e55a6ce..b3c979432 100644 --- a/generated/google/apis/servicenetworking_v1.rb +++ b/generated/google/apis/servicenetworking_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started module ServicenetworkingV1 VERSION = 'V1' - REVISION = '20201117' + REVISION = '20201201' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/servicenetworking_v1/classes.rb b/generated/google/apis/servicenetworking_v1/classes.rb index 786f3639a..f40b8380c 100644 --- a/generated/google/apis/servicenetworking_v1/classes.rb +++ b/generated/google/apis/servicenetworking_v1/classes.rb @@ -261,6 +261,15 @@ module Google # @return [String] attr_accessor :requested_address + # Optional. The name of one or more allocated IP address ranges associated with + # this private service access connection. If no range names are provided all + # ranges associated with this connection will be considered. If a CIDR range + # with the specified IP prefix length is not available within these ranges, the + # call fails. + # Corresponds to the JSON property `requestedRanges` + # @return [Array] + attr_accessor :requested_ranges + # Optional. A list of secondary IP ranges to be created within the new # subnetwork. # Corresponds to the JSON property `secondaryIpRangeSpecs` @@ -292,6 +301,7 @@ module Google @ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length) @region = args[:region] if args.key?(:region) @requested_address = args[:requested_address] if args.key?(:requested_address) + @requested_ranges = args[:requested_ranges] if args.key?(:requested_ranges) @secondary_ip_range_specs = args[:secondary_ip_range_specs] if args.key?(:secondary_ip_range_specs) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @subnetwork_users = args[:subnetwork_users] if args.key?(:subnetwork_users) @@ -3038,6 +3048,15 @@ module Google # @return [Fixnum] attr_accessor :ip_prefix_length + # Optional. The name of one or more allocated IP address ranges associated with + # this private service access connection. If no range names are provided all + # ranges associated with this connection will be considered. If a CIDR range + # with the specified IP prefix length is not available within these ranges the + # validation fails. + # Corresponds to the JSON property `requestedRanges` + # @return [Array] + attr_accessor :requested_ranges + # 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 @@ -3053,6 +3072,7 @@ module Google # Update properties of this object def update!(**args) @ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length) + @requested_ranges = args[:requested_ranges] if args.key?(:requested_ranges) @secondary_range_ip_prefix_lengths = args[:secondary_range_ip_prefix_lengths] if args.key?(:secondary_range_ip_prefix_lengths) end end diff --git a/generated/google/apis/servicenetworking_v1/representations.rb b/generated/google/apis/servicenetworking_v1/representations.rb index 7b936cb51..7d17aabcc 100644 --- a/generated/google/apis/servicenetworking_v1/representations.rb +++ b/generated/google/apis/servicenetworking_v1/representations.rb @@ -683,6 +683,7 @@ module Google property :ip_prefix_length, as: 'ipPrefixLength' property :region, as: 'region' property :requested_address, as: 'requestedAddress' + collection :requested_ranges, as: 'requestedRanges' collection :secondary_ip_range_specs, as: 'secondaryIpRangeSpecs', class: Google::Apis::ServicenetworkingV1::SecondaryIpRangeSpec, decorator: Google::Apis::ServicenetworkingV1::SecondaryIpRangeSpec::Representation property :subnetwork, as: 'subnetwork' @@ -1308,6 +1309,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :ip_prefix_length, as: 'ipPrefixLength' + collection :requested_ranges, as: 'requestedRanges' collection :secondary_range_ip_prefix_lengths, as: 'secondaryRangeIpPrefixLengths' end end diff --git a/generated/google/apis/servicenetworking_v1/synth.metadata b/generated/google/apis/servicenetworking_v1/synth.metadata index 36d12a57d..4e30d40db 100644 --- a/generated/google/apis/servicenetworking_v1/synth.metadata +++ b/generated/google/apis/servicenetworking_v1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "bfe4570ea817b38ad143eba0c5435d3a2a398a7e" + "sha": "0940da26fa91b8e41483fe7174655b756724ea41" } } ]