You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/google-api-services-binaryauthorization/v1/2.0.0/com/google/api/services/binaryauthorization/v1/model/AdmissionRule.java
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,11 @@ public final class AdmissionRule extends com.google.api.client.json.GenericJson
48
48
privatejava.lang.StringevaluationMode;
49
49
50
50
/**
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.
51
56
* The value may be {@code null}.
52
57
*/
53
58
@com.google.api.client.util.Key
@@ -88,13 +93,23 @@ public AdmissionRule setEvaluationMode(java.lang.String evaluationMode) {
88
93
}
89
94
90
95
/**
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.
Copy file name to clipboardExpand all lines: clients/google-api-services-binaryauthorization/v1/2.0.0/com/google/api/services/binaryauthorization/v1/model/Policy.java
+15-6Lines changed: 15 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -46,8 +46,11 @@ public final class Policy extends com.google.api.client.json.GenericJson {
46
46
}
47
47
48
48
/**
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
0 commit comments