Skip to content

Commit 9b04136

Browse files
feat: Automated regeneration of binaryauthorization v1 client (googleapis#21463)
Auto-created at 2025-01-26 09:44:41 +0000 using the toys pull request generator.
1 parent 6017ce2 commit 9b04136

File tree

3 files changed

+24
-9
lines changed

3 files changed

+24
-9
lines changed

generated/google-apis-binaryauthorization_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-binaryauthorization_v1
22

3+
### v0.40.0 (2025-01-26)
4+
5+
* Regenerated from discovery document revision 20250117
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.39.0 (2024-11-24)
49

510
* Regenerated from discovery document revision 20241115

generated/google-apis-binaryauthorization_v1/lib/google/apis/binaryauthorization_v1/classes.rb

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@ class AdmissionRule
4040
# @return [String]
4141
attr_accessor :evaluation_mode
4242

43-
#
43+
# Optional. The resource names of the attestors that must attest to a container
44+
# image, in the format `projects/*/attestors/*`. Each attestor must exist before
45+
# a policy can reference it. To add an attestor to a policy the principal
46+
# issuing the policy change request must be able to read the attestor resource.
47+
# Note: this field must be non-empty when the `evaluation_mode` field specifies `
48+
# REQUIRE_ATTESTATION`, otherwise it must be empty.
4449
# Corresponds to the JSON property `requireAttestationsBy`
4550
# @return [Array<String>]
4651
attr_accessor :require_attestations_by
@@ -1238,11 +1243,16 @@ class Policy
12381243
# @return [Array<Google::Apis::BinaryauthorizationV1::AdmissionWhitelistPattern>]
12391244
attr_accessor :admission_whitelist_patterns
12401245

1241-
# Optional. Per-cluster admission rules. Cluster spec format: `location.
1242-
# clusterId`. There can be at most one admission rule per cluster spec. A `
1243-
# location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-
1244-
# central1). For `clusterId` syntax restrictions see https://cloud.google.com/
1245-
# container-engine/reference/rest/v1/projects.zones.clusters.
1246+
# Optional. A valid policy has only one of the following rule maps non-empty, i.
1247+
# e. only one of `cluster_admission_rules`, `
1248+
# kubernetes_namespace_admission_rules`, `
1249+
# kubernetes_service_account_admission_rules`, or `
1250+
# istio_service_identity_admission_rules` can be non-empty. Per-cluster
1251+
# admission rules. Cluster spec format: `location.clusterId`. There can be at
1252+
# most one admission rule per cluster spec. A `location` is either a compute
1253+
# zone (e.g. us-central1-a) or a region (e.g. us-central1). For `clusterId`
1254+
# syntax restrictions see https://cloud.google.com/container-engine/reference/
1255+
# rest/v1/projects.zones.clusters.
12461256
# Corresponds to the JSON property `clusterAdmissionRules`
12471257
# @return [Hash<String,Google::Apis::BinaryauthorizationV1::AdmissionRule>]
12481258
attr_accessor :cluster_admission_rules

generated/google-apis-binaryauthorization_v1/lib/google/apis/binaryauthorization_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module BinaryauthorizationV1
1818
# Version of the google-apis-binaryauthorization_v1 gem
19-
GEM_VERSION = "0.39.0"
19+
GEM_VERSION = "0.40.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241115"
25+
REVISION = "20250117"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)