Skip to content

Commit 9b9a921

Browse files
1 parent 43b3378 commit 9b9a921

File tree

9 files changed

+463
-134
lines changed

9 files changed

+463
-134
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-rev20240614-2.0.0</version>
25+
<version>v1-rev20240728-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-rev20240614-2.0.0'
38+
implementation 'com.google.apis:google-api-services-clouddeploy:v1-rev20240728-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: 123 additions & 126 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
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+
* Payload proto for "clouddeploy.googleapis.com/customtargettype_notification" Platform Log event
21+
* that describes the failure to send a custom target type status change Pub/Sub notification.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Cloud Deploy API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class CustomTargetTypeNotificationEvent extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The name of the `CustomTargetType`.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String customTargetType;
39+
40+
/**
41+
* Unique identifier of the `CustomTargetType`.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String customTargetTypeUid;
46+
47+
/**
48+
* Debug message for when a notification fails to send.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String message;
53+
54+
/**
55+
* Type of this notification, e.g. for a Pub/Sub failure.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.String type;
60+
61+
/**
62+
* The name of the `CustomTargetType`.
63+
* @return value or {@code null} for none
64+
*/
65+
public java.lang.String getCustomTargetType() {
66+
return customTargetType;
67+
}
68+
69+
/**
70+
* The name of the `CustomTargetType`.
71+
* @param customTargetType customTargetType or {@code null} for none
72+
*/
73+
public CustomTargetTypeNotificationEvent setCustomTargetType(java.lang.String customTargetType) {
74+
this.customTargetType = customTargetType;
75+
return this;
76+
}
77+
78+
/**
79+
* Unique identifier of the `CustomTargetType`.
80+
* @return value or {@code null} for none
81+
*/
82+
public java.lang.String getCustomTargetTypeUid() {
83+
return customTargetTypeUid;
84+
}
85+
86+
/**
87+
* Unique identifier of the `CustomTargetType`.
88+
* @param customTargetTypeUid customTargetTypeUid or {@code null} for none
89+
*/
90+
public CustomTargetTypeNotificationEvent setCustomTargetTypeUid(java.lang.String customTargetTypeUid) {
91+
this.customTargetTypeUid = customTargetTypeUid;
92+
return this;
93+
}
94+
95+
/**
96+
* Debug message for when a notification fails to send.
97+
* @return value or {@code null} for none
98+
*/
99+
public java.lang.String getMessage() {
100+
return message;
101+
}
102+
103+
/**
104+
* Debug message for when a notification fails to send.
105+
* @param message message or {@code null} for none
106+
*/
107+
public CustomTargetTypeNotificationEvent setMessage(java.lang.String message) {
108+
this.message = message;
109+
return this;
110+
}
111+
112+
/**
113+
* Type of this notification, e.g. for a Pub/Sub failure.
114+
* @return value or {@code null} for none
115+
*/
116+
public java.lang.String getType() {
117+
return type;
118+
}
119+
120+
/**
121+
* Type of this notification, e.g. for a Pub/Sub failure.
122+
* @param type type or {@code null} for none
123+
*/
124+
public CustomTargetTypeNotificationEvent setType(java.lang.String type) {
125+
this.type = type;
126+
return this;
127+
}
128+
129+
@Override
130+
public CustomTargetTypeNotificationEvent set(String fieldName, Object value) {
131+
return (CustomTargetTypeNotificationEvent) super.set(fieldName, value);
132+
}
133+
134+
@Override
135+
public CustomTargetTypeNotificationEvent clone() {
136+
return (CustomTargetTypeNotificationEvent) super.clone();
137+
}
138+
139+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
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+
* Payload proto for "clouddeploy.googleapis.com/deploypolicy_notification". Platform Log event that
21+
* describes the failure to send a pub/sub notification when there is a DeployPolicy status change.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Cloud Deploy API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class DeployPolicyNotificationEvent extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The name of the `DeployPolicy`.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String deployPolicy;
39+
40+
/**
41+
* Unique identifier of the deploy policy.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String deployPolicyUid;
46+
47+
/**
48+
* Debug message for when a deploy policy fails to send a pub/sub notification.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String message;
53+
54+
/**
55+
* Type of this notification, e.g. for a Pub/Sub failure.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.String type;
60+
61+
/**
62+
* The name of the `DeployPolicy`.
63+
* @return value or {@code null} for none
64+
*/
65+
public java.lang.String getDeployPolicy() {
66+
return deployPolicy;
67+
}
68+
69+
/**
70+
* The name of the `DeployPolicy`.
71+
* @param deployPolicy deployPolicy or {@code null} for none
72+
*/
73+
public DeployPolicyNotificationEvent setDeployPolicy(java.lang.String deployPolicy) {
74+
this.deployPolicy = deployPolicy;
75+
return this;
76+
}
77+
78+
/**
79+
* Unique identifier of the deploy policy.
80+
* @return value or {@code null} for none
81+
*/
82+
public java.lang.String getDeployPolicyUid() {
83+
return deployPolicyUid;
84+
}
85+
86+
/**
87+
* Unique identifier of the deploy policy.
88+
* @param deployPolicyUid deployPolicyUid or {@code null} for none
89+
*/
90+
public DeployPolicyNotificationEvent setDeployPolicyUid(java.lang.String deployPolicyUid) {
91+
this.deployPolicyUid = deployPolicyUid;
92+
return this;
93+
}
94+
95+
/**
96+
* Debug message for when a deploy policy fails to send a pub/sub notification.
97+
* @return value or {@code null} for none
98+
*/
99+
public java.lang.String getMessage() {
100+
return message;
101+
}
102+
103+
/**
104+
* Debug message for when a deploy policy fails to send a pub/sub notification.
105+
* @param message message or {@code null} for none
106+
*/
107+
public DeployPolicyNotificationEvent setMessage(java.lang.String message) {
108+
this.message = message;
109+
return this;
110+
}
111+
112+
/**
113+
* Type of this notification, e.g. for a Pub/Sub failure.
114+
* @return value or {@code null} for none
115+
*/
116+
public java.lang.String getType() {
117+
return type;
118+
}
119+
120+
/**
121+
* Type of this notification, e.g. for a Pub/Sub failure.
122+
* @param type type or {@code null} for none
123+
*/
124+
public DeployPolicyNotificationEvent setType(java.lang.String type) {
125+
this.type = type;
126+
return this;
127+
}
128+
129+
@Override
130+
public DeployPolicyNotificationEvent set(String fieldName, Object value) {
131+
return (DeployPolicyNotificationEvent) super.set(fieldName, value);
132+
}
133+
134+
@Override
135+
public DeployPolicyNotificationEvent clone() {
136+
return (DeployPolicyNotificationEvent) super.clone();
137+
}
138+
139+
}

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ public final class GatewayServiceMesh extends com.google.api.client.json.Generic
4444
@com.google.api.client.util.Key
4545
private java.lang.String httpRoute;
4646

47+
/**
48+
* Optional. The label to use when selecting Pods for the Deployment and Service resources. This
49+
* label must already be present in both resources.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String podSelectorLabel;
54+
4755
/**
4856
* Optional. The time to wait for route updates to propagate. The maximum configurable time is 3
4957
* hours, in seconds format. If unspecified, there is no wait time.
@@ -104,6 +112,25 @@ public GatewayServiceMesh setHttpRoute(java.lang.String httpRoute) {
104112
return this;
105113
}
106114

115+
/**
116+
* Optional. The label to use when selecting Pods for the Deployment and Service resources. This
117+
* label must already be present in both resources.
118+
* @return value or {@code null} for none
119+
*/
120+
public java.lang.String getPodSelectorLabel() {
121+
return podSelectorLabel;
122+
}
123+
124+
/**
125+
* Optional. The label to use when selecting Pods for the Deployment and Service resources. This
126+
* label must already be present in both resources.
127+
* @param podSelectorLabel podSelectorLabel or {@code null} for none
128+
*/
129+
public GatewayServiceMesh setPodSelectorLabel(java.lang.String podSelectorLabel) {
130+
this.podSelectorLabel = podSelectorLabel;
131+
return this;
132+
}
133+
107134
/**
108135
* Optional. The time to wait for route updates to propagate. The maximum configurable time is 3
109136
* hours, in seconds format. If unspecified, there is no wait time.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
package com.google.api.services.clouddeploy.v1.model;
1818

1919
/**
20-
* `PromoteRelease` rule will automatically promote a release from the current target to a specified
21-
* target.
20+
* The `PromoteRelease` rule will automatically promote a release from the current target to a
21+
* specified target.
2222
*
2323
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2424
* transmitted over HTTP when working with the Cloud Deploy API. For a detailed explanation see:

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ public final class ServiceNetworking extends com.google.api.client.json.GenericJ
4545
@com.google.api.client.util.Key
4646
private java.lang.Boolean disablePodOverprovisioning;
4747

48+
/**
49+
* Optional. The label to use when selecting Pods for the Deployment resource. This label must
50+
* already be present in the Deployment.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.String podSelectorLabel;
55+
4856
/**
4957
* Required. Name of the Kubernetes Service.
5058
* The value may be {@code null}.
@@ -90,6 +98,25 @@ public ServiceNetworking setDisablePodOverprovisioning(java.lang.Boolean disable
9098
return this;
9199
}
92100

101+
/**
102+
* Optional. The label to use when selecting Pods for the Deployment resource. This label must
103+
* already be present in the Deployment.
104+
* @return value or {@code null} for none
105+
*/
106+
public java.lang.String getPodSelectorLabel() {
107+
return podSelectorLabel;
108+
}
109+
110+
/**
111+
* Optional. The label to use when selecting Pods for the Deployment resource. This label must
112+
* already be present in the Deployment.
113+
* @param podSelectorLabel podSelectorLabel or {@code null} for none
114+
*/
115+
public ServiceNetworking setPodSelectorLabel(java.lang.String podSelectorLabel) {
116+
this.podSelectorLabel = podSelectorLabel;
117+
return this;
118+
}
119+
93120
/**
94121
* Required. Name of the Kubernetes Service.
95122
* @return value or {@code null} for none

0 commit comments

Comments
 (0)