google-cloud-billing-v1 1.2.0 → 1.3.1

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: 5b0dcc332f66bdb3529ed00bbd8ff00a152f58ece3d881a797c1ccb7f58535ea
4
- data.tar.gz: f9a7307219b411a50e4909a67ba2fd807361f72a1e43fff83a26f83b2961fa62
3
+ metadata.gz: 591077aa17272c4592e82f193e52d2a06f92f43e22e10d6865afc40ef83523af
4
+ data.tar.gz: 06b2a987af7d625343fe750333f84f5a3e4f70ce5b1799eed3b1dc4f31b93235
5
5
  SHA512:
6
- metadata.gz: 11fe57ed6370052eee3a3638f783e0984b95f56bef48d29e224ec4e4118a5cfa5ffe48dceb8a481a1740e04cf84788969a70c34090e7d360d62d8a127b2bb415
7
- data.tar.gz: e50a6931c8b0f08e5b46f01512d6436760835a7156cb0185fa18f965b7915d4dd8ff6981148cd9d837a667bcb7c259d77d5bde7f0ced67d4af6627e553057660
6
+ metadata.gz: ff2a92a62985d8dad8da2cadf792f7508164023e398799db705e471d291ad947878142ee513cf8c3f961eb00c5a425d0ab2c46079039cc4844afd1a515dcd7a0
7
+ data.tar.gz: 3078ae14cf102fa7026cb06d72d400bcce7d45dc9ed0bbca5aa90b1ecc01b40294287c0c6968a33d27175fa97065b1b9899b412b32f6b8e0f14259438ae8734a
data/README.md CHANGED
@@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
85
85
 
86
86
  ## Supported Ruby Versions
87
87
 
88
- This library is supported on Ruby 2.7+.
88
+ This library is supported on Ruby 3.0+.
89
89
 
90
90
  Google provides official support for Ruby versions that are actively supported
91
91
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -1356,6 +1356,13 @@ module Google
1356
1356
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1357
1357
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1358
1358
  # * (`nil`) indicating no credentials
1359
+ #
1360
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1361
+ # external source for authentication to Google Cloud, you must validate it before
1362
+ # providing it to a Google API client library. Providing an unvalidated credential
1363
+ # configuration to Google APIs can compromise the security of your systems and data.
1364
+ # For more information, refer to [Validate credential configurations from external
1365
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1359
1366
  # @return [::Object]
1360
1367
  # @!attribute [rw] scope
1361
1368
  # The OAuth scopes
@@ -1410,8 +1417,8 @@ module Google
1410
1417
 
1411
1418
  config_attr :endpoint, nil, ::String, nil
1412
1419
  config_attr :credentials, nil do |value|
1413
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1414
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1420
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1421
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1415
1422
  allowed.any? { |klass| klass === value }
1416
1423
  end
1417
1424
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1286,6 +1286,13 @@ module Google
1286
1286
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1287
1287
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1288
1288
  # * (`nil`) indicating no credentials
1289
+ #
1290
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1291
+ # external source for authentication to Google Cloud, you must validate it before
1292
+ # providing it to a Google API client library. Providing an unvalidated credential
1293
+ # configuration to Google APIs can compromise the security of your systems and data.
1294
+ # For more information, refer to [Validate credential configurations from external
1295
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1289
1296
  # @return [::Object]
1290
1297
  # @!attribute [rw] scope
1291
1298
  # The OAuth scopes
@@ -1333,7 +1340,7 @@ module Google
1333
1340
 
1334
1341
  config_attr :endpoint, nil, ::String, nil
1335
1342
  config_attr :credentials, nil do |value|
1336
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1343
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1337
1344
  allowed.any? { |klass| klass === value }
1338
1345
  end
1339
1346
  config_attr :scope, nil, ::String, ::Array, nil
@@ -436,6 +436,13 @@ module Google
436
436
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
437
437
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
438
438
  # * (`nil`) indicating no credentials
439
+ #
440
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
441
+ # external source for authentication to Google Cloud, you must validate it before
442
+ # providing it to a Google API client library. Providing an unvalidated credential
443
+ # configuration to Google APIs can compromise the security of your systems and data.
444
+ # For more information, refer to [Validate credential configurations from external
445
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
439
446
  # @return [::Object]
440
447
  # @!attribute [rw] scope
441
448
  # The OAuth scopes
@@ -490,8 +497,8 @@ module Google
490
497
 
491
498
  config_attr :endpoint, nil, ::String, nil
492
499
  config_attr :credentials, nil do |value|
493
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
494
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
500
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
501
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
495
502
  allowed.any? { |klass| klass === value }
496
503
  end
497
504
  config_attr :scope, nil, ::String, ::Array, nil
@@ -421,6 +421,13 @@ module Google
421
421
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
422
422
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
423
423
  # * (`nil`) indicating no credentials
424
+ #
425
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
426
+ # external source for authentication to Google Cloud, you must validate it before
427
+ # providing it to a Google API client library. Providing an unvalidated credential
428
+ # configuration to Google APIs can compromise the security of your systems and data.
429
+ # For more information, refer to [Validate credential configurations from external
430
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
424
431
  # @return [::Object]
425
432
  # @!attribute [rw] scope
426
433
  # The OAuth scopes
@@ -468,7 +475,7 @@ module Google
468
475
 
469
476
  config_attr :endpoint, nil, ::String, nil
470
477
  config_attr :credentials, nil do |value|
471
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
478
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
472
479
  allowed.any? { |klass| klass === value }
473
480
  end
474
481
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Billing
23
23
  module V1
24
- VERSION = "1.2.0"
24
+ VERSION = "1.3.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-billing-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -112,7 +111,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
112
111
  licenses:
113
112
  - Apache-2.0
114
113
  metadata: {}
115
- post_install_message:
116
114
  rdoc_options: []
117
115
  require_paths:
118
116
  - lib
@@ -120,15 +118,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
118
  requirements:
121
119
  - - ">="
122
120
  - !ruby/object:Gem::Version
123
- version: '2.7'
121
+ version: '3.0'
124
122
  required_rubygems_version: !ruby/object:Gem::Requirement
125
123
  requirements:
126
124
  - - ">="
127
125
  - !ruby/object:Gem::Version
128
126
  version: '0'
129
127
  requirements: []
130
- rubygems_version: 3.5.23
131
- signing_key:
128
+ rubygems_version: 3.6.8
132
129
  specification_version: 4
133
130
  summary: Allows developers to manage billing for their Google Cloud Platform projects
134
131
  programmatically.