Skip to content

Commit 8c6e71c

Browse files
1 parent 039f0ce commit 8c6e71c

25 files changed

+3389
-6
lines changed

clients/google-api-services-clouddeploy/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-clouddeploy</artifactId>
25-
<version>v1-rev20240809-2.0.0</version>
25+
<version>v1-rev20240920-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-clouddeploy:v1-rev20240809-2.0.0'
38+
implementation 'com.google.apis:google-api-services-clouddeploy:v1-rev20240920-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/CloudDeploy.java

Lines changed: 1189 additions & 0 deletions
Large diffs are not rendered by default.

clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/AdvanceRolloutRequest.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,40 @@
2929
@SuppressWarnings("javadoc")
3030
public final class AdvanceRolloutRequest extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Optional. Deploy policies to override. Format is
34+
* `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<java.lang.String> overrideDeployPolicy;
39+
3240
/**
3341
* Required. The phase ID to advance the `Rollout` to.
3442
* The value may be {@code null}.
3543
*/
3644
@com.google.api.client.util.Key
3745
private java.lang.String phaseId;
3846

47+
/**
48+
* Optional. Deploy policies to override. Format is
49+
* `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.util.List<java.lang.String> getOverrideDeployPolicy() {
53+
return overrideDeployPolicy;
54+
}
55+
56+
/**
57+
* Optional. Deploy policies to override. Format is
58+
* `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
59+
* @param overrideDeployPolicy overrideDeployPolicy or {@code null} for none
60+
*/
61+
public AdvanceRolloutRequest setOverrideDeployPolicy(java.util.List<java.lang.String> overrideDeployPolicy) {
62+
this.overrideDeployPolicy = overrideDeployPolicy;
63+
return this;
64+
}
65+
3966
/**
4067
* Required. The phase ID to advance the `Rollout` to.
4168
* @return value or {@code null} for none

clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/ApproveRolloutRequest.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ public final class ApproveRolloutRequest extends com.google.api.client.json.Gene
3636
@com.google.api.client.util.Key
3737
private java.lang.Boolean approved;
3838

39+
/**
40+
* Optional. Deploy policies to override. Format is
41+
* `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<java.lang.String> overrideDeployPolicy;
46+
3947
/**
4048
* Required. True = approve; false = reject
4149
* @return value or {@code null} for none
@@ -53,6 +61,25 @@ public ApproveRolloutRequest setApproved(java.lang.Boolean approved) {
5361
return this;
5462
}
5563

64+
/**
65+
* Optional. Deploy policies to override. Format is
66+
* `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
67+
* @return value or {@code null} for none
68+
*/
69+
public java.util.List<java.lang.String> getOverrideDeployPolicy() {
70+
return overrideDeployPolicy;
71+
}
72+
73+
/**
74+
* Optional. Deploy policies to override. Format is
75+
* `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
76+
* @param overrideDeployPolicy overrideDeployPolicy or {@code null} for none
77+
*/
78+
public ApproveRolloutRequest setOverrideDeployPolicy(java.util.List<java.lang.String> overrideDeployPolicy) {
79+
this.overrideDeployPolicy = overrideDeployPolicy;
80+
return this;
81+
}
82+
5683
@Override
5784
public ApproveRolloutRequest set(String fieldName, Object value) {
5885
return (ApproveRolloutRequest) super.set(fieldName, value);

clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/AutomationRun.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ public final class AutomationRun extends com.google.api.client.json.GenericJson
8383
@com.google.api.client.util.Key
8484
private java.lang.String name;
8585

86+
/**
87+
* Output only. Contains information about what policies prevented the `AutomationRun` to proceed.
88+
* The value may be {@code null}.
89+
*/
90+
@com.google.api.client.util.Key
91+
private PolicyViolation policyViolation;
92+
8693
/**
8794
* Output only. Promotes a release to a specified 'Target'.
8895
* The value may be {@code null}.
@@ -277,6 +284,23 @@ public AutomationRun setName(java.lang.String name) {
277284
return this;
278285
}
279286

287+
/**
288+
* Output only. Contains information about what policies prevented the `AutomationRun` to proceed.
289+
* @return value or {@code null} for none
290+
*/
291+
public PolicyViolation getPolicyViolation() {
292+
return policyViolation;
293+
}
294+
295+
/**
296+
* Output only. Contains information about what policies prevented the `AutomationRun` to proceed.
297+
* @param policyViolation policyViolation or {@code null} for none
298+
*/
299+
public AutomationRun setPolicyViolation(PolicyViolation policyViolation) {
300+
this.policyViolation = policyViolation;
301+
return this;
302+
}
303+
280304
/**
281305
* Output only. Promotes a release to a specified 'Target'.
282306
* @return value or {@code null} for none

clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CancelRolloutRequest.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,33 @@
2929
@SuppressWarnings("javadoc")
3030
public final class CancelRolloutRequest extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Optional. Deploy policies to override. Format is
34+
* `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<java.lang.String> overrideDeployPolicy;
39+
40+
/**
41+
* Optional. Deploy policies to override. Format is
42+
* `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
43+
* @return value or {@code null} for none
44+
*/
45+
public java.util.List<java.lang.String> getOverrideDeployPolicy() {
46+
return overrideDeployPolicy;
47+
}
48+
49+
/**
50+
* Optional. Deploy policies to override. Format is
51+
* `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
52+
* @param overrideDeployPolicy overrideDeployPolicy or {@code null} for none
53+
*/
54+
public CancelRolloutRequest setOverrideDeployPolicy(java.util.List<java.lang.String> overrideDeployPolicy) {
55+
this.overrideDeployPolicy = overrideDeployPolicy;
56+
return this;
57+
}
58+
3259
@Override
3360
public CancelRolloutRequest set(String fieldName, Object value) {
3461
return (CancelRolloutRequest) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.clouddeploy.v1.model;
18+
19+
/**
20+
* Contains criteria for selecting DeliveryPipelines.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Deploy API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class DeliveryPipelineAttribute extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* ID of the `DeliveryPipeline`. The value of this field could be one of the following: * The last
34+
* segment of a pipeline name * "*", all delivery pipelines in a location
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String id;
39+
40+
/**
41+
* DeliveryPipeline labels.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.Map<String, java.lang.String> labels;
46+
47+
/**
48+
* ID of the `DeliveryPipeline`. The value of this field could be one of the following: * The last
49+
* segment of a pipeline name * "*", all delivery pipelines in a location
50+
* @return value or {@code null} for none
51+
*/
52+
public java.lang.String getId() {
53+
return id;
54+
}
55+
56+
/**
57+
* ID of the `DeliveryPipeline`. The value of this field could be one of the following: * The last
58+
* segment of a pipeline name * "*", all delivery pipelines in a location
59+
* @param id id or {@code null} for none
60+
*/
61+
public DeliveryPipelineAttribute setId(java.lang.String id) {
62+
this.id = id;
63+
return this;
64+
}
65+
66+
/**
67+
* DeliveryPipeline labels.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.util.Map<String, java.lang.String> getLabels() {
71+
return labels;
72+
}
73+
74+
/**
75+
* DeliveryPipeline labels.
76+
* @param labels labels or {@code null} for none
77+
*/
78+
public DeliveryPipelineAttribute setLabels(java.util.Map<String, java.lang.String> labels) {
79+
this.labels = labels;
80+
return this;
81+
}
82+
83+
@Override
84+
public DeliveryPipelineAttribute set(String fieldName, Object value) {
85+
return (DeliveryPipelineAttribute) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public DeliveryPipelineAttribute clone() {
90+
return (DeliveryPipelineAttribute) super.clone();
91+
}
92+
93+
}

0 commit comments

Comments
 (0)