Skip to content

Commit 70ae6ef

Browse files
1 parent aeb00aa commit 70ae6ef

File tree

5 files changed

+36
-12
lines changed

5 files changed

+36
-12
lines changed

clients/google-api-services-binaryauthorization/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-binaryauthorization</artifactId>
25-
<version>v1-rev20241115-2.0.0</version>
25+
<version>v1-rev20250117-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-binaryauthorization:v1-rev20241115-2.0.0'
38+
implementation 'com.google.apis:google-api-services-binaryauthorization:v1-rev20250117-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-binaryauthorization/v1/2.0.0/com/google/api/services/binaryauthorization/v1/model/AdmissionRule.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ public final class AdmissionRule extends com.google.api.client.json.GenericJson
4848
private java.lang.String evaluationMode;
4949

5050
/**
51+
* Optional. The resource names of the attestors that must attest to a container image, in the
52+
* format `projects/attestors`. Each attestor must exist before a policy can reference it. To add
53+
* an attestor to a policy the principal issuing the policy change request must be able to read
54+
* the attestor resource. Note: this field must be non-empty when the `evaluation_mode` field
55+
* specifies `REQUIRE_ATTESTATION`, otherwise it must be empty.
5156
* The value may be {@code null}.
5257
*/
5358
@com.google.api.client.util.Key
@@ -88,13 +93,23 @@ public AdmissionRule setEvaluationMode(java.lang.String evaluationMode) {
8893
}
8994

9095
/**
96+
* Optional. The resource names of the attestors that must attest to a container image, in the
97+
* format `projects/attestors`. Each attestor must exist before a policy can reference it. To add
98+
* an attestor to a policy the principal issuing the policy change request must be able to read
99+
* the attestor resource. Note: this field must be non-empty when the `evaluation_mode` field
100+
* specifies `REQUIRE_ATTESTATION`, otherwise it must be empty.
91101
* @return value or {@code null} for none
92102
*/
93103
public java.util.List<java.lang.String> getRequireAttestationsBy() {
94104
return requireAttestationsBy;
95105
}
96106

97107
/**
108+
* Optional. The resource names of the attestors that must attest to a container image, in the
109+
* format `projects/attestors`. Each attestor must exist before a policy can reference it. To add
110+
* an attestor to a policy the principal issuing the policy change request must be able to read
111+
* the attestor resource. Note: this field must be non-empty when the `evaluation_mode` field
112+
* specifies `REQUIRE_ATTESTATION`, otherwise it must be empty.
98113
* @param requireAttestationsBy requireAttestationsBy or {@code null} for none
99114
*/
100115
public AdmissionRule setRequireAttestationsBy(java.util.List<java.lang.String> requireAttestationsBy) {

clients/google-api-services-binaryauthorization/v1/2.0.0/com/google/api/services/binaryauthorization/v1/model/Policy.java

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,11 @@ public final class Policy extends com.google.api.client.json.GenericJson {
4646
}
4747

4848
/**
49-
* Optional. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can be
50-
* at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-
49+
* Optional. A valid policy has only one of the following rule maps non-empty, i.e. only one of
50+
* `cluster_admission_rules`, `kubernetes_namespace_admission_rules`,
51+
* `kubernetes_service_account_admission_rules`, or `istio_service_identity_admission_rules` can
52+
* be non-empty. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can
53+
* be at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-
5154
* central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see
5255
* https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
5356
* The value may be {@code null}.
@@ -172,8 +175,11 @@ public Policy setAdmissionWhitelistPatterns(java.util.List<AdmissionWhitelistPat
172175
}
173176

174177
/**
175-
* Optional. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can be
176-
* at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-
178+
* Optional. A valid policy has only one of the following rule maps non-empty, i.e. only one of
179+
* `cluster_admission_rules`, `kubernetes_namespace_admission_rules`,
180+
* `kubernetes_service_account_admission_rules`, or `istio_service_identity_admission_rules` can
181+
* be non-empty. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can
182+
* be at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-
177183
* central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see
178184
* https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
179185
* @return value or {@code null} for none
@@ -183,8 +189,11 @@ public java.util.Map<String, AdmissionRule> getClusterAdmissionRules() {
183189
}
184190

185191
/**
186-
* Optional. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can be
187-
* at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-
192+
* Optional. A valid policy has only one of the following rule maps non-empty, i.e. only one of
193+
* `cluster_admission_rules`, `kubernetes_namespace_admission_rules`,
194+
* `kubernetes_service_account_admission_rules`, or `istio_service_identity_admission_rules` can
195+
* be non-empty. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can
196+
* be at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-
188197
* central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see
189198
* https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
190199
* @param clusterAdmissionRules clusterAdmissionRules or {@code null} for none

clients/google-api-services-binaryauthorization/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-binaryauthorization</artifactId>
11-
<version>v1-rev20241115-2.0.0</version>
12-
<name>Binary Authorization API v1-rev20241115-2.0.0</name>
11+
<version>v1-rev20250117-2.0.0</version>
12+
<name>Binary Authorization API v1-rev20250117-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-binaryauthorization/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-binaryauthorization</artifactId>
25-
<version>v1-rev20241115-2.0.0</version>
25+
<version>v1-rev20250117-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-binaryauthorization:v1-rev20241115-2.0.0'
38+
implementation 'com.google.apis:google-api-services-binaryauthorization:v1-rev20250117-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)