Skip to content

Commit b790fbd

Browse files
chore: regenerate binaryauthorization client (#33084)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
1 parent 36f95d3 commit b790fbd

5 files changed

Lines changed: 42 additions & 18 deletions

File tree

‎clients/google-api-services-binaryauthorization/v1beta1/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>v1beta1-rev20260703-2.0.0</version>
25+
<version>v1beta1-rev20261016-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:v1beta1-rev20260703-2.0.0'
38+
implementation 'com.google.apis:google-api-services-binaryauthorization:v1beta1-rev20261016-2.0.0'
3939
}
4040
```
4141

‎clients/google-api-services-binaryauthorization/v1beta1/2.0.0/com/google/api/services/binaryauthorization/v1beta1/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/v1beta1/2.0.0/com/google/api/services/binaryauthorization/v1beta1/model/Policy.java‎

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,13 @@ 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-
51-
* central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see
52-
* https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
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_service_account_admission_rules or
51+
* istio_service_identity_admission_rules can be non-empty. Per-cluster admission rules. Cluster
52+
* spec format: `location.clusterId`. There can be at most one admission rule per cluster spec. A
53+
* `location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-central1). For
54+
* `clusterId` syntax restrictions see https://cloud.google.com/container-
55+
* engine/reference/rest/v1/projects.zones.clusters.
5356
* The value may be {@code null}.
5457
*/
5558
@com.google.api.client.util.Key
@@ -172,21 +175,27 @@ 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-
177-
* central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see
178-
* https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
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_service_account_admission_rules or
180+
* istio_service_identity_admission_rules can be non-empty. Per-cluster admission rules. Cluster
181+
* spec format: `location.clusterId`. There can be at most one admission rule per cluster spec. A
182+
* `location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-central1). For
183+
* `clusterId` syntax restrictions see https://cloud.google.com/container-
184+
* engine/reference/rest/v1/projects.zones.clusters.
179185
* @return value or {@code null} for none
180186
*/
181187
public java.util.Map<String, AdmissionRule> getClusterAdmissionRules() {
182188
return clusterAdmissionRules;
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-
188-
* central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see
189-
* https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
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_service_account_admission_rules or
194+
* istio_service_identity_admission_rules can be non-empty. Per-cluster admission rules. Cluster
195+
* spec format: `location.clusterId`. There can be at most one admission rule per cluster spec. A
196+
* `location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-central1). For
197+
* `clusterId` syntax restrictions see https://cloud.google.com/container-
198+
* engine/reference/rest/v1/projects.zones.clusters.
190199
* @param clusterAdmissionRules clusterAdmissionRules or {@code null} for none
191200
*/
192201
public Policy setClusterAdmissionRules(java.util.Map<String, AdmissionRule> clusterAdmissionRules) {

‎clients/google-api-services-binaryauthorization/v1beta1/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>v1beta1-rev20260703-2.0.0</version>
12-
<name>Binary Authorization API v1beta1-rev20260703-2.0.0</name>
11+
<version>v1beta1-rev20261016-2.0.0</version>
12+
<name>Binary Authorization API v1beta1-rev20261016-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

‎clients/google-api-services-binaryauthorization/v1beta1/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>v1beta1-rev20260703-2.0.0</version>
25+
<version>v1beta1-rev20261016-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:v1beta1-rev20260703-2.0.0'
38+
implementation 'com.google.apis:google-api-services-binaryauthorization:v1beta1-rev20261016-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)