diff --git a/api_names_out.yaml b/api_names_out.yaml index 9794e05e50a..7c3ac760f36 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -137298,6 +137298,10 @@ "/servicenetworking:v1/Field/options/option": option "/servicenetworking:v1/Field/packed": packed "/servicenetworking:v1/Field/typeUrl": type_url +"/servicenetworking:v1/GoogleCloudServicenetworkingV1ConsumerConfigReservedRange": google_cloud_servicenetworking_v1_consumer_config_reserved_range +"/servicenetworking:v1/GoogleCloudServicenetworkingV1ConsumerConfigReservedRange/address": address +"/servicenetworking:v1/GoogleCloudServicenetworkingV1ConsumerConfigReservedRange/ipPrefixLength": ip_prefix_length +"/servicenetworking:v1/GoogleCloudServicenetworkingV1ConsumerConfigReservedRange/name": name "/servicenetworking:v1/GoogleCloudServicenetworkingV1betaSubnetwork": google_cloud_servicenetworking_v1beta_subnetwork "/servicenetworking:v1/GoogleCloudServicenetworkingV1betaSubnetwork/ipCidrRange": ip_cidr_range "/servicenetworking:v1/GoogleCloudServicenetworkingV1betaSubnetwork/name": name diff --git a/generated/google/apis/servicenetworking_v1.rb b/generated/google/apis/servicenetworking_v1.rb index 02a557596a3..68e55a6cef5 100644 --- a/generated/google/apis/servicenetworking_v1.rb +++ b/generated/google/apis/servicenetworking_v1.rb @@ -26,7 +26,7 @@ module Apis # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started module ServicenetworkingV1 VERSION = 'V1' - REVISION = '20201107' + 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_v1/classes.rb b/generated/google/apis/servicenetworking_v1/classes.rb index 1320be28c3b..786f3639acf 100644 --- a/generated/google/apis/servicenetworking_v1/classes.rb +++ b/generated/google/apis/servicenetworking_v1/classes.rb @@ -872,10 +872,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) @@ -1578,6 +1578,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_v1/representations.rb b/generated/google/apis/servicenetworking_v1/representations.rb index e03fa51d747..7b936cb511c 100644 --- a/generated/google/apis/servicenetworking_v1/representations.rb +++ b/generated/google/apis/servicenetworking_v1/representations.rb @@ -268,6 +268,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 @@ -811,7 +817,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::ServicenetworkingV1::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange, decorator: Google::Apis::ServicenetworkingV1::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange::Representation + end end @@ -997,6 +1004,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_v1/synth.metadata b/generated/google/apis/servicenetworking_v1/synth.metadata index d205479fe89..36d12a57d85 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": "33b84d0738d4f86612984844493a4e0f8651f26d" + "sha": "bfe4570ea817b38ad143eba0c5435d3a2a398a7e" } } ]