google-cloud-binary_authorization-v1 1.2.0 → 1.3.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: 2b1c52a9b7ba0cdddc3ecd7c65c12c7e14f49ab139e855790efe937f582e6687
4
- data.tar.gz: ec578d44cc78fe005563c54d58933eeaeea5ede9cdf2946c8582bceb2713ffb9
3
+ metadata.gz: c2378089eb0da053536030a8caab53d3b189f2116c1f10d94c59df2671dbab18
4
+ data.tar.gz: 9ce9a1d2cf4a293cd8dced243012e2aa429c3d16b015152355ebfd4026d64e67
5
5
  SHA512:
6
- metadata.gz: 7ebddcac096a67c204e161a4140ff5411309eb674cd5746156cbda1b76c790a093a18f7a70454edad8bb8c1a166876530c3a63427b340a7d2b7b2dee2187e199
7
- data.tar.gz: 1d9d55ecad94a5c9860402aa03e7e64ad7678cabb2a6e604b116157bb1f9e1a3708dc71795b0e7f77b7ba2d0cbcb99df0b0d13adbd68981d9b40af5c27ccfd5b
6
+ metadata.gz: 4d3712a6726a7b928bed7d0bf16901bb13cf94762d754c65155e94957a1d039679c0febe8ed3ee80a948b7e92138edbdf04bb93c944dbe9f949db069f6e4c790
7
+ data.tar.gz: f44748af0dbadbb30a9e016de17b586074c5b7d2d24342fcc2c22995ed94dce985ade6a51b6cdcf07ddf69959af8d49880a89efc30a3709b3d1ed5d6b0de4c55
@@ -965,8 +965,8 @@ module Google
965
965
 
966
966
  config_attr :endpoint, nil, ::String, nil
967
967
  config_attr :credentials, nil do |value|
968
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
969
- 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
970
970
  allowed.any? { |klass| klass === value }
971
971
  end
972
972
  config_attr :scope, nil, ::String, ::Array, nil
@@ -900,7 +900,7 @@ module Google
900
900
 
901
901
  config_attr :endpoint, nil, ::String, nil
902
902
  config_attr :credentials, nil do |value|
903
- 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]
904
904
  allowed.any? { |klass| klass === value }
905
905
  end
906
906
  config_attr :scope, nil, ::String, ::Array, nil
@@ -374,8 +374,8 @@ module Google
374
374
 
375
375
  config_attr :endpoint, nil, ::String, nil
376
376
  config_attr :credentials, nil do |value|
377
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
378
- 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
379
379
  allowed.any? { |klass| klass === value }
380
380
  end
381
381
  config_attr :scope, nil, ::String, ::Array, nil
@@ -351,7 +351,7 @@ module Google
351
351
 
352
352
  config_attr :endpoint, nil, ::String, nil
353
353
  config_attr :credentials, nil do |value|
354
- 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]
355
355
  allowed.any? { |klass| klass === value }
356
356
  end
357
357
  config_attr :scope, nil, ::String, ::Array, nil
@@ -385,8 +385,8 @@ module Google
385
385
 
386
386
  config_attr :endpoint, nil, ::String, nil
387
387
  config_attr :credentials, nil do |value|
388
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
389
- 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
390
390
  allowed.any? { |klass| klass === value }
391
391
  end
392
392
  config_attr :scope, nil, ::String, ::Array, nil
@@ -362,7 +362,7 @@ module Google
362
362
 
363
363
  config_attr :endpoint, nil, ::String, nil
364
364
  config_attr :credentials, nil do |value|
365
- 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]
366
366
  allowed.any? { |klass| klass === value }
367
367
  end
368
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.2.0"
24
+ VERSION = "1.3.0"
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
@@ -113,11 +113,53 @@ module Grafeas
113
113
  # @return [::String]
114
114
  # For jars that are contained inside .war files, this filepath
115
115
  # can indicate the path to war file combined with the path to jar file.
116
+ # @!attribute [rw] layer_details
117
+ # @return [::Grafeas::V1::LayerDetails]
118
+ # Each package found in a file should have its own layer metadata (that is,
119
+ # information from the origin layer of the package).
116
120
  class FileLocation
117
121
  include ::Google::Protobuf::MessageExts
118
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
119
123
  end
120
124
 
125
+ # BaseImage describes a base image of a container image.
126
+ # @!attribute [rw] name
127
+ # @return [::String]
128
+ # The name of the base image.
129
+ # @!attribute [rw] repository
130
+ # @return [::String]
131
+ # The repository name in which the base image is from.
132
+ # @!attribute [rw] layer_count
133
+ # @return [::Integer]
134
+ # The number of layers that the base image is composed of.
135
+ class BaseImage
136
+ include ::Google::Protobuf::MessageExts
137
+ extend ::Google::Protobuf::MessageExts::ClassMethods
138
+ end
139
+
140
+ # Details about the layer a package was found in.
141
+ # @!attribute [rw] index
142
+ # @return [::Integer]
143
+ # The index of the layer in the container image.
144
+ # @!attribute [rw] diff_id
145
+ # @return [::String]
146
+ # The diff ID (typically a sha256 hash) of the layer in the container image.
147
+ # @!attribute [rw] chain_id
148
+ # @return [::String]
149
+ # The layer chain ID (sha256 hash) of the layer in the container image.
150
+ # https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
151
+ # @!attribute [rw] command
152
+ # @return [::String]
153
+ # The layer build command that was used to build the layer. This may not be
154
+ # found in all layers depending on how the container image is built.
155
+ # @!attribute [rw] base_images
156
+ # @return [::Array<::Grafeas::V1::BaseImage>]
157
+ # The base images the layer is found within.
158
+ class LayerDetails
159
+ include ::Google::Protobuf::MessageExts
160
+ extend ::Google::Protobuf::MessageExts::ClassMethods
161
+ end
162
+
121
163
  # License information.
122
164
  # @!attribute [rw] expression
123
165
  # @return [::String]
@@ -186,6 +228,9 @@ module Grafeas
186
228
 
187
229
  # This represents an SBOM Reference.
188
230
  SBOM_REFERENCE = 12
231
+
232
+ # This represents a secret.
233
+ SECRET = 13
189
234
  end
190
235
  end
191
236
  end
metadata CHANGED
@@ -1,34 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-binary_authorization-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - ">="
17
- - !ruby/object:Gem::Version
18
- version: 0.25.0
19
- - - "<"
16
+ - - "~>"
20
17
  - !ruby/object:Gem::Version
21
- version: 2.a
18
+ version: '1.0'
22
19
  type: :runtime
23
20
  prerelease: false
24
21
  version_requirements: !ruby/object:Gem::Requirement
25
22
  requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- version: 0.25.0
29
- - - "<"
23
+ - - "~>"
30
24
  - !ruby/object:Gem::Version
31
- version: 2.a
25
+ version: '1.0'
32
26
  - !ruby/object:Gem::Dependency
33
27
  name: google-cloud-errors
34
28
  requirement: !ruby/object:Gem::Requirement
@@ -127,14 +121,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
121
  requirements:
128
122
  - - ">="
129
123
  - !ruby/object:Gem::Version
130
- version: '3.0'
124
+ version: '3.1'
131
125
  required_rubygems_version: !ruby/object:Gem::Requirement
132
126
  requirements:
133
127
  - - ">="
134
128
  - !ruby/object:Gem::Version
135
129
  version: '0'
136
130
  requirements: []
137
- rubygems_version: 3.6.2
131
+ rubygems_version: 3.6.8
138
132
  specification_version: 4
139
133
  summary: The management interface for Binary Authorization, a system providing policy
140
134
  control for images deployed to Kubernetes Engine clusters, Anthos clusters on VMware,