@@ -483,6 +483,33 @@ def update!(**args)
483483 end
484484 end
485485
486+ # Aspect represents Generic aspect. It is used to configure an aspect without
487+ # making direct changes to service.proto
488+ class Aspect
489+ include Google ::Apis ::Core ::Hashable
490+
491+ # The type of this aspect configuration.
492+ # Corresponds to the JSON property `kind`
493+ # @return [String]
494+ attr_accessor :kind
495+
496+ # Content of the configuration. The underlying schema should be defined by
497+ # Aspect owners as protobuf message under `apiserving/configaspects/proto`.
498+ # Corresponds to the JSON property `spec`
499+ # @return [Hash<String,Object>]
500+ attr_accessor :spec
501+
502+ def initialize ( **args )
503+ update! ( **args )
504+ end
505+
506+ # Update properties of this object
507+ def update! ( **args )
508+ @kind = args [ :kind ] if args . key? ( :kind )
509+ @spec = args [ :spec ] if args . key? ( :spec )
510+ end
511+ end
512+
486513 # Configuration for an authentication provider, including support for [JSON Web
487514 # Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
488515 class AuthProvider
@@ -740,6 +767,14 @@ class BackendRule
740767 # @return [String]
741768 attr_accessor :jwt_audience
742769
770+ # The load balancing policy used for connection to the application backend.
771+ # Defined as an arbitrary string to accomondate custom load balancing policies
772+ # supported by the underlying channel, but suggest most users use one of the
773+ # standard policies, such as the default, "RoundRobin".
774+ # Corresponds to the JSON property `loadBalancingPolicy`
775+ # @return [String]
776+ attr_accessor :load_balancing_policy
777+
743778 # Deprecated, do not use.
744779 # Corresponds to the JSON property `minDeadline`
745780 # @return [Float]
@@ -790,6 +825,7 @@ def update!(**args)
790825 @deadline = args [ :deadline ] if args . key? ( :deadline )
791826 @disable_auth = args [ :disable_auth ] if args . key? ( :disable_auth )
792827 @jwt_audience = args [ :jwt_audience ] if args . key? ( :jwt_audience )
828+ @load_balancing_policy = args [ :load_balancing_policy ] if args . key? ( :load_balancing_policy )
793829 @min_deadline = args [ :min_deadline ] if args . key? ( :min_deadline )
794830 @operation_deadline = args [ :operation_deadline ] if args . key? ( :operation_deadline )
795831 @overrides_by_request_protocol = args [ :overrides_by_request_protocol ] if args . key? ( :overrides_by_request_protocol )
@@ -1651,9 +1687,8 @@ class Documentation
16511687 # @return [Array<Google::Apis::ServicenetworkingV1::DocumentationRule>]
16521688 attr_accessor :rules
16531689
1654- # Specifies section and content to override boilerplate content provided by go/
1655- # api-docgen. Currently overrides following sections: 1. rest.service.
1656- # client_libraries
1690+ # Specifies section and content to override the boilerplate content. Currently
1691+ # overrides following sections: 1. rest.service.client_libraries
16571692 # Corresponds to the JSON property `sectionOverrides`
16581693 # @return [Array<Google::Apis::ServicenetworkingV1::Page>]
16591694 attr_accessor :section_overrides
@@ -1707,7 +1742,7 @@ class DocumentationRule
17071742 attr_accessor :description
17081743
17091744 # String of comma or space separated case-sensitive words for which method/field
1710- # name replacement will be disabled by go/api-docgen .
1745+ # name replacement will be disabled.
17111746 # Corresponds to the JSON property `disableReplacementWords`
17121747 # @return [String]
17131748 attr_accessor :disable_replacement_words
@@ -1994,6 +2029,15 @@ class ExperimentalFeatures
19942029 attr_accessor :rest_async_io_enabled
19952030 alias_method :rest_async_io_enabled? , :rest_async_io_enabled
19962031
2032+ # Disables generation of an unversioned Python package for this client library.
2033+ # This means that the module names will need to be versioned in import
2034+ # statements. For example `import google.cloud.library_v2` instead of `import
2035+ # google.cloud.library`.
2036+ # Corresponds to the JSON property `unversionedPackageDisabled`
2037+ # @return [Boolean]
2038+ attr_accessor :unversioned_package_disabled
2039+ alias_method :unversioned_package_disabled? , :unversioned_package_disabled
2040+
19972041 def initialize ( **args )
19982042 update! ( **args )
19992043 end
@@ -2002,6 +2046,7 @@ def initialize(**args)
20022046 def update! ( **args )
20032047 @protobuf_pythonic_types_enabled = args [ :protobuf_pythonic_types_enabled ] if args . key? ( :protobuf_pythonic_types_enabled )
20042048 @rest_async_io_enabled = args [ :rest_async_io_enabled ] if args . key? ( :rest_async_io_enabled )
2049+ @unversioned_package_disabled = args [ :unversioned_package_disabled ] if args . key? ( :unversioned_package_disabled )
20052050 end
20062051 end
20072052
@@ -3617,7 +3662,7 @@ def update!(**args)
36173662 class Page
36183663 include Google ::Apis ::Core ::Hashable
36193664
3620- # The Markdown content of the page. You can use (== include `path` ==) to
3665+ # The Markdown content of the page. You can use ``` (== include `path` ==)``` to
36213666 # include content from a Markdown file. The content can be used to produce the
36223667 # documentation page such as HTML format page.
36233668 # Corresponds to the JSON property `content`
@@ -4399,6 +4444,17 @@ def update!(**args)
43994444 class SelectiveGapicGeneration
44004445 include Google ::Apis ::Core ::Hashable
44014446
4447+ # Setting this to true indicates to the client generators that methods that
4448+ # would be excluded from the generation should instead be generated in a way
4449+ # that indicates these methods should not be consumed by end users. How this is
4450+ # expressed is up to individual language implementations to decide. Some
4451+ # examples may be: added annotations, obfuscated identifiers, or other language
4452+ # idiomatic patterns.
4453+ # Corresponds to the JSON property `generateOmittedAsInternal`
4454+ # @return [Boolean]
4455+ attr_accessor :generate_omitted_as_internal
4456+ alias_method :generate_omitted_as_internal? , :generate_omitted_as_internal
4457+
44024458 # An allowlist of the fully qualified names of RPCs that should be included on
44034459 # public client surfaces.
44044460 # Corresponds to the JSON property `methods`
@@ -4411,6 +4467,7 @@ def initialize(**args)
44114467
44124468 # Update properties of this object
44134469 def update! ( **args )
4470+ @generate_omitted_as_internal = args [ :generate_omitted_as_internal ] if args . key? ( :generate_omitted_as_internal )
44144471 @methods_prop = args [ :methods_prop ] if args . key? ( :methods_prop )
44154472 end
44164473 end
@@ -4440,6 +4497,14 @@ class Service
44404497 # @return [Array<Google::Apis::ServicenetworkingV1::Api>]
44414498 attr_accessor :apis
44424499
4500+ # Configuration aspects. This is a repeated field to allow multiple aspects to
4501+ # be configured. The kind field in each ConfigAspect specifies the type of
4502+ # aspect. The spec field contains the configuration for that aspect. The schema
4503+ # for the spec field is defined by the backend service owners.
4504+ # Corresponds to the JSON property `aspects`
4505+ # @return [Array<Google::Apis::ServicenetworkingV1::Aspect>]
4506+ attr_accessor :aspects
4507+
44434508 # `Authentication` defines the authentication configuration for API methods
44444509 # provided by an API service. Example: name: calendar.googleapis.com
44454510 # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
@@ -4719,6 +4784,7 @@ def initialize(**args)
47194784 # Update properties of this object
47204785 def update! ( **args )
47214786 @apis = args [ :apis ] if args . key? ( :apis )
4787+ @aspects = args [ :aspects ] if args . key? ( :aspects )
47224788 @authentication = args [ :authentication ] if args . key? ( :authentication )
47234789 @backend = args [ :backend ] if args . key? ( :backend )
47244790 @billing = args [ :billing ] if args . key? ( :billing )
0 commit comments