google-apis-binaryauthorization_v1 0.28.0 → 0.30.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: 2d90c39f24d19819ebb370b9bde01f5622f2d10872b1fa77ea275f9ede3fb690
4
- data.tar.gz: 5dba18ae6cce5c0d688b4f34b3e16d0fc9c5e6977934b1f2787054442e1d4220
3
+ metadata.gz: f77a5ff4dd29e3b631d44c48186f36f80c2fc77cabc9f09dc4c3ac540bc0fcc9
4
+ data.tar.gz: c713bc6dd4f36f4a67cdd291dbc8601bc47eb3571872b89e295fffe2bac19165
5
5
  SHA512:
6
- metadata.gz: f0ec5fd8227c01799eec8991bcfe779fdcb2d85af800394d30b9640affd09508ecc7467f700ab0ac2872f3cfb3096666a1f0ffe82254967473faa1a91ac45348
7
- data.tar.gz: ba17aae91cf84fa0c13f7213fdf9da756efae0d804e5420384e8b0d45b1185caf89289e37397583b351474e90bb1d8569f9d3680fa376c1ed74c8ef8afd27f90
6
+ metadata.gz: 9365f5953109f9fa967435f9a0bf020f616c54672a97ccaf4e5edcead6c32923a8c791f697668c3ad75e8123854670081e8fef34357f80bf4294d223aac60bb8
7
+ data.tar.gz: 423200e2d668f53d2d56107bb6367cc84e8884940cbd661833cfbc8fb55800a30e57e5decc2813410188565ed8fb7eb6aab6015f4ac038b50f8b2b6fef76240b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-binaryauthorization_v1
2
2
 
3
+ ### v0.30.0 (2023-12-24)
4
+
5
+ * Regenerated from discovery document revision 20231215
6
+
7
+ ### v0.29.0 (2023-10-08)
8
+
9
+ * Regenerated from discovery document revision 20230929
10
+
3
11
  ### v0.28.0 (2023-09-10)
4
12
 
5
13
  * Regenerated from discovery document revision 20230901
@@ -172,7 +172,9 @@ module Google
172
172
  include Google::Apis::Core::Hashable
173
173
 
174
174
  # The IDs of the GCP projects storing the SLSA attestations as Container
175
- # Analysis Occurrences.
175
+ # Analysis Occurrences, in the format `projects/[PROJECT_ID]`. Maximum number of
176
+ # `container_analysis_attestation_projects` allowed in each `AttestationSource`
177
+ # is 10.
176
178
  # Corresponds to the JSON property `containerAnalysisAttestationProjects`
177
179
  # @return [Array<String>]
178
180
  attr_accessor :container_analysis_attestation_projects
@@ -325,21 +327,43 @@ module Google
325
327
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
326
328
  # email address that represents a Google group. For example, `admins@example.com`
327
329
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
328
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
329
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
330
- # representing a user that has been recently deleted. For example, `alice@
331
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
332
- # reverts to `user:`emailid`` and the recovered user retains the role in the
333
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
334
- # (plus unique identifier) representing a service account that has been recently
335
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
330
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
331
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
332
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
333
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
334
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
335
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
336
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
337
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
338
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
339
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
340
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
341
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
342
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
343
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
344
+ # googleapis.com/projects/`project_number`/locations/global/
345
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
346
+ # All identities in a workload identity pool with a certain attribute. * `
347
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
348
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
349
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
350
+ # identifier) representing a user that has been recently deleted. For example, `
351
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
352
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
353
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
354
+ # address (plus unique identifier) representing a service account that has been
355
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
336
356
  # 123456789012345678901`. If the service account is undeleted, this value
337
357
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
338
358
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
339
359
  # An email address (plus unique identifier) representing a Google group that has
340
360
  # been recently deleted. For example, `admins@example.com?uid=
341
361
  # 123456789012345678901`. If the group is recovered, this value reverts to `
342
- # group:`emailid`` and the recovered group retains the role in the binding.
362
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
363
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
364
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
365
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
366
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
343
367
  # Corresponds to the JSON property `members`
344
368
  # @return [Array<String>]
345
369
  attr_accessor :members
@@ -802,6 +826,21 @@ module Google
802
826
  class PkixPublicKey
803
827
  include Google::Apis::Core::Hashable
804
828
 
829
+ # Optional. The ID of this public key. Signatures verified by Binary
830
+ # Authorization must include the ID of the public key that can be used to verify
831
+ # them, and that ID must match the contents of this field exactly. This may be
832
+ # explicitly provided by the caller, but it MUST be a valid RFC3986 URI. If `
833
+ # key_id` is left blank and this `PkixPublicKey` is not used in the context of a
834
+ # wrapper (see next paragraph), a default key ID will be computed based on the
835
+ # digest of the DER encoding of the public key. If this `PkixPublicKey` is used
836
+ # in the context of a wrapper that has its own notion of key ID (e.g. `
837
+ # AttestorPublicKey`), then this field can either: * Match that value exactly. *
838
+ # Or be left blank, in which case it behaves exactly as though it is equal to
839
+ # that wrapper value.
840
+ # Corresponds to the JSON property `keyId`
841
+ # @return [String]
842
+ attr_accessor :key_id
843
+
805
844
  # A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#
806
845
  # section-13
807
846
  # Corresponds to the JSON property `publicKeyPem`
@@ -822,6 +861,7 @@ module Google
822
861
 
823
862
  # Update properties of this object
824
863
  def update!(**args)
864
+ @key_id = args[:key_id] if args.key?(:key_id)
825
865
  @public_key_pem = args[:public_key_pem] if args.key?(:public_key_pem)
826
866
  @signature_algorithm = args[:signature_algorithm] if args.key?(:signature_algorithm)
827
867
  end
@@ -1131,12 +1171,14 @@ module Google
1131
1171
  attr_accessor :attestation_authenticators
1132
1172
 
1133
1173
  # Optional. The projects where attestations are stored as Container Analysis
1134
- # Occurrences. Only one attestation needs to successfully verify an image for
1135
- # this check to pass, so a single verified attestation found in any of `
1136
- # container_analysis_attestation_projects` is sufficient for the check to pass.
1137
- # When fetching Occurrences from Container Analysis, only 'AttestationOccurrence'
1138
- # kinds are considered. In the future, additional Occurrence kinds may be added
1139
- # to the query.
1174
+ # Occurrences, in the format `projects/[PROJECT_ID]`. Only one attestation needs
1175
+ # to successfully verify an image for this check to pass, so a single verified
1176
+ # attestation found in any of `container_analysis_attestation_projects` is
1177
+ # sufficient for the check to pass. When fetching Occurrences from Container
1178
+ # Analysis, only `AttestationOccurrence` kinds are considered. In the future,
1179
+ # additional Occurrence kinds may be added to the query. Maximum number of `
1180
+ # container_analysis_attestation_projects` allowed in each `
1181
+ # SimpleSigningAttestationCheck` is 10.
1140
1182
  # Corresponds to the JSON property `containerAnalysisAttestationProjects`
1141
1183
  # @return [Array<String>]
1142
1184
  attr_accessor :container_analysis_attestation_projects
@@ -1452,7 +1494,9 @@ module Google
1452
1494
  # PROJECT_ID]`, e.g., `projects/my-gcp-project`. An attempt will be made for
1453
1495
  # each project to fetch vulnerabilities, and all valid vulnerabilities will be
1454
1496
  # used to check against the vulnerability policy. If no valid scan is found in
1455
- # all projects configured here, an error will be returned for the check.
1497
+ # all projects configured here, an error will be returned for the check. Maximum
1498
+ # number of `container_analysis_vulnerability_projects` allowed in each `
1499
+ # VulnerabilityCheck` is 10.
1456
1500
  # Corresponds to the JSON property `containerAnalysisVulnerabilityProjects`
1457
1501
  # @return [Array<String>]
1458
1502
  attr_accessor :container_analysis_vulnerability_projects
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BinaryauthorizationV1
18
18
  # Version of the google-apis-binaryauthorization_v1 gem
19
- GEM_VERSION = "0.28.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230901"
25
+ REVISION = "20231215"
26
26
  end
27
27
  end
28
28
  end
@@ -425,6 +425,7 @@ module Google
425
425
  class PkixPublicKey
426
426
  # @private
427
427
  class Representation < Google::Apis::Core::JsonRepresentation
428
+ property :key_id, as: 'keyId'
428
429
  property :public_key_pem, as: 'publicKeyPem'
429
430
  property :signature_algorithm, as: 'signatureAlgorithm'
430
431
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-binaryauthorization_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-17 00:00:00.000000000 Z
11
+ date: 2023-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-binaryauthorization_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-binaryauthorization_v1/v0.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-binaryauthorization_v1/v0.30.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-binaryauthorization_v1
63
63
  post_install_message:
64
64
  rdoc_options: []