Skip to content

Commit d27786a

Browse files
feat: Automated regeneration of servicenetworking v1 client (#20540)
Auto-created at 2024-11-10 09:45:40 +0000 using the toys pull request generator.
1 parent daa05a9 commit d27786a

File tree

5 files changed

+22
-7
lines changed

5 files changed

+22
-7
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305840,6 +305840,7 @@
305840305840
"/servicenetworking:v1/Experimental": experimental
305841305841
"/servicenetworking:v1/Experimental/authorization": authorization
305842305842
"/servicenetworking:v1/ExperimentalFeatures": experimental_features
305843+
"/servicenetworking:v1/ExperimentalFeatures/protobufPythonicTypesEnabled": protobuf_pythonic_types_enabled
305843305844
"/servicenetworking:v1/ExperimentalFeatures/restAsyncIoEnabled": rest_async_io_enabled
305844305845
"/servicenetworking:v1/Field": field
305845305846
"/servicenetworking:v1/Field/cardinality": cardinality

generated/google-apis-servicenetworking_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-servicenetworking_v1
22

3+
### v0.68.0 (2024-11-10)
4+
5+
* Regenerated from discovery document revision 20241105
6+
37
### v0.67.0 (2024-09-29)
48

59
* Regenerated from discovery document revision 20240925

generated/google-apis-servicenetworking_v1/lib/google/apis/servicenetworking_v1/classes.rb

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,6 +1970,14 @@ def update!(**args)
19701970
class ExperimentalFeatures
19711971
include Google::Apis::Core::Hashable
19721972

1973+
# Enables generation of protobuf code using new types that are more Pythonic
1974+
# which are included in `protobuf>=5.29.x`. This feature will be enabled by
1975+
# default 1 month after launching the feature in preview packages.
1976+
# Corresponds to the JSON property `protobufPythonicTypesEnabled`
1977+
# @return [Boolean]
1978+
attr_accessor :protobuf_pythonic_types_enabled
1979+
alias_method :protobuf_pythonic_types_enabled?, :protobuf_pythonic_types_enabled
1980+
19731981
# Enables generation of asynchronous REST clients if `rest` transport is enabled.
19741982
# By default, asynchronous REST clients will not be generated. This feature
19751983
# will be enabled by default 1 month after launching the feature in preview
@@ -1985,6 +1993,7 @@ def initialize(**args)
19851993

19861994
# Update properties of this object
19871995
def update!(**args)
1996+
@protobuf_pythonic_types_enabled = args[:protobuf_pythonic_types_enabled] if args.key?(:protobuf_pythonic_types_enabled)
19881997
@rest_async_io_enabled = args[:rest_async_io_enabled] if args.key?(:rest_async_io_enabled)
19891998
end
19901999
end
@@ -3974,11 +3983,11 @@ class QuotaLimit
39743983
# @return [String]
39753984
attr_accessor :name
39763985

3977-
# Specify the unit of the quota limit. It uses the same syntax as Metric.unit.
3978-
# The supported unit kinds are determined by the quota backend system. Here are
3979-
# some examples: * "1/min/`project`" for quota per minute per project. Note: the
3980-
# order of unit components is insignificant. The "1" at the beginning is
3981-
# required to follow the metric unit syntax.
3986+
# Specify the unit of the quota limit. It uses the same syntax as
3987+
# MetricDescriptor.unit. The supported unit kinds are determined by the quota
3988+
# backend system. Here are some examples: * "1/min/`project`" for quota per
3989+
# minute per project. Note: the order of unit components is insignificant. The "
3990+
# 1" at the beginning is required to follow the metric unit syntax.
39823991
# Corresponds to the JSON property `unit`
39833992
# @return [String]
39843993
attr_accessor :unit

generated/google-apis-servicenetworking_v1/lib/google/apis/servicenetworking_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ServicenetworkingV1
1818
# Version of the google-apis-servicenetworking_v1 gem
19-
GEM_VERSION = "0.67.0"
19+
GEM_VERSION = "0.68.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240925"
25+
REVISION = "20241105"
2626
end
2727
end
2828
end

generated/google-apis-servicenetworking_v1/lib/google/apis/servicenetworking_v1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,6 +1263,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
12631263
class ExperimentalFeatures
12641264
# @private
12651265
class Representation < Google::Apis::Core::JsonRepresentation
1266+
property :protobuf_pythonic_types_enabled, as: 'protobufPythonicTypesEnabled'
12661267
property :rest_async_io_enabled, as: 'restAsyncIoEnabled'
12671268
end
12681269
end

0 commit comments

Comments
 (0)