Skip to content

Commit f6cbcf7

Browse files
feat: Automated regeneration of serviceconsumermanagement v1beta1 client (googleapis#21886)
Auto-created at 2025-02-26 21:32:04 +0000 using the toys pull request generator.
1 parent 9e336b4 commit f6cbcf7

File tree

5 files changed

+107
-8
lines changed

5 files changed

+107
-8
lines changed

api_names_out.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319557,6 +319557,10 @@
319557319557
"/serviceconsumermanagement:v1beta1/Api/sourceContext": source_context
319558319558
"/serviceconsumermanagement:v1beta1/Api/syntax": syntax
319559319559
"/serviceconsumermanagement:v1beta1/Api/version": version
319560+
"/serviceconsumermanagement:v1beta1/Aspect": aspect
319561+
"/serviceconsumermanagement:v1beta1/Aspect/kind": kind
319562+
"/serviceconsumermanagement:v1beta1/Aspect/spec": spec
319563+
"/serviceconsumermanagement:v1beta1/Aspect/spec/spec": spec
319560319564
"/serviceconsumermanagement:v1beta1/AuthProvider": auth_provider
319561319565
"/serviceconsumermanagement:v1beta1/AuthProvider/audiences": audiences
319562319566
"/serviceconsumermanagement:v1beta1/AuthProvider/authorizationUrl": authorization_url
@@ -319587,6 +319591,7 @@
319587319591
"/serviceconsumermanagement:v1beta1/BackendRule/deadline": deadline
319588319592
"/serviceconsumermanagement:v1beta1/BackendRule/disableAuth": disable_auth
319589319593
"/serviceconsumermanagement:v1beta1/BackendRule/jwtAudience": jwt_audience
319594+
"/serviceconsumermanagement:v1beta1/BackendRule/loadBalancingPolicy": load_balancing_policy
319590319595
"/serviceconsumermanagement:v1beta1/BackendRule/minDeadline": min_deadline
319591319596
"/serviceconsumermanagement:v1beta1/BackendRule/operationDeadline": operation_deadline
319592319597
"/serviceconsumermanagement:v1beta1/BackendRule/overridesByRequestProtocol": overrides_by_request_protocol
@@ -319701,6 +319706,7 @@
319701319706
"/serviceconsumermanagement:v1beta1/ExperimentalFeatures": experimental_features
319702319707
"/serviceconsumermanagement:v1beta1/ExperimentalFeatures/protobufPythonicTypesEnabled": protobuf_pythonic_types_enabled
319703319708
"/serviceconsumermanagement:v1beta1/ExperimentalFeatures/restAsyncIoEnabled": rest_async_io_enabled
319709+
"/serviceconsumermanagement:v1beta1/ExperimentalFeatures/unversionedPackageDisabled": unversioned_package_disabled
319704319710
"/serviceconsumermanagement:v1beta1/Field": field
319705319711
"/serviceconsumermanagement:v1beta1/Field/cardinality": cardinality
319706319712
"/serviceconsumermanagement:v1beta1/Field/defaultValue": default_value
@@ -319899,11 +319905,14 @@
319899319905
"/serviceconsumermanagement:v1beta1/RubySettings": ruby_settings
319900319906
"/serviceconsumermanagement:v1beta1/RubySettings/common": common
319901319907
"/serviceconsumermanagement:v1beta1/SelectiveGapicGeneration": selective_gapic_generation
319908+
"/serviceconsumermanagement:v1beta1/SelectiveGapicGeneration/generateOmittedAsInternal": generate_omitted_as_internal
319902319909
"/serviceconsumermanagement:v1beta1/SelectiveGapicGeneration/methods": methods_prop
319903319910
"/serviceconsumermanagement:v1beta1/SelectiveGapicGeneration/methods/methods_prop": methods_prop
319904319911
"/serviceconsumermanagement:v1beta1/Service": service
319905319912
"/serviceconsumermanagement:v1beta1/Service/apis": apis
319906319913
"/serviceconsumermanagement:v1beta1/Service/apis/api": api
319914+
"/serviceconsumermanagement:v1beta1/Service/aspects": aspects
319915+
"/serviceconsumermanagement:v1beta1/Service/aspects/aspect": aspect
319907319916
"/serviceconsumermanagement:v1beta1/Service/authentication": authentication
319908319917
"/serviceconsumermanagement:v1beta1/Service/backend": backend
319909319918
"/serviceconsumermanagement:v1beta1/Service/billing": billing

generated/google-apis-serviceconsumermanagement_v1beta1/CHANGELOG.md

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

3+
### v0.55.0 (2025-02-26)
4+
5+
* Regenerated from discovery document revision 20250218
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.54.0 (2024-12-15)
49

510
* Regenerated from discovery document revision 20241205

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

Lines changed: 71 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,33 @@ def update!(**args)
9797
end
9898
end
9999

100+
# Aspect represents Generic aspect. It is used to configure an aspect without
101+
# making direct changes to service.proto
102+
class Aspect
103+
include Google::Apis::Core::Hashable
104+
105+
# The type of this aspect configuration.
106+
# Corresponds to the JSON property `kind`
107+
# @return [String]
108+
attr_accessor :kind
109+
110+
# Content of the configuration. The underlying schema should be defined by
111+
# Aspect owners as protobuf message under `apiserving/configaspects/proto`.
112+
# Corresponds to the JSON property `spec`
113+
# @return [Hash<String,Object>]
114+
attr_accessor :spec
115+
116+
def initialize(**args)
117+
update!(**args)
118+
end
119+
120+
# Update properties of this object
121+
def update!(**args)
122+
@kind = args[:kind] if args.key?(:kind)
123+
@spec = args[:spec] if args.key?(:spec)
124+
end
125+
end
126+
100127
# Configuration for an authentication provider, including support for [JSON Web
101128
# Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
102129
class AuthProvider
@@ -354,6 +381,14 @@ class BackendRule
354381
# @return [String]
355382
attr_accessor :jwt_audience
356383

384+
# The load balancing policy used for connection to the application backend.
385+
# Defined as an arbitrary string to accomondate custom load balancing policies
386+
# supported by the underlying channel, but suggest most users use one of the
387+
# standard policies, such as the default, "RoundRobin".
388+
# Corresponds to the JSON property `loadBalancingPolicy`
389+
# @return [String]
390+
attr_accessor :load_balancing_policy
391+
357392
# Deprecated, do not use.
358393
# Corresponds to the JSON property `minDeadline`
359394
# @return [Float]
@@ -404,6 +439,7 @@ def update!(**args)
404439
@deadline = args[:deadline] if args.key?(:deadline)
405440
@disable_auth = args[:disable_auth] if args.key?(:disable_auth)
406441
@jwt_audience = args[:jwt_audience] if args.key?(:jwt_audience)
442+
@load_balancing_policy = args[:load_balancing_policy] if args.key?(:load_balancing_policy)
407443
@min_deadline = args[:min_deadline] if args.key?(:min_deadline)
408444
@operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
409445
@overrides_by_request_protocol = args[:overrides_by_request_protocol] if args.key?(:overrides_by_request_protocol)
@@ -863,9 +899,8 @@ class Documentation
863899
# @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::DocumentationRule>]
864900
attr_accessor :rules
865901

866-
# Specifies section and content to override boilerplate content provided by go/
867-
# api-docgen. Currently overrides following sections: 1. rest.service.
868-
# client_libraries
902+
# Specifies section and content to override the boilerplate content. Currently
903+
# overrides following sections: 1. rest.service.client_libraries
869904
# Corresponds to the JSON property `sectionOverrides`
870905
# @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::Page>]
871906
attr_accessor :section_overrides
@@ -919,7 +954,7 @@ class DocumentationRule
919954
attr_accessor :description
920955

921956
# String of comma or space separated case-sensitive words for which method/field
922-
# name replacement will be disabled by go/api-docgen.
957+
# name replacement will be disabled.
923958
# Corresponds to the JSON property `disableReplacementWords`
924959
# @return [String]
925960
attr_accessor :disable_replacement_words
@@ -1185,6 +1220,15 @@ class ExperimentalFeatures
11851220
attr_accessor :rest_async_io_enabled
11861221
alias_method :rest_async_io_enabled?, :rest_async_io_enabled
11871222

1223+
# Disables generation of an unversioned Python package for this client library.
1224+
# This means that the module names will need to be versioned in import
1225+
# statements. For example `import google.cloud.library_v2` instead of `import
1226+
# google.cloud.library`.
1227+
# Corresponds to the JSON property `unversionedPackageDisabled`
1228+
# @return [Boolean]
1229+
attr_accessor :unversioned_package_disabled
1230+
alias_method :unversioned_package_disabled?, :unversioned_package_disabled
1231+
11881232
def initialize(**args)
11891233
update!(**args)
11901234
end
@@ -1193,6 +1237,7 @@ def initialize(**args)
11931237
def update!(**args)
11941238
@protobuf_pythonic_types_enabled = args[:protobuf_pythonic_types_enabled] if args.key?(:protobuf_pythonic_types_enabled)
11951239
@rest_async_io_enabled = args[:rest_async_io_enabled] if args.key?(:rest_async_io_enabled)
1240+
@unversioned_package_disabled = args[:unversioned_package_disabled] if args.key?(:unversioned_package_disabled)
11961241
end
11971242
end
11981243

@@ -2556,7 +2601,7 @@ def update!(**args)
25562601
class Page
25572602
include Google::Apis::Core::Hashable
25582603

2559-
# The Markdown content of the page. You can use (== include `path` ==) to
2604+
# The Markdown content of the page. You can use ```(== include `path` ==)``` to
25602605
# include content from a Markdown file. The content can be used to produce the
25612606
# documentation page such as HTML format page.
25622607
# Corresponds to the JSON property `content`
@@ -2904,6 +2949,17 @@ def update!(**args)
29042949
class SelectiveGapicGeneration
29052950
include Google::Apis::Core::Hashable
29062951

2952+
# Setting this to true indicates to the client generators that methods that
2953+
# would be excluded from the generation should instead be generated in a way
2954+
# that indicates these methods should not be consumed by end users. How this is
2955+
# expressed is up to individual language implementations to decide. Some
2956+
# examples may be: added annotations, obfuscated identifiers, or other language
2957+
# idiomatic patterns.
2958+
# Corresponds to the JSON property `generateOmittedAsInternal`
2959+
# @return [Boolean]
2960+
attr_accessor :generate_omitted_as_internal
2961+
alias_method :generate_omitted_as_internal?, :generate_omitted_as_internal
2962+
29072963
# An allowlist of the fully qualified names of RPCs that should be included on
29082964
# public client surfaces.
29092965
# Corresponds to the JSON property `methods`
@@ -2916,6 +2972,7 @@ def initialize(**args)
29162972

29172973
# Update properties of this object
29182974
def update!(**args)
2975+
@generate_omitted_as_internal = args[:generate_omitted_as_internal] if args.key?(:generate_omitted_as_internal)
29192976
@methods_prop = args[:methods_prop] if args.key?(:methods_prop)
29202977
end
29212978
end
@@ -2945,6 +3002,14 @@ class Service
29453002
# @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::Api>]
29463003
attr_accessor :apis
29473004

3005+
# Configuration aspects. This is a repeated field to allow multiple aspects to
3006+
# be configured. The kind field in each ConfigAspect specifies the type of
3007+
# aspect. The spec field contains the configuration for that aspect. The schema
3008+
# for the spec field is defined by the backend service owners.
3009+
# Corresponds to the JSON property `aspects`
3010+
# @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::Aspect>]
3011+
attr_accessor :aspects
3012+
29483013
# `Authentication` defines the authentication configuration for API methods
29493014
# provided by an API service. Example: name: calendar.googleapis.com
29503015
# authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
@@ -3224,6 +3289,7 @@ def initialize(**args)
32243289
# Update properties of this object
32253290
def update!(**args)
32263291
@apis = args[:apis] if args.key?(:apis)
3292+
@aspects = args[:aspects] if args.key?(:aspects)
32273293
@authentication = args[:authentication] if args.key?(:authentication)
32283294
@backend = args[:backend] if args.key?(:backend)
32293295
@billing = args[:billing] if args.key?(:billing)

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ServiceconsumermanagementV1beta1
1818
# Version of the google-apis-serviceconsumermanagement_v1beta1 gem
19-
GEM_VERSION = "0.54.0"
19+
GEM_VERSION = "0.55.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

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

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
2828
include Google::Apis::Core::JsonObjectSupport
2929
end
3030

31+
class Aspect
32+
class Representation < Google::Apis::Core::JsonRepresentation; end
33+
34+
include Google::Apis::Core::JsonObjectSupport
35+
end
36+
3137
class AuthProvider
3238
class Representation < Google::Apis::Core::JsonRepresentation; end
3339

@@ -639,6 +645,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
639645
end
640646
end
641647

648+
class Aspect
649+
# @private
650+
class Representation < Google::Apis::Core::JsonRepresentation
651+
property :kind, as: 'kind'
652+
hash :spec, as: 'spec'
653+
end
654+
end
655+
642656
class AuthProvider
643657
# @private
644658
class Representation < Google::Apis::Core::JsonRepresentation
@@ -697,6 +711,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
697711
property :deadline, as: 'deadline'
698712
property :disable_auth, as: 'disableAuth'
699713
property :jwt_audience, as: 'jwtAudience'
714+
property :load_balancing_policy, as: 'loadBalancingPolicy'
700715
property :min_deadline, as: 'minDeadline'
701716
property :operation_deadline, as: 'operationDeadline'
702717
hash :overrides_by_request_protocol, as: 'overridesByRequestProtocol', class: Google::Apis::ServiceconsumermanagementV1beta1::BackendRule, decorator: Google::Apis::ServiceconsumermanagementV1beta1::BackendRule::Representation
@@ -905,6 +920,7 @@ class ExperimentalFeatures
905920
class Representation < Google::Apis::Core::JsonRepresentation
906921
property :protobuf_pythonic_types_enabled, as: 'protobufPythonicTypesEnabled'
907922
property :rest_async_io_enabled, as: 'restAsyncIoEnabled'
923+
property :unversioned_package_disabled, as: 'unversionedPackageDisabled'
908924
end
909925
end
910926

@@ -1266,6 +1282,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
12661282
class SelectiveGapicGeneration
12671283
# @private
12681284
class Representation < Google::Apis::Core::JsonRepresentation
1285+
property :generate_omitted_as_internal, as: 'generateOmittedAsInternal'
12691286
collection :methods_prop, as: 'methods'
12701287
end
12711288
end
@@ -1275,6 +1292,8 @@ class Service
12751292
class Representation < Google::Apis::Core::JsonRepresentation
12761293
collection :apis, as: 'apis', class: Google::Apis::ServiceconsumermanagementV1beta1::Api, decorator: Google::Apis::ServiceconsumermanagementV1beta1::Api::Representation
12771294

1295+
collection :aspects, as: 'aspects', class: Google::Apis::ServiceconsumermanagementV1beta1::Aspect, decorator: Google::Apis::ServiceconsumermanagementV1beta1::Aspect::Representation
1296+
12781297
property :authentication, as: 'authentication', class: Google::Apis::ServiceconsumermanagementV1beta1::Authentication, decorator: Google::Apis::ServiceconsumermanagementV1beta1::Authentication::Representation
12791298

12801299
property :backend, as: 'backend', class: Google::Apis::ServiceconsumermanagementV1beta1::Backend, decorator: Google::Apis::ServiceconsumermanagementV1beta1::Backend::Representation

0 commit comments

Comments
 (0)