google-cloud-binary_authorization-v1 1.1.0 → 1.2.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: c492ba059e24d424f4dc7c46ace8ba3afa0e8da4b662e020e4da88e30529b2ec
4
- data.tar.gz: d0cf6dd8677942b5793e37eec6c45a2946f70924a5a772fe97cf9318e928fa3a
3
+ metadata.gz: e2c71436598170ab4e1a8f55fe5f84019f218c3cbc5895e44cd2a44800605af3
4
+ data.tar.gz: 0f74ac63df625d08185e3fbfbede8337c224eb8e898bb677a4bb2995411b3b4f
5
5
  SHA512:
6
- metadata.gz: 16ffe2eff9daa8db21f5909d79293736e206c7f6f74c18293f26dd30d3e94ba9b94b3f14422317e0a49bb9523d2b63cc0c4b738033f01365042c0cc06cdfb832
7
- data.tar.gz: cab8c86ba966eff9343a502a41b99c497644656430bf4ed49fd8c089a2e50791f616e9908625e5348b3b7ccd43cb1235012f74758c24cf4becbc53525ad177b0
6
+ metadata.gz: 9fe84b4a8f942e2bf600e7fd34612fa608946021896850017e5593cb8f8bd1a4cb01bf524972a6a5cf010f5e022773b03434cce3ee9d652e7af0ce40fd88e44f
7
+ data.tar.gz: 6feeca3d7d0163fe94e1c155c60a1f02c8719a57384d9877341deab204c0a3232a3ceabdb19a37fa447b252ea8d9c31abfd2db5e0079c434f72c0b09d7ab49fa
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -904,6 +904,13 @@ module Google
904
904
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
905
905
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
906
906
  # * (`nil`) indicating no credentials
907
+ #
908
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
909
+ # external source for authentication to Google Cloud, you must validate it before
910
+ # providing it to a Google API client library. Providing an unvalidated credential
911
+ # configuration to Google APIs can compromise the security of your systems and data.
912
+ # For more information, refer to [Validate credential configurations from external
913
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
907
914
  # @return [::Object]
908
915
  # @!attribute [rw] scope
909
916
  # The OAuth scopes
@@ -958,8 +965,8 @@ module Google
958
965
 
959
966
  config_attr :endpoint, nil, ::String, nil
960
967
  config_attr :credentials, nil do |value|
961
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
962
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
968
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
969
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
963
970
  allowed.any? { |klass| klass === value }
964
971
  end
965
972
  config_attr :scope, nil, ::String, ::Array, nil
@@ -846,6 +846,13 @@ module Google
846
846
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
847
847
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
848
848
  # * (`nil`) indicating no credentials
849
+ #
850
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
851
+ # external source for authentication to Google Cloud, you must validate it before
852
+ # providing it to a Google API client library. Providing an unvalidated credential
853
+ # configuration to Google APIs can compromise the security of your systems and data.
854
+ # For more information, refer to [Validate credential configurations from external
855
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
849
856
  # @return [::Object]
850
857
  # @!attribute [rw] scope
851
858
  # The OAuth scopes
@@ -893,7 +900,7 @@ module Google
893
900
 
894
901
  config_attr :endpoint, nil, ::String, nil
895
902
  config_attr :credentials, nil do |value|
896
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
903
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
897
904
  allowed.any? { |klass| klass === value }
898
905
  end
899
906
  config_attr :scope, nil, ::String, ::Array, nil
@@ -313,6 +313,13 @@ module Google
313
313
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
314
314
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
315
315
  # * (`nil`) indicating no credentials
316
+ #
317
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
318
+ # external source for authentication to Google Cloud, you must validate it before
319
+ # providing it to a Google API client library. Providing an unvalidated credential
320
+ # configuration to Google APIs can compromise the security of your systems and data.
321
+ # For more information, refer to [Validate credential configurations from external
322
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
316
323
  # @return [::Object]
317
324
  # @!attribute [rw] scope
318
325
  # The OAuth scopes
@@ -367,8 +374,8 @@ module Google
367
374
 
368
375
  config_attr :endpoint, nil, ::String, nil
369
376
  config_attr :credentials, nil do |value|
370
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
371
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
377
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
378
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
372
379
  allowed.any? { |klass| klass === value }
373
380
  end
374
381
  config_attr :scope, nil, ::String, ::Array, nil
@@ -297,6 +297,13 @@ module Google
297
297
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
298
298
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
299
299
  # * (`nil`) indicating no credentials
300
+ #
301
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
302
+ # external source for authentication to Google Cloud, you must validate it before
303
+ # providing it to a Google API client library. Providing an unvalidated credential
304
+ # configuration to Google APIs can compromise the security of your systems and data.
305
+ # For more information, refer to [Validate credential configurations from external
306
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
300
307
  # @return [::Object]
301
308
  # @!attribute [rw] scope
302
309
  # The OAuth scopes
@@ -344,7 +351,7 @@ module Google
344
351
 
345
352
  config_attr :endpoint, nil, ::String, nil
346
353
  config_attr :credentials, nil do |value|
347
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
354
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
348
355
  allowed.any? { |klass| klass === value }
349
356
  end
350
357
  config_attr :scope, nil, ::String, ::Array, nil
@@ -324,6 +324,13 @@ module Google
324
324
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
325
325
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
326
326
  # * (`nil`) indicating no credentials
327
+ #
328
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
329
+ # external source for authentication to Google Cloud, you must validate it before
330
+ # providing it to a Google API client library. Providing an unvalidated credential
331
+ # configuration to Google APIs can compromise the security of your systems and data.
332
+ # For more information, refer to [Validate credential configurations from external
333
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
327
334
  # @return [::Object]
328
335
  # @!attribute [rw] scope
329
336
  # The OAuth scopes
@@ -378,8 +385,8 @@ module Google
378
385
 
379
386
  config_attr :endpoint, nil, ::String, nil
380
387
  config_attr :credentials, nil do |value|
381
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
382
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
388
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
389
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
383
390
  allowed.any? { |klass| klass === value }
384
391
  end
385
392
  config_attr :scope, nil, ::String, ::Array, nil
@@ -308,6 +308,13 @@ module Google
308
308
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
309
309
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
310
310
  # * (`nil`) indicating no credentials
311
+ #
312
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
313
+ # external source for authentication to Google Cloud, you must validate it before
314
+ # providing it to a Google API client library. Providing an unvalidated credential
315
+ # configuration to Google APIs can compromise the security of your systems and data.
316
+ # For more information, refer to [Validate credential configurations from external
317
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
311
318
  # @return [::Object]
312
319
  # @!attribute [rw] scope
313
320
  # The OAuth scopes
@@ -355,7 +362,7 @@ module Google
355
362
 
356
363
  config_attr :endpoint, nil, ::String, nil
357
364
  config_attr :credentials, nil do |value|
358
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
365
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
359
366
  allowed.any? { |klass| klass === value }
360
367
  end
361
368
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module BinaryAuthorization
23
23
  module V1
24
- VERSION = "1.1.0"
24
+ VERSION = "1.2.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
@@ -352,6 +352,8 @@ module Google
352
352
  # computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as
353
353
  # upper-case hex. If `id` is provided by the caller, it will be
354
354
  # overwritten by the API-calculated ID.
355
+ #
356
+ # Note: The following fields are mutually exclusive: `ascii_armored_pgp_public_key`, `pkix_public_key`. If a field in that set is populated, all other fields in the set will automatically be cleared.
355
357
  # @!attribute [rw] pkix_public_key
356
358
  # @return [::Google::Cloud::BinaryAuthorization::V1::PkixPublicKey]
357
359
  # A raw PKIX SubjectPublicKeyInfo format public key.
@@ -360,6 +362,8 @@ module Google
360
362
  # type of public key, but it MUST be a valid RFC3986 URI. If `id` is left
361
363
  # blank, a default one will be computed based on the digest of the DER
362
364
  # encoding of the public key.
365
+ #
366
+ # Note: The following fields are mutually exclusive: `pkix_public_key`, `ascii_armored_pgp_public_key`. If a field in that set is populated, all other fields in the set will automatically be cleared.
363
367
  class AttestorPublicKey
364
368
  include ::Google::Protobuf::MessageExts
365
369
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-binary_authorization-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.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
@@ -121,7 +120,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
121
120
  licenses:
122
121
  - Apache-2.0
123
122
  metadata: {}
124
- post_install_message:
125
123
  rdoc_options: []
126
124
  require_paths:
127
125
  - lib
@@ -129,15 +127,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
129
127
  requirements:
130
128
  - - ">="
131
129
  - !ruby/object:Gem::Version
132
- version: '2.7'
130
+ version: '3.0'
133
131
  required_rubygems_version: !ruby/object:Gem::Requirement
134
132
  requirements:
135
133
  - - ">="
136
134
  - !ruby/object:Gem::Version
137
135
  version: '0'
138
136
  requirements: []
139
- rubygems_version: 3.5.23
140
- signing_key:
137
+ rubygems_version: 3.6.8
141
138
  specification_version: 4
142
139
  summary: The management interface for Binary Authorization, a system providing policy
143
140
  control for images deployed to Kubernetes Engine clusters, Anthos clusters on VMware,