@@ -302,6 +302,33 @@ def update!(**args)
302302 end
303303 end
304304
305+ # Aspect represents Generic aspect. It is used to configure an aspect without
306+ # making direct changes to service.proto
307+ class Aspect
308+ include Google ::Apis ::Core ::Hashable
309+
310+ # The type of this aspect configuration.
311+ # Corresponds to the JSON property `kind`
312+ # @return [String]
313+ attr_accessor :kind
314+
315+ # Content of the configuration. The underlying schema should be defined by
316+ # Aspect owners as protobuf message under `apiserving/configaspects/proto`.
317+ # Corresponds to the JSON property `spec`
318+ # @return [Hash<String,Object>]
319+ attr_accessor :spec
320+
321+ def initialize ( **args )
322+ update! ( **args )
323+ end
324+
325+ # Update properties of this object
326+ def update! ( **args )
327+ @kind = args [ :kind ] if args . key? ( :kind )
328+ @spec = args [ :spec ] if args . key? ( :spec )
329+ end
330+ end
331+
305332 # Configuration for an authentication provider, including support for [JSON Web
306333 # Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
307334 class AuthProvider
@@ -559,6 +586,14 @@ class BackendRule
559586 # @return [String]
560587 attr_accessor :jwt_audience
561588
589+ # The load balancing policy used for connection to the application backend.
590+ # Defined as an arbitrary string to accomondate custom load balancing policies
591+ # supported by the underlying channel, but suggest most users use one of the
592+ # standard policies, such as the default, "RoundRobin".
593+ # Corresponds to the JSON property `loadBalancingPolicy`
594+ # @return [String]
595+ attr_accessor :load_balancing_policy
596+
562597 # Deprecated, do not use.
563598 # Corresponds to the JSON property `minDeadline`
564599 # @return [Float]
@@ -609,6 +644,7 @@ def update!(**args)
609644 @deadline = args [ :deadline ] if args . key? ( :deadline )
610645 @disable_auth = args [ :disable_auth ] if args . key? ( :disable_auth )
611646 @jwt_audience = args [ :jwt_audience ] if args . key? ( :jwt_audience )
647+ @load_balancing_policy = args [ :load_balancing_policy ] if args . key? ( :load_balancing_policy )
612648 @min_deadline = args [ :min_deadline ] if args . key? ( :min_deadline )
613649 @operation_deadline = args [ :operation_deadline ] if args . key? ( :operation_deadline )
614650 @overrides_by_request_protocol = args [ :overrides_by_request_protocol ] if args . key? ( :overrides_by_request_protocol )
@@ -1398,9 +1434,8 @@ class Documentation
13981434 # @return [Array<Google::Apis::ServiceusageV1beta1::DocumentationRule>]
13991435 attr_accessor :rules
14001436
1401- # Specifies section and content to override boilerplate content provided by go/
1402- # api-docgen. Currently overrides following sections: 1. rest.service.
1403- # client_libraries
1437+ # Specifies section and content to override the boilerplate content. Currently
1438+ # overrides following sections: 1. rest.service.client_libraries
14041439 # Corresponds to the JSON property `sectionOverrides`
14051440 # @return [Array<Google::Apis::ServiceusageV1beta1::Page>]
14061441 attr_accessor :section_overrides
@@ -1454,7 +1489,7 @@ class DocumentationRule
14541489 attr_accessor :description
14551490
14561491 # String of comma or space separated case-sensitive words for which method/field
1457- # name replacement will be disabled by go/api-docgen .
1492+ # name replacement will be disabled.
14581493 # Corresponds to the JSON property `disableReplacementWords`
14591494 # @return [String]
14601495 attr_accessor :disable_replacement_words
@@ -1821,6 +1856,15 @@ class ExperimentalFeatures
18211856 attr_accessor :rest_async_io_enabled
18221857 alias_method :rest_async_io_enabled? , :rest_async_io_enabled
18231858
1859+ # Disables generation of an unversioned Python package for this client library.
1860+ # This means that the module names will need to be versioned in import
1861+ # statements. For example `import google.cloud.library_v2` instead of `import
1862+ # google.cloud.library`.
1863+ # Corresponds to the JSON property `unversionedPackageDisabled`
1864+ # @return [Boolean]
1865+ attr_accessor :unversioned_package_disabled
1866+ alias_method :unversioned_package_disabled? , :unversioned_package_disabled
1867+
18241868 def initialize ( **args )
18251869 update! ( **args )
18261870 end
@@ -1829,6 +1873,7 @@ def initialize(**args)
18291873 def update! ( **args )
18301874 @protobuf_pythonic_types_enabled = args [ :protobuf_pythonic_types_enabled ] if args . key? ( :protobuf_pythonic_types_enabled )
18311875 @rest_async_io_enabled = args [ :rest_async_io_enabled ] if args . key? ( :rest_async_io_enabled )
1876+ @unversioned_package_disabled = args [ :unversioned_package_disabled ] if args . key? ( :unversioned_package_disabled )
18321877 end
18331878 end
18341879
@@ -2043,6 +2088,14 @@ class GoogleApiService
20432088 # @return [Array<Google::Apis::ServiceusageV1beta1::Api>]
20442089 attr_accessor :apis
20452090
2091+ # Configuration aspects. This is a repeated field to allow multiple aspects to
2092+ # be configured. The kind field in each ConfigAspect specifies the type of
2093+ # aspect. The spec field contains the configuration for that aspect. The schema
2094+ # for the spec field is defined by the backend service owners.
2095+ # Corresponds to the JSON property `aspects`
2096+ # @return [Array<Google::Apis::ServiceusageV1beta1::Aspect>]
2097+ attr_accessor :aspects
2098+
20462099 # `Authentication` defines the authentication configuration for API methods
20472100 # provided by an API service. Example: name: calendar.googleapis.com
20482101 # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
@@ -2322,6 +2375,7 @@ def initialize(**args)
23222375 # Update properties of this object
23232376 def update! ( **args )
23242377 @apis = args [ :apis ] if args . key? ( :apis )
2378+ @aspects = args [ :aspects ] if args . key? ( :aspects )
23252379 @authentication = args [ :authentication ] if args . key? ( :authentication )
23262380 @backend = args [ :backend ] if args . key? ( :backend )
23272381 @billing = args [ :billing ] if args . key? ( :billing )
@@ -2707,9 +2761,9 @@ class GoogleApiServiceusageV2betaAnalysis
27072761 include Google ::Apis ::Core ::Hashable
27082762
27092763 # An analysis result including blockers and warnings.
2710- # Corresponds to the JSON property `analysis `
2764+ # Corresponds to the JSON property `analysisResult `
27112765 # @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaAnalysisResult]
2712- attr_accessor :analysis
2766+ attr_accessor :analysis_result
27132767
27142768 # Output only. The type of analysis.
27152769 # Corresponds to the JSON property `analysisType`
@@ -2734,7 +2788,7 @@ def initialize(**args)
27342788
27352789 # Update properties of this object
27362790 def update! ( **args )
2737- @analysis = args [ :analysis ] if args . key? ( :analysis )
2791+ @analysis_result = args [ :analysis_result ] if args . key? ( :analysis_result )
27382792 @analysis_type = args [ :analysis_type ] if args . key? ( :analysis_type )
27392793 @display_name = args [ :display_name ] if args . key? ( :display_name )
27402794 @service = args [ :service ] if args . key? ( :service )
@@ -4519,7 +4573,7 @@ def update!(**args)
45194573 class Page
45204574 include Google ::Apis ::Core ::Hashable
45214575
4522- # The Markdown content of the page. You can use (== include `path` ==) to
4576+ # The Markdown content of the page. You can use ``` (== include `path` ==)``` to
45234577 # include content from a Markdown file. The content can be used to produce the
45244578 # documentation page such as HTML format page.
45254579 # Corresponds to the JSON property `content`
@@ -5142,6 +5196,17 @@ def update!(**args)
51425196 class SelectiveGapicGeneration
51435197 include Google ::Apis ::Core ::Hashable
51445198
5199+ # Setting this to true indicates to the client generators that methods that
5200+ # would be excluded from the generation should instead be generated in a way
5201+ # that indicates these methods should not be consumed by end users. How this is
5202+ # expressed is up to individual language implementations to decide. Some
5203+ # examples may be: added annotations, obfuscated identifiers, or other language
5204+ # idiomatic patterns.
5205+ # Corresponds to the JSON property `generateOmittedAsInternal`
5206+ # @return [Boolean]
5207+ attr_accessor :generate_omitted_as_internal
5208+ alias_method :generate_omitted_as_internal? , :generate_omitted_as_internal
5209+
51455210 # An allowlist of the fully qualified names of RPCs that should be included on
51465211 # public client surfaces.
51475212 # Corresponds to the JSON property `methods`
@@ -5154,6 +5219,7 @@ def initialize(**args)
51545219
51555220 # Update properties of this object
51565221 def update! ( **args )
5222+ @generate_omitted_as_internal = args [ :generate_omitted_as_internal ] if args . key? ( :generate_omitted_as_internal )
51575223 @methods_prop = args [ :methods_prop ] if args . key? ( :methods_prop )
51585224 end
51595225 end
0 commit comments