google-cloud-binary_authorization-v1beta1 0.14.0 → 0.15.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: ef8e90a0bca04376c531dd4857c38436fbdd9f85e459cbe436845bfd949fd344
4
- data.tar.gz: 04a9d1b6c8d9f86ba773d2d26ce25e64782b3d75f984b89c5c09f5cdde8ead62
3
+ metadata.gz: a1cfd0c054d10620206acedd2b289cb0047e838041c5fbf93b8db651e3784e03
4
+ data.tar.gz: 1af8d346b1c8ad785e829d8d045712c58cc66af1867731ea4714f1f98edf6eef
5
5
  SHA512:
6
- metadata.gz: 1d09ab1328896956d83e32c428aa3d1a594e6c58a4d3e493b7ee26c1cec95f63f34e05c9b1178e4607142c046d8462b1ee7bc9432e0cc106e4d90242c2d41cc6
7
- data.tar.gz: bef8a56221a44fa303d18bd33cb1db9e03c8344a0f545caba1d026cada779a7fda6a3d0d50aee716149103af903a5e954ac00b8fbe2ac2e0c433247a5cf92939
6
+ metadata.gz: c2a7cdb45e4df12a2a3205e306ba446790decfe1ea56a5e5c210c0619edbf4c9eacbdcfe96360005acb51f487a86f5aa9cfead0b5b34a91bc84844fb49e40b8a
7
+ data.tar.gz: 1bc39632cdfcb2c9a49163929f0ea342ecce4767574fcef8028a4dc30fc735eb62cb89466b69ba7af2d99b830f6f1b4604e1f2689350a5bfc6dfb1b653a90329
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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module BinaryAuthorization
23
23
  module V1beta1
24
- VERSION = "0.14.0"
24
+ VERSION = "0.15.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
@@ -25,9 +25,13 @@ module Google
25
25
  # @!attribute [rw] pod_event
26
26
  # @return [::Google::Cloud::BinaryAuthorization::V1beta1::ContinuousValidationEvent::ContinuousValidationPodEvent]
27
27
  # Pod event.
28
+ #
29
+ # Note: The following fields are mutually exclusive: `pod_event`, `config_error_event`. If a field in that set is populated, all other fields in the set will automatically be cleared.
28
30
  # @!attribute [rw] config_error_event
29
31
  # @return [::Google::Cloud::BinaryAuthorization::V1beta1::ContinuousValidationEvent::ConfigErrorEvent]
30
32
  # Config error event.
33
+ #
34
+ # Note: The following fields are mutually exclusive: `config_error_event`, `pod_event`. If a field in that set is populated, all other fields in the set will automatically be cleared.
31
35
  class ContinuousValidationEvent
32
36
  include ::Google::Protobuf::MessageExts
33
37
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -116,11 +120,15 @@ module Google
116
120
  # 'my-namespace:my-service-account'.
117
121
  # `kubernetes_service_account` scope is always more specific than
118
122
  # `kubernetes_namespace` scope for the same namespace.
123
+ #
124
+ # Note: The following fields are mutually exclusive: `kubernetes_service_account`, `kubernetes_namespace`. If a field in that set is populated, all other fields in the set will automatically be cleared.
119
125
  # @!attribute [rw] kubernetes_namespace
120
126
  # @return [::String]
121
127
  # Matches all Kubernetes service accounts in the provided
122
128
  # namespace, unless a more specific `kubernetes_service_account`
123
129
  # scope already matched.
130
+ #
131
+ # Note: The following fields are mutually exclusive: `kubernetes_namespace`, `kubernetes_service_account`. If a field in that set is populated, all other fields in the set will automatically be cleared.
124
132
  class CheckSetScope
125
133
  include ::Google::Protobuf::MessageExts
126
134
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -354,6 +354,8 @@ module Google
354
354
  # computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as
355
355
  # upper-case hex. If `id` is provided by the caller, it will be
356
356
  # overwritten by the API-calculated ID.
357
+ #
358
+ # 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.
357
359
  # @!attribute [rw] pkix_public_key
358
360
  # @return [::Google::Cloud::BinaryAuthorization::V1beta1::PkixPublicKey]
359
361
  # A raw PKIX SubjectPublicKeyInfo format public key.
@@ -362,6 +364,8 @@ module Google
362
364
  # type of public key, but it MUST be a valid RFC3986 URI. If `id` is left
363
365
  # blank, a default one will be computed based on the digest of the DER
364
366
  # encoding of the public key.
367
+ #
368
+ # 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.
365
369
  class AttestorPublicKey
366
370
  include ::Google::Protobuf::MessageExts
367
371
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-binary_authorization-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.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
@@ -96,7 +95,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
96
95
  licenses:
97
96
  - Apache-2.0
98
97
  metadata: {}
99
- post_install_message:
100
98
  rdoc_options: []
101
99
  require_paths:
102
100
  - lib
@@ -104,15 +102,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
102
  requirements:
105
103
  - - ">="
106
104
  - !ruby/object:Gem::Version
107
- version: '2.7'
105
+ version: '3.0'
108
106
  required_rubygems_version: !ruby/object:Gem::Requirement
109
107
  requirements:
110
108
  - - ">="
111
109
  - !ruby/object:Gem::Version
112
110
  version: '0'
113
111
  requirements: []
114
- rubygems_version: 3.5.23
115
- signing_key:
112
+ rubygems_version: 3.6.8
116
113
  specification_version: 4
117
114
  summary: The management interface for Binary Authorization, a system providing policy
118
115
  control for images deployed to Kubernetes Engine clusters, Anthos clusters on VMware,