google-apis-serviceusage_v1 0.62.0 → 0.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 701ebb49ef8e95af118f2530683db30e071de59131b44f387c4d2bcb92e7a4e0
4
- data.tar.gz: 6975cba2966da47dae76993e0da73d0d3ee721c0a258b64e85d5fde419a7c230
3
+ metadata.gz: 85b5d88aab54958cdb9ee2272a06470e0ff151e03e77471aebd83285a774cbbf
4
+ data.tar.gz: 50bc09fdcfa6016ecd0a51312f6903ca6e2ad16029cb41c8ce23488169f280e9
5
5
  SHA512:
6
- metadata.gz: cf9696da0f126d308748b99c8fed816fca0a30e348a29085dcc2797b7f7746d079caac590397ef89ffa0f0b252c0826c17b1aed170cdbc71283d12899f38d960
7
- data.tar.gz: 7da081bba0bf2d507797f83f7d30a7fd44ba123d7874df591e3682a08b968d8e196fcb67f6a57308f44784218fb67df49eefa6a2f805a7db0b570b1e1cb9d960
6
+ metadata.gz: 193cde7115b1da37adf43467b5a93a8a8e2cb37cad29c7ef0bf0f12cf1fa97f4d0e3172139884a6e78215fd6436f5a7d0d0143e5ebd3a397e898084379a7a6bf
7
+ data.tar.gz: f25b4de72cf6e3536dc90431872b7c174025f7882cf0ea8f68edc06a90a91b64e2d8619134a9ef5060ee9066dc8ecf523ce19a95b0695dabb6d66c5907c110eb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-serviceusage_v1
2
2
 
3
+ ### v0.64.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250227
6
+
7
+ ### v0.63.0 (2025-02-26)
8
+
9
+ * Regenerated from discovery document revision 20250218
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.62.0 (2025-01-05)
4
13
 
5
14
  * Regenerated from discovery document revision 20241219
@@ -302,6 +302,33 @@ module Google
302
302
  end
303
303
  end
304
304
 
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
+
305
332
  # Configuration for an authentication provider, including support for [JSON Web
306
333
  # Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
307
334
  class AuthProvider
@@ -559,6 +586,14 @@ module Google
559
586
  # @return [String]
560
587
  attr_accessor :jwt_audience
561
588
 
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
+
562
597
  # Deprecated, do not use.
563
598
  # Corresponds to the JSON property `minDeadline`
564
599
  # @return [Float]
@@ -609,6 +644,7 @@ module Google
609
644
  @deadline = args[:deadline] if args.key?(:deadline)
610
645
  @disable_auth = args[:disable_auth] if args.key?(:disable_auth)
611
646
  @jwt_audience = args[:jwt_audience] if args.key?(:jwt_audience)
647
+ @load_balancing_policy = args[:load_balancing_policy] if args.key?(:load_balancing_policy)
612
648
  @min_deadline = args[:min_deadline] if args.key?(:min_deadline)
613
649
  @operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
614
650
  @overrides_by_request_protocol = args[:overrides_by_request_protocol] if args.key?(:overrides_by_request_protocol)
@@ -1320,9 +1356,8 @@ module Google
1320
1356
  # @return [Array<Google::Apis::ServiceusageV1::DocumentationRule>]
1321
1357
  attr_accessor :rules
1322
1358
 
1323
- # Specifies section and content to override boilerplate content provided by go/
1324
- # api-docgen. Currently overrides following sections: 1. rest.service.
1325
- # client_libraries
1359
+ # Specifies section and content to override the boilerplate content. Currently
1360
+ # overrides following sections: 1. rest.service.client_libraries
1326
1361
  # Corresponds to the JSON property `sectionOverrides`
1327
1362
  # @return [Array<Google::Apis::ServiceusageV1::Page>]
1328
1363
  attr_accessor :section_overrides
@@ -1376,7 +1411,7 @@ module Google
1376
1411
  attr_accessor :description
1377
1412
 
1378
1413
  # String of comma or space separated case-sensitive words for which method/field
1379
- # name replacement will be disabled by go/api-docgen.
1414
+ # name replacement will be disabled.
1380
1415
  # Corresponds to the JSON property `disableReplacementWords`
1381
1416
  # @return [String]
1382
1417
  attr_accessor :disable_replacement_words
@@ -1743,6 +1778,15 @@ module Google
1743
1778
  attr_accessor :rest_async_io_enabled
1744
1779
  alias_method :rest_async_io_enabled?, :rest_async_io_enabled
1745
1780
 
1781
+ # Disables generation of an unversioned Python package for this client library.
1782
+ # This means that the module names will need to be versioned in import
1783
+ # statements. For example `import google.cloud.library_v2` instead of `import
1784
+ # google.cloud.library`.
1785
+ # Corresponds to the JSON property `unversionedPackageDisabled`
1786
+ # @return [Boolean]
1787
+ attr_accessor :unversioned_package_disabled
1788
+ alias_method :unversioned_package_disabled?, :unversioned_package_disabled
1789
+
1746
1790
  def initialize(**args)
1747
1791
  update!(**args)
1748
1792
  end
@@ -1751,6 +1795,7 @@ module Google
1751
1795
  def update!(**args)
1752
1796
  @protobuf_pythonic_types_enabled = args[:protobuf_pythonic_types_enabled] if args.key?(:protobuf_pythonic_types_enabled)
1753
1797
  @rest_async_io_enabled = args[:rest_async_io_enabled] if args.key?(:rest_async_io_enabled)
1798
+ @unversioned_package_disabled = args[:unversioned_package_disabled] if args.key?(:unversioned_package_disabled)
1754
1799
  end
1755
1800
  end
1756
1801
 
@@ -1965,6 +2010,14 @@ module Google
1965
2010
  # @return [Array<Google::Apis::ServiceusageV1::Api>]
1966
2011
  attr_accessor :apis
1967
2012
 
2013
+ # Configuration aspects. This is a repeated field to allow multiple aspects to
2014
+ # be configured. The kind field in each ConfigAspect specifies the type of
2015
+ # aspect. The spec field contains the configuration for that aspect. The schema
2016
+ # for the spec field is defined by the backend service owners.
2017
+ # Corresponds to the JSON property `aspects`
2018
+ # @return [Array<Google::Apis::ServiceusageV1::Aspect>]
2019
+ attr_accessor :aspects
2020
+
1968
2021
  # `Authentication` defines the authentication configuration for API methods
1969
2022
  # provided by an API service. Example: name: calendar.googleapis.com
1970
2023
  # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
@@ -2244,6 +2297,7 @@ module Google
2244
2297
  # Update properties of this object
2245
2298
  def update!(**args)
2246
2299
  @apis = args[:apis] if args.key?(:apis)
2300
+ @aspects = args[:aspects] if args.key?(:aspects)
2247
2301
  @authentication = args[:authentication] if args.key?(:authentication)
2248
2302
  @backend = args[:backend] if args.key?(:backend)
2249
2303
  @billing = args[:billing] if args.key?(:billing)
@@ -2629,9 +2683,9 @@ module Google
2629
2683
  include Google::Apis::Core::Hashable
2630
2684
 
2631
2685
  # An analysis result including blockers and warnings.
2632
- # Corresponds to the JSON property `analysis`
2686
+ # Corresponds to the JSON property `analysisResult`
2633
2687
  # @return [Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaAnalysisResult]
2634
- attr_accessor :analysis
2688
+ attr_accessor :analysis_result
2635
2689
 
2636
2690
  # Output only. The type of analysis.
2637
2691
  # Corresponds to the JSON property `analysisType`
@@ -2656,7 +2710,7 @@ module Google
2656
2710
 
2657
2711
  # Update properties of this object
2658
2712
  def update!(**args)
2659
- @analysis = args[:analysis] if args.key?(:analysis)
2713
+ @analysis_result = args[:analysis_result] if args.key?(:analysis_result)
2660
2714
  @analysis_type = args[:analysis_type] if args.key?(:analysis_type)
2661
2715
  @display_name = args[:display_name] if args.key?(:display_name)
2662
2716
  @service = args[:service] if args.key?(:service)
@@ -4263,7 +4317,7 @@ module Google
4263
4317
  class Page
4264
4318
  include Google::Apis::Core::Hashable
4265
4319
 
4266
- # The Markdown content of the page. You can use (== include `path` ==) to
4320
+ # The Markdown content of the page. You can use ```(== include `path` ==)``` to
4267
4321
  # include content from a Markdown file. The content can be used to produce the
4268
4322
  # documentation page such as HTML format page.
4269
4323
  # Corresponds to the JSON property `content`
@@ -4726,6 +4780,17 @@ module Google
4726
4780
  class SelectiveGapicGeneration
4727
4781
  include Google::Apis::Core::Hashable
4728
4782
 
4783
+ # Setting this to true indicates to the client generators that methods that
4784
+ # would be excluded from the generation should instead be generated in a way
4785
+ # that indicates these methods should not be consumed by end users. How this is
4786
+ # expressed is up to individual language implementations to decide. Some
4787
+ # examples may be: added annotations, obfuscated identifiers, or other language
4788
+ # idiomatic patterns.
4789
+ # Corresponds to the JSON property `generateOmittedAsInternal`
4790
+ # @return [Boolean]
4791
+ attr_accessor :generate_omitted_as_internal
4792
+ alias_method :generate_omitted_as_internal?, :generate_omitted_as_internal
4793
+
4729
4794
  # An allowlist of the fully qualified names of RPCs that should be included on
4730
4795
  # public client surfaces.
4731
4796
  # Corresponds to the JSON property `methods`
@@ -4738,6 +4803,7 @@ module Google
4738
4803
 
4739
4804
  # Update properties of this object
4740
4805
  def update!(**args)
4806
+ @generate_omitted_as_internal = args[:generate_omitted_as_internal] if args.key?(:generate_omitted_as_internal)
4741
4807
  @methods_prop = args[:methods_prop] if args.key?(:methods_prop)
4742
4808
  end
4743
4809
  end
@@ -5070,21 +5136,15 @@ module Google
5070
5136
  end
5071
5137
  end
5072
5138
 
5073
- # Usage configuration rules for the service. NOTE: Under development. Use this
5074
- # rule to configure unregistered calls for the service. Unregistered calls are
5075
- # calls that do not contain consumer project identity. (Example: calls that do
5076
- # not contain an API key). By default, API methods do not allow unregistered
5077
- # calls, and each method call must be identified by a consumer project identity.
5078
- # Use this rule to allow/disallow unregistered calls. Example of an API that
5079
- # wants to allow unregistered calls for entire service. usage: rules: - selector:
5080
- # "*" allow_unregistered_calls: true Example of a method that wants to allow
5081
- # unregistered calls. usage: rules: - selector: "google.example.library.v1.
5082
- # LibraryService.CreateBook" allow_unregistered_calls: true
5139
+ # Usage configuration rules for the service.
5083
5140
  class UsageRule
5084
5141
  include Google::Apis::Core::Hashable
5085
5142
 
5086
- # If true, the selected method allows unregistered calls, e.g. calls that don't
5087
- # identify any user or application.
5143
+ # Use this rule to configure unregistered calls for the service. Unregistered
5144
+ # calls are calls that do not contain consumer project identity. (Example: calls
5145
+ # that do not contain an API key). WARNING: By default, API methods do not allow
5146
+ # unregistered calls, and each method call must be identified by a consumer
5147
+ # project identity.
5088
5148
  # Corresponds to the JSON property `allowUnregisteredCalls`
5089
5149
  # @return [Boolean]
5090
5150
  attr_accessor :allow_unregistered_calls
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceusageV1
18
18
  # Version of the google-apis-serviceusage_v1 gem
19
- GEM_VERSION = "0.62.0"
19
+ GEM_VERSION = "0.64.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241219"
25
+ REVISION = "20250227"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class Aspect
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class AuthProvider
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -856,6 +862,14 @@ module Google
856
862
  end
857
863
  end
858
864
 
865
+ class Aspect
866
+ # @private
867
+ class Representation < Google::Apis::Core::JsonRepresentation
868
+ property :kind, as: 'kind'
869
+ hash :spec, as: 'spec'
870
+ end
871
+ end
872
+
859
873
  class AuthProvider
860
874
  # @private
861
875
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -914,6 +928,7 @@ module Google
914
928
  property :deadline, as: 'deadline'
915
929
  property :disable_auth, as: 'disableAuth'
916
930
  property :jwt_audience, as: 'jwtAudience'
931
+ property :load_balancing_policy, as: 'loadBalancingPolicy'
917
932
  property :min_deadline, as: 'minDeadline'
918
933
  property :operation_deadline, as: 'operationDeadline'
919
934
  hash :overrides_by_request_protocol, as: 'overridesByRequestProtocol', class: Google::Apis::ServiceusageV1::BackendRule, decorator: Google::Apis::ServiceusageV1::BackendRule::Representation
@@ -1241,6 +1256,7 @@ module Google
1241
1256
  class Representation < Google::Apis::Core::JsonRepresentation
1242
1257
  property :protobuf_pythonic_types_enabled, as: 'protobufPythonicTypesEnabled'
1243
1258
  property :rest_async_io_enabled, as: 'restAsyncIoEnabled'
1259
+ property :unversioned_package_disabled, as: 'unversionedPackageDisabled'
1244
1260
  end
1245
1261
  end
1246
1262
 
@@ -1299,6 +1315,8 @@ module Google
1299
1315
  class Representation < Google::Apis::Core::JsonRepresentation
1300
1316
  collection :apis, as: 'apis', class: Google::Apis::ServiceusageV1::Api, decorator: Google::Apis::ServiceusageV1::Api::Representation
1301
1317
 
1318
+ collection :aspects, as: 'aspects', class: Google::Apis::ServiceusageV1::Aspect, decorator: Google::Apis::ServiceusageV1::Aspect::Representation
1319
+
1302
1320
  property :authentication, as: 'authentication', class: Google::Apis::ServiceusageV1::Authentication, decorator: Google::Apis::ServiceusageV1::Authentication::Representation
1303
1321
 
1304
1322
  property :backend, as: 'backend', class: Google::Apis::ServiceusageV1::Backend, decorator: Google::Apis::ServiceusageV1::Backend::Representation
@@ -1439,7 +1457,7 @@ module Google
1439
1457
  class GoogleApiServiceusageV2betaAnalysis
1440
1458
  # @private
1441
1459
  class Representation < Google::Apis::Core::JsonRepresentation
1442
- property :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaAnalysisResult, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaAnalysisResult::Representation
1460
+ property :analysis_result, as: 'analysisResult', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaAnalysisResult, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaAnalysisResult::Representation
1443
1461
 
1444
1462
  property :analysis_type, as: 'analysisType'
1445
1463
  property :display_name, as: 'displayName'
@@ -1930,6 +1948,7 @@ module Google
1930
1948
  class SelectiveGapicGeneration
1931
1949
  # @private
1932
1950
  class Representation < Google::Apis::Core::JsonRepresentation
1951
+ property :generate_omitted_as_internal, as: 'generateOmittedAsInternal'
1933
1952
  collection :methods_prop, as: 'methods'
1934
1953
  end
1935
1954
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.62.0
4
+ version: 0.64.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-01-05 00:00:00.000000000 Z
10
+ date: 2025-03-09 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.62.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.64.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Service Usage API V1
82
79
  test_files: []