Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-binaryauthorization</artifactId>
<version>v1beta1-rev20260703-2.0.0</version>
<version>v1beta1-rev20261016-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-binaryauthorization:v1beta1-rev20260703-2.0.0'
implementation 'com.google.apis:google-api-services-binaryauthorization:v1beta1-rev20261016-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ public final class AdmissionRule extends com.google.api.client.json.GenericJson
private java.lang.String evaluationMode;

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

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

/**
* Optional. The resource names of the attestors that must attest to a container image, in the
* format `projects/attestors`. Each attestor must exist before a policy can reference it. To add
* an attestor to a policy the principal issuing the policy change request must be able to read
* the attestor resource. Note: this field must be non-empty when the evaluation_mode field
* specifies REQUIRE_ATTESTATION, otherwise it must be empty.
* @param requireAttestationsBy requireAttestationsBy or {@code null} for none
*/
public AdmissionRule setRequireAttestationsBy(java.util.List<java.lang.String> requireAttestationsBy) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,13 @@ public final class Policy extends com.google.api.client.json.GenericJson {
}

/**
* Optional. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can be
* at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-
* central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see
* https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
* Optional. A valid Policy has only one of the following rule maps non-empty, i.e. only one of
* cluster_admission_rules, kubernetes_service_account_admission_rules or
* istio_service_identity_admission_rules can be non-empty. Per-cluster admission rules. Cluster
* spec format: `location.clusterId`. There can be at most one admission rule per cluster spec. A
* `location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-central1). For
* `clusterId` syntax restrictions see https://cloud.google.com/container-
* engine/reference/rest/v1/projects.zones.clusters.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -172,21 +175,27 @@ public Policy setAdmissionWhitelistPatterns(java.util.List<AdmissionWhitelistPat
}

/**
* Optional. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can be
* at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-
* central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see
* https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
* Optional. A valid Policy has only one of the following rule maps non-empty, i.e. only one of
* cluster_admission_rules, kubernetes_service_account_admission_rules or
* istio_service_identity_admission_rules can be non-empty. Per-cluster admission rules. Cluster
* spec format: `location.clusterId`. There can be at most one admission rule per cluster spec. A
* `location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-central1). For
* `clusterId` syntax restrictions see https://cloud.google.com/container-
* engine/reference/rest/v1/projects.zones.clusters.
* @return value or {@code null} for none
*/
public java.util.Map<String, AdmissionRule> getClusterAdmissionRules() {
return clusterAdmissionRules;
}

/**
* Optional. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can be
* at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-
* central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see
* https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
* Optional. A valid Policy has only one of the following rule maps non-empty, i.e. only one of
* cluster_admission_rules, kubernetes_service_account_admission_rules or
* istio_service_identity_admission_rules can be non-empty. Per-cluster admission rules. Cluster
* spec format: `location.clusterId`. There can be at most one admission rule per cluster spec. A
* `location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-central1). For
* `clusterId` syntax restrictions see https://cloud.google.com/container-
* engine/reference/rest/v1/projects.zones.clusters.
* @param clusterAdmissionRules clusterAdmissionRules or {@code null} for none
*/
public Policy setClusterAdmissionRules(java.util.Map<String, AdmissionRule> clusterAdmissionRules) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-binaryauthorization</artifactId>
<version>v1beta1-rev20260703-2.0.0</version>
<name>Binary Authorization API v1beta1-rev20260703-2.0.0</name>
<version>v1beta1-rev20261016-2.0.0</version>
<name>Binary Authorization API v1beta1-rev20261016-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-binaryauthorization</artifactId>
<version>v1beta1-rev20260703-2.0.0</version>
<version>v1beta1-rev20261016-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-binaryauthorization:v1beta1-rev20260703-2.0.0'
implementation 'com.google.apis:google-api-services-binaryauthorization:v1beta1-rev20261016-2.0.0'
}
```

Expand Down
Loading