From 8fcea6747fbcee2f5efd17b827f5b5c59e867c49 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 8 Jan 2021 08:45:18 -0800 Subject: [PATCH] feat: Automated regeneration of servicenetworking v1beta client (#2258) --- api_names_out.yaml | 1 + .../CHANGELOG.md | 4 ++++ .../google/apis/servicenetworking_v1beta/classes.rb | 12 +++++++++++- .../apis/servicenetworking_v1beta/gem_version.rb | 4 ++-- .../apis/servicenetworking_v1beta/representations.rb | 1 + .../synth.metadata | 2 +- 6 files changed, 20 insertions(+), 4 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 0837506d9..0525a6e26 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -144160,6 +144160,7 @@ "/servicenetworking:v1beta/Subnetwork/name": name "/servicenetworking:v1beta/Subnetwork/network": network "/servicenetworking:v1beta/Subnetwork/outsideAllocation": outside_allocation +"/servicenetworking:v1beta/Subnetwork/region": region "/servicenetworking:v1beta/Subnetwork/secondaryIpRanges": secondary_ip_ranges "/servicenetworking:v1beta/Subnetwork/secondaryIpRanges/secondary_ip_range": secondary_ip_range "/servicenetworking:v1beta/SystemParameter": system_parameter diff --git a/generated/google-apis-servicenetworking_v1beta/CHANGELOG.md b/generated/google-apis-servicenetworking_v1beta/CHANGELOG.md index 9d0b20cfd..660cc1cda 100644 --- a/generated/google-apis-servicenetworking_v1beta/CHANGELOG.md +++ b/generated/google-apis-servicenetworking_v1beta/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-servicenetworking_v1beta +### v0.2.0 (2021-01-08) + +* Regenerated from discovery document revision 20210106 + ### v0.1.0 (2021-01-07) * Regenerated from discovery document revision 20210105 diff --git a/generated/google-apis-servicenetworking_v1beta/lib/google/apis/servicenetworking_v1beta/classes.rb b/generated/google-apis-servicenetworking_v1beta/lib/google/apis/servicenetworking_v1beta/classes.rb index 5f7d3df7b..58a4e888a 100644 --- a/generated/google-apis-servicenetworking_v1beta/lib/google/apis/servicenetworking_v1beta/classes.rb +++ b/generated/google-apis-servicenetworking_v1beta/lib/google/apis/servicenetworking_v1beta/classes.rb @@ -3366,6 +3366,11 @@ module Google attr_accessor :outside_allocation alias_method :outside_allocation?, :outside_allocation + # GCP region where the subnetwork is located. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + # List of secondary IP ranges in this subnetwork. # Corresponds to the JSON property `secondaryIpRanges` # @return [Array] @@ -3381,6 +3386,7 @@ module Google @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) @outside_allocation = args[:outside_allocation] if args.key?(:outside_allocation) + @region = args[:region] if args.key?(:region) @secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges) end end @@ -3559,7 +3565,11 @@ module Google # Requirements that must be satisfied before a consumer project can use the # service. Each requirement is of the form /; for example 'serviceusage. - # googleapis.com/billing-enabled'. + # googleapis.com/billing-enabled'. For Google APIs, a Terms of Service + # requirement must be included here. Google Cloud APIs must include " + # serviceusage.googleapis.com/tos/cloud". Other Google APIs should include " + # serviceusage.googleapis.com/tos/universal". Additional ToS can be included + # based on the business needs. # Corresponds to the JSON property `requirements` # @return [Array] attr_accessor :requirements diff --git a/generated/google-apis-servicenetworking_v1beta/lib/google/apis/servicenetworking_v1beta/gem_version.rb b/generated/google-apis-servicenetworking_v1beta/lib/google/apis/servicenetworking_v1beta/gem_version.rb index 1933b269a..6c84bfe65 100644 --- a/generated/google-apis-servicenetworking_v1beta/lib/google/apis/servicenetworking_v1beta/gem_version.rb +++ b/generated/google-apis-servicenetworking_v1beta/lib/google/apis/servicenetworking_v1beta/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module ServicenetworkingV1beta # Version of the google-apis-servicenetworking_v1beta gem - GEM_VERSION = "0.1.0" + GEM_VERSION = "0.2.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.1.1" # Revision of the discovery document this client was generated from - REVISION = "20210105" + REVISION = "20210106" end end end diff --git a/generated/google-apis-servicenetworking_v1beta/lib/google/apis/servicenetworking_v1beta/representations.rb b/generated/google-apis-servicenetworking_v1beta/lib/google/apis/servicenetworking_v1beta/representations.rb index 3593c937d..e14c201f0 100644 --- a/generated/google-apis-servicenetworking_v1beta/lib/google/apis/servicenetworking_v1beta/representations.rb +++ b/generated/google-apis-servicenetworking_v1beta/lib/google/apis/servicenetworking_v1beta/representations.rb @@ -1252,6 +1252,7 @@ module Google property :name, as: 'name' property :network, as: 'network' property :outside_allocation, as: 'outsideAllocation' + property :region, as: 'region' collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ServicenetworkingV1beta::SecondaryIpRange, decorator: Google::Apis::ServicenetworkingV1beta::SecondaryIpRange::Representation end diff --git a/generated/google-apis-servicenetworking_v1beta/synth.metadata b/generated/google-apis-servicenetworking_v1beta/synth.metadata index 535d0881c..b1bac7fed 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": "6de8b4ee653db67c0e789203767a89b32fcf8a51" + "sha": "c6bbfd62e37cc5a444d49a6576fda907b3bfb9b5" } } ]