Skip to content

Commit dd2c60b

Browse files
1 parent d97892a commit dd2c60b

File tree

4 files changed

+39
-6
lines changed

4 files changed

+39
-6
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-rev20250117-2.0.0</version>
25+
<version>v1-rev20250311-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-rev20250117-2.0.0'
38+
implementation 'com.google.apis:google-api-services-binaryauthorization:v1-rev20250311-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@ public final class VerificationRule extends com.google.api.client.json.GenericJs
4848
@com.google.api.client.util.Key
4949
private java.lang.Boolean configBasedBuildRequired;
5050

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+
private java.lang.String customConstraints;
60+
5161
/**
5262
* Each verification rule is used for evaluation against provenances generated by a specific
5363
* 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
112122
return this;
113123
}
114124

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+
public java.lang.String getCustomConstraints() {
133+
return customConstraints;
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
142+
*/
143+
public VerificationRule setCustomConstraints(java.lang.String customConstraints) {
144+
this.customConstraints = customConstraints;
145+
return this;
146+
}
147+
115148
/**
116149
* Each verification rule is used for evaluation against provenances generated by a specific
117150
* builder (group). For some of the builders, such as the Google Cloud Build, users don't need to

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-rev20250117-2.0.0</version>
12-
<name>Binary Authorization API v1-rev20250117-2.0.0</name>
11+
<version>v1-rev20250311-2.0.0</version>
12+
<name>Binary Authorization API v1-rev20250311-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-rev20250117-2.0.0</version>
25+
<version>v1-rev20250311-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-rev20250117-2.0.0'
38+
implementation 'com.google.apis:google-api-services-binaryauthorization:v1-rev20250311-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)