Skip to content

Commit

Permalink
feat: Automated regeneration of servicemanagement v1 client (#20571)
Browse files Browse the repository at this point in the history
Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
  • Loading branch information
yoshi-code-bot and yoshi-automation authored Nov 22, 2024
1 parent 9ce98db commit 2b7105a
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 7 deletions.
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -305486,6 +305486,7 @@
"/servicemanagement:v1/Experimental": experimental
"/servicemanagement:v1/Experimental/authorization": authorization
"/servicemanagement:v1/ExperimentalFeatures": experimental_features
"/servicemanagement:v1/ExperimentalFeatures/protobufPythonicTypesEnabled": protobuf_pythonic_types_enabled
"/servicemanagement:v1/ExperimentalFeatures/restAsyncIoEnabled": rest_async_io_enabled
"/servicemanagement:v1/Expr": expr
"/servicemanagement:v1/Expr/description": description
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-servicemanagement_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-servicemanagement_v1

### v0.62.0 (2024-11-17)

* Regenerated from discovery document revision 20241106

### v0.61.0 (2024-10-06)

* Regenerated from discovery document revision 20240927
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1556,6 +1556,14 @@ def update!(**args)
class ExperimentalFeatures
include Google::Apis::Core::Hashable

# Enables generation of protobuf code using new types that are more Pythonic
# which are included in `protobuf>=5.29.x`. This feature will be enabled by
# default 1 month after launching the feature in preview packages.
# Corresponds to the JSON property `protobufPythonicTypesEnabled`
# @return [Boolean]
attr_accessor :protobuf_pythonic_types_enabled
alias_method :protobuf_pythonic_types_enabled?, :protobuf_pythonic_types_enabled

# Enables generation of asynchronous REST clients if `rest` transport is enabled.
# By default, asynchronous REST clients will not be generated. This feature
# will be enabled by default 1 month after launching the feature in preview
Expand All @@ -1571,6 +1579,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@protobuf_pythonic_types_enabled = args[:protobuf_pythonic_types_enabled] if args.key?(:protobuf_pythonic_types_enabled)
@rest_async_io_enabled = args[:rest_async_io_enabled] if args.key?(:rest_async_io_enabled)
end
end
Expand Down Expand Up @@ -3707,11 +3716,11 @@ class QuotaLimit
# @return [String]
attr_accessor :name

# Specify the unit of the quota limit. It uses the same syntax as Metric.unit.
# The supported unit kinds are determined by the quota backend system. Here are
# some examples: * "1/min/`project`" for quota per minute per project. Note: the
# order of unit components is insignificant. The "1" at the beginning is
# required to follow the metric unit syntax.
# Specify the unit of the quota limit. It uses the same syntax as
# MetricDescriptor.unit. The supported unit kinds are determined by the quota
# backend system. Here are some examples: * "1/min/`project`" for quota per
# minute per project. Note: the order of unit components is insignificant. The "
# 1" at the beginning is required to follow the metric unit syntax.
# Corresponds to the JSON property `unit`
# @return [String]
attr_accessor :unit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ServicemanagementV1
# Version of the google-apis-servicemanagement_v1 gem
GEM_VERSION = "0.61.0"
GEM_VERSION = "0.62.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20240927"
REVISION = "20241106"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1026,6 +1026,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
class ExperimentalFeatures
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :protobuf_pythonic_types_enabled, as: 'protobufPythonicTypesEnabled'
property :rest_async_io_enabled, as: 'restAsyncIoEnabled'
end
end
Expand Down

0 comments on commit 2b7105a

Please sign in to comment.