Skip to content

Commit 3859a00

Browse files
1 parent 6392079 commit 3859a00

40 files changed

+6720
-125
lines changed

clients/google-api-services-cloudfunctions/v1/1.31.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-cloudfunctions</artifactId>
25-
<version>v1-rev20220509-1.32.1</version>
25+
<version>v1-rev20220707-1.32.1</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-cloudfunctions:v1-rev20220509-1.32.1'
38+
implementation 'com.google.apis:google-api-services-cloudfunctions:v1-rev20220707-1.32.1'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,264 @@
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.cloudfunctions.v1.model;
18+
19+
/**
20+
* Represents the metadata of the long-running operation.
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 Functions 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 GoogleCloudFunctionsV2OperationMetadata extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* API version used to start the operation.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String apiVersion;
38+
39+
/**
40+
* Identifies whether the user has requested cancellation of the operation. Operations that have
41+
* successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1,
42+
* corresponding to `Code.CANCELLED`.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.Boolean cancelRequested;
47+
48+
/**
49+
* The time the operation was created.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private String createTime;
54+
55+
/**
56+
* The time the operation finished running.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private String endTime;
61+
62+
/**
63+
* The original request that started the operation.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private java.util.Map<String, java.lang.Object> requestResource;
68+
69+
/**
70+
* Mechanism for reporting in-progress stages
71+
* The value may be {@code null}.
72+
*/
73+
@com.google.api.client.util.Key
74+
private java.util.List<GoogleCloudFunctionsV2Stage> stages;
75+
76+
/**
77+
* Human-readable status of the operation, if any.
78+
* The value may be {@code null}.
79+
*/
80+
@com.google.api.client.util.Key
81+
private java.lang.String statusDetail;
82+
83+
/**
84+
* Server-defined resource path for the target of the operation.
85+
* The value may be {@code null}.
86+
*/
87+
@com.google.api.client.util.Key
88+
private java.lang.String target;
89+
90+
/**
91+
* Name of the verb executed by the operation.
92+
* The value may be {@code null}.
93+
*/
94+
@com.google.api.client.util.Key
95+
private java.lang.String verb;
96+
97+
/**
98+
* API version used to start the operation.
99+
* @return value or {@code null} for none
100+
*/
101+
public java.lang.String getApiVersion() {
102+
return apiVersion;
103+
}
104+
105+
/**
106+
* API version used to start the operation.
107+
* @param apiVersion apiVersion or {@code null} for none
108+
*/
109+
public GoogleCloudFunctionsV2OperationMetadata setApiVersion(java.lang.String apiVersion) {
110+
this.apiVersion = apiVersion;
111+
return this;
112+
}
113+
114+
/**
115+
* Identifies whether the user has requested cancellation of the operation. Operations that have
116+
* successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1,
117+
* corresponding to `Code.CANCELLED`.
118+
* @return value or {@code null} for none
119+
*/
120+
public java.lang.Boolean getCancelRequested() {
121+
return cancelRequested;
122+
}
123+
124+
/**
125+
* Identifies whether the user has requested cancellation of the operation. Operations that have
126+
* successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1,
127+
* corresponding to `Code.CANCELLED`.
128+
* @param cancelRequested cancelRequested or {@code null} for none
129+
*/
130+
public GoogleCloudFunctionsV2OperationMetadata setCancelRequested(java.lang.Boolean cancelRequested) {
131+
this.cancelRequested = cancelRequested;
132+
return this;
133+
}
134+
135+
/**
136+
* The time the operation was created.
137+
* @return value or {@code null} for none
138+
*/
139+
public String getCreateTime() {
140+
return createTime;
141+
}
142+
143+
/**
144+
* The time the operation was created.
145+
* @param createTime createTime or {@code null} for none
146+
*/
147+
public GoogleCloudFunctionsV2OperationMetadata setCreateTime(String createTime) {
148+
this.createTime = createTime;
149+
return this;
150+
}
151+
152+
/**
153+
* The time the operation finished running.
154+
* @return value or {@code null} for none
155+
*/
156+
public String getEndTime() {
157+
return endTime;
158+
}
159+
160+
/**
161+
* The time the operation finished running.
162+
* @param endTime endTime or {@code null} for none
163+
*/
164+
public GoogleCloudFunctionsV2OperationMetadata setEndTime(String endTime) {
165+
this.endTime = endTime;
166+
return this;
167+
}
168+
169+
/**
170+
* The original request that started the operation.
171+
* @return value or {@code null} for none
172+
*/
173+
public java.util.Map<String, java.lang.Object> getRequestResource() {
174+
return requestResource;
175+
}
176+
177+
/**
178+
* The original request that started the operation.
179+
* @param requestResource requestResource or {@code null} for none
180+
*/
181+
public GoogleCloudFunctionsV2OperationMetadata setRequestResource(java.util.Map<String, java.lang.Object> requestResource) {
182+
this.requestResource = requestResource;
183+
return this;
184+
}
185+
186+
/**
187+
* Mechanism for reporting in-progress stages
188+
* @return value or {@code null} for none
189+
*/
190+
public java.util.List<GoogleCloudFunctionsV2Stage> getStages() {
191+
return stages;
192+
}
193+
194+
/**
195+
* Mechanism for reporting in-progress stages
196+
* @param stages stages or {@code null} for none
197+
*/
198+
public GoogleCloudFunctionsV2OperationMetadata setStages(java.util.List<GoogleCloudFunctionsV2Stage> stages) {
199+
this.stages = stages;
200+
return this;
201+
}
202+
203+
/**
204+
* Human-readable status of the operation, if any.
205+
* @return value or {@code null} for none
206+
*/
207+
public java.lang.String getStatusDetail() {
208+
return statusDetail;
209+
}
210+
211+
/**
212+
* Human-readable status of the operation, if any.
213+
* @param statusDetail statusDetail or {@code null} for none
214+
*/
215+
public GoogleCloudFunctionsV2OperationMetadata setStatusDetail(java.lang.String statusDetail) {
216+
this.statusDetail = statusDetail;
217+
return this;
218+
}
219+
220+
/**
221+
* Server-defined resource path for the target of the operation.
222+
* @return value or {@code null} for none
223+
*/
224+
public java.lang.String getTarget() {
225+
return target;
226+
}
227+
228+
/**
229+
* Server-defined resource path for the target of the operation.
230+
* @param target target or {@code null} for none
231+
*/
232+
public GoogleCloudFunctionsV2OperationMetadata setTarget(java.lang.String target) {
233+
this.target = target;
234+
return this;
235+
}
236+
237+
/**
238+
* Name of the verb executed by the operation.
239+
* @return value or {@code null} for none
240+
*/
241+
public java.lang.String getVerb() {
242+
return verb;
243+
}
244+
245+
/**
246+
* Name of the verb executed by the operation.
247+
* @param verb verb or {@code null} for none
248+
*/
249+
public GoogleCloudFunctionsV2OperationMetadata setVerb(java.lang.String verb) {
250+
this.verb = verb;
251+
return this;
252+
}
253+
254+
@Override
255+
public GoogleCloudFunctionsV2OperationMetadata set(String fieldName, Object value) {
256+
return (GoogleCloudFunctionsV2OperationMetadata) super.set(fieldName, value);
257+
}
258+
259+
@Override
260+
public GoogleCloudFunctionsV2OperationMetadata clone() {
261+
return (GoogleCloudFunctionsV2OperationMetadata) super.clone();
262+
}
263+
264+
}

0 commit comments

Comments
 (0)