diff --git a/api_names_out.yaml b/api_names_out.yaml index 36e3a12bd0d..9794e05e50a 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -137823,6 +137823,10 @@ "/servicenetworking:v1beta/Field/options/option": option "/servicenetworking:v1beta/Field/packed": packed "/servicenetworking:v1beta/Field/typeUrl": type_url +"/servicenetworking:v1beta/GoogleCloudServicenetworkingV1ConsumerConfigReservedRange": google_cloud_servicenetworking_v1_consumer_config_reserved_range +"/servicenetworking:v1beta/GoogleCloudServicenetworkingV1ConsumerConfigReservedRange/address": address +"/servicenetworking:v1beta/GoogleCloudServicenetworkingV1ConsumerConfigReservedRange/ipPrefixLength": ip_prefix_length +"/servicenetworking:v1beta/GoogleCloudServicenetworkingV1ConsumerConfigReservedRange/name": name "/servicenetworking:v1beta/GoogleCloudServicenetworkingV1betaSubnetwork": google_cloud_servicenetworking_v1beta_subnetwork "/servicenetworking:v1beta/GoogleCloudServicenetworkingV1betaSubnetwork/ipCidrRange": ip_cidr_range "/servicenetworking:v1beta/GoogleCloudServicenetworkingV1betaSubnetwork/name": name diff --git a/generated/google/apis/servicenetworking_v1beta.rb b/generated/google/apis/servicenetworking_v1beta.rb index 23775ff2849..9bbccea2f40 100644 --- a/generated/google/apis/servicenetworking_v1beta.rb +++ b/generated/google/apis/servicenetworking_v1beta.rb @@ -26,7 +26,7 @@ module Apis # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started module ServicenetworkingV1beta VERSION = 'V1beta' - REVISION = '20201104' + REVISION = '20201117' # 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_v1beta/classes.rb b/generated/google/apis/servicenetworking_v1beta/classes.rb index 97618030710..d258c7faccf 100644 --- a/generated/google/apis/servicenetworking_v1beta/classes.rb +++ b/generated/google/apis/servicenetworking_v1beta/classes.rb @@ -748,10 +748,10 @@ class ConsumerConfig # @return [String] attr_accessor :producer_network - # Output only. The name of the allocated IP address ranges for this private - # service access connection. + # Output only. The reserved ranges associated with this private service access + # connection. # Corresponds to the JSON property `reservedRanges` - # @return [Array] + # @return [Array] attr_accessor :reserved_ranges def initialize(**args) @@ -1374,6 +1374,39 @@ def update!(**args) end end + # Allocated IP address ranges for this private service access connection. + class GoogleCloudServicenetworkingV1ConsumerConfigReservedRange + include Google::Apis::Core::Hashable + + # The starting address of the reserved range. The address must be a valid IPv4 + # address in the x.x.x.x format. This value combined with the IP prefix length + # is the CIDR range for the reserved range. + # Corresponds to the JSON property `address` + # @return [String] + attr_accessor :address + + # The prefix length of the reserved range. + # Corresponds to the JSON property `ipPrefixLength` + # @return [Fixnum] + attr_accessor :ip_prefix_length + + # The name of the reserved range. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @address = args[:address] if args.key?(:address) + @ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length) + @name = args[:name] if args.key?(:name) + end + end + # Represents a subnet that was created or discovered by a private access # management service. class GoogleCloudServicenetworkingV1betaSubnetwork diff --git a/generated/google/apis/servicenetworking_v1beta/representations.rb b/generated/google/apis/servicenetworking_v1beta/representations.rb index 28a61da412b..359e0c5e63e 100644 --- a/generated/google/apis/servicenetworking_v1beta/representations.rb +++ b/generated/google/apis/servicenetworking_v1beta/representations.rb @@ -220,6 +220,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudServicenetworkingV1ConsumerConfigReservedRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudServicenetworkingV1betaSubnetwork class Representation < Google::Apis::Core::JsonRepresentation; end @@ -667,7 +673,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :producer_import_custom_routes, as: 'producerImportCustomRoutes' property :producer_import_subnet_routes_with_public_ip, as: 'producerImportSubnetRoutesWithPublicIp' property :producer_network, as: 'producerNetwork' - collection :reserved_ranges, as: 'reservedRanges' + collection :reserved_ranges, as: 'reservedRanges', class: Google::Apis::ServicenetworkingV1beta::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange, decorator: Google::Apis::ServicenetworkingV1beta::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange::Representation + end end @@ -826,6 +833,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudServicenetworkingV1ConsumerConfigReservedRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :address, as: 'address' + property :ip_prefix_length, as: 'ipPrefixLength' + property :name, as: 'name' + end + end + class GoogleCloudServicenetworkingV1betaSubnetwork # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/servicenetworking_v1beta/synth.metadata b/generated/google/apis/servicenetworking_v1beta/synth.metadata index d836485a656..36d12a57d85 100644 --- a/generated/google/apis/servicenetworking_v1beta/synth.metadata +++ b/generated/google/apis/servicenetworking_v1beta/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "6e81270051b57ce334c9929cbf56efdd34172726" + "sha": "bfe4570ea817b38ad143eba0c5435d3a2a398a7e" } } ]