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/VerificationRule.java
+33Lines changed: 33 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,16 @@ public final class VerificationRule extends com.google.api.client.json.GenericJs
48
48
@com.google.api.client.util.Key
49
49
privatejava.lang.BooleanconfigBasedBuildRequired;
50
50
51
+
/**
52
+
* Optional. A CEL expression for specifying custom constraints on the provenance payload. This
53
+
* can be used when users want to specify expectations on provenance fields that are not covered
54
+
* by the general check. For example, users can use this field to require that certain parameters
55
+
* should never be used during the build process.
56
+
* The value may be {@code null}.
57
+
*/
58
+
@com.google.api.client.util.Key
59
+
privatejava.lang.StringcustomConstraints;
60
+
51
61
/**
52
62
* Each verification rule is used for evaluation against provenances generated by a specific
53
63
* builder (group). For some of the builders, such as the Google Cloud Build, users don't need to
@@ -112,6 +122,29 @@ public VerificationRule setConfigBasedBuildRequired(java.lang.Boolean configBase
112
122
returnthis;
113
123
}
114
124
125
+
/**
126
+
* Optional. A CEL expression for specifying custom constraints on the provenance payload. This
127
+
* can be used when users want to specify expectations on provenance fields that are not covered
128
+
* by the general check. For example, users can use this field to require that certain parameters
129
+
* should never be used during the build process.
130
+
* @return value or {@code null} for none
131
+
*/
132
+
publicjava.lang.StringgetCustomConstraints() {
133
+
returncustomConstraints;
134
+
}
135
+
136
+
/**
137
+
* Optional. A CEL expression for specifying custom constraints on the provenance payload. This
138
+
* can be used when users want to specify expectations on provenance fields that are not covered
139
+
* by the general check. For example, users can use this field to require that certain parameters
140
+
* should never be used during the build process.
141
+
* @param customConstraints customConstraints or {@code null} for none
0 commit comments