Skip to content

Commit 470cbdd

Browse files
1 parent 728970e commit 470cbdd

File tree

6 files changed

+378
-6
lines changed

6 files changed

+378
-6
lines changed

clients/google-api-services-displayvideo/v3/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-displayvideo</artifactId>
25-
<version>v3-rev20250124-2.0.0</version>
25+
<version>v3-rev20250129-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-displayvideo:v3-rev20250124-2.0.0'
38+
implementation 'com.google.apis:google-api-services-displayvideo:v3-rev20250129-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-displayvideo/v3/2.0.0/com/google/api/services/displayvideo/v3/DisplayVideo.java

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30394,6 +30394,190 @@ public Get set(String parameterName, Object value) {
3039430394
}
3039530395
}
3039630396

30397+
/**
30398+
* An accessor for creating requests from the Sdfuploadtasks collection.
30399+
*
30400+
* <p>The typical use is:</p>
30401+
* <pre>
30402+
* {@code DisplayVideo displayvideo = new DisplayVideo(...);}
30403+
* {@code DisplayVideo.Sdfuploadtasks.List request = displayvideo.sdfuploadtasks().list(parameters ...)}
30404+
* </pre>
30405+
*
30406+
* @return the resource collection
30407+
*/
30408+
public Sdfuploadtasks sdfuploadtasks() {
30409+
return new Sdfuploadtasks();
30410+
}
30411+
30412+
/**
30413+
* The "sdfuploadtasks" collection of methods.
30414+
*/
30415+
public class Sdfuploadtasks {
30416+
30417+
/**
30418+
* An accessor for creating requests from the Operations collection.
30419+
*
30420+
* <p>The typical use is:</p>
30421+
* <pre>
30422+
* {@code DisplayVideo displayvideo = new DisplayVideo(...);}
30423+
* {@code DisplayVideo.Operations.List request = displayvideo.operations().list(parameters ...)}
30424+
* </pre>
30425+
*
30426+
* @return the resource collection
30427+
*/
30428+
public Operations operations() {
30429+
return new Operations();
30430+
}
30431+
30432+
/**
30433+
* The "operations" collection of methods.
30434+
*/
30435+
public class Operations {
30436+
30437+
/**
30438+
* Gets the latest state of an asynchronous SDF download task operation. Clients should poll this
30439+
* method at intervals of 30 seconds.
30440+
*
30441+
* Create a request for the method "operations.get".
30442+
*
30443+
* This request holds the parameters needed by the displayvideo server. After setting any optional
30444+
* parameters, call the {@link Get#execute()} method to invoke the remote operation.
30445+
*
30446+
* @param name The name of the operation resource.
30447+
* @return the request
30448+
*/
30449+
public Get get(java.lang.String name) throws java.io.IOException {
30450+
Get result = new Get(name);
30451+
initialize(result);
30452+
return result;
30453+
}
30454+
30455+
public class Get extends DisplayVideoRequest<com.google.api.services.displayvideo.v3.model.Operation> {
30456+
30457+
private static final String REST_PATH = "v3/{+name}";
30458+
30459+
private final java.util.regex.Pattern NAME_PATTERN =
30460+
java.util.regex.Pattern.compile("^sdfuploadtasks/operations/[^/]+$");
30461+
30462+
/**
30463+
* Gets the latest state of an asynchronous SDF download task operation. Clients should poll this
30464+
* method at intervals of 30 seconds.
30465+
*
30466+
* Create a request for the method "operations.get".
30467+
*
30468+
* This request holds the parameters needed by the the displayvideo server. After setting any
30469+
* optional parameters, call the {@link Get#execute()} method to invoke the remote operation. <p>
30470+
* {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
30471+
* must be called to initialize this instance immediately after invoking the constructor. </p>
30472+
*
30473+
* @param name The name of the operation resource.
30474+
* @since 1.13
30475+
*/
30476+
protected Get(java.lang.String name) {
30477+
super(DisplayVideo.this, "GET", REST_PATH, null, com.google.api.services.displayvideo.v3.model.Operation.class);
30478+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
30479+
if (!getSuppressPatternChecks()) {
30480+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
30481+
"Parameter name must conform to the pattern " +
30482+
"^sdfuploadtasks/operations/[^/]+$");
30483+
}
30484+
}
30485+
30486+
@Override
30487+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
30488+
return super.executeUsingHead();
30489+
}
30490+
30491+
@Override
30492+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
30493+
return super.buildHttpRequestUsingHead();
30494+
}
30495+
30496+
@Override
30497+
public Get set$Xgafv(java.lang.String $Xgafv) {
30498+
return (Get) super.set$Xgafv($Xgafv);
30499+
}
30500+
30501+
@Override
30502+
public Get setAccessToken(java.lang.String accessToken) {
30503+
return (Get) super.setAccessToken(accessToken);
30504+
}
30505+
30506+
@Override
30507+
public Get setAlt(java.lang.String alt) {
30508+
return (Get) super.setAlt(alt);
30509+
}
30510+
30511+
@Override
30512+
public Get setCallback(java.lang.String callback) {
30513+
return (Get) super.setCallback(callback);
30514+
}
30515+
30516+
@Override
30517+
public Get setFields(java.lang.String fields) {
30518+
return (Get) super.setFields(fields);
30519+
}
30520+
30521+
@Override
30522+
public Get setKey(java.lang.String key) {
30523+
return (Get) super.setKey(key);
30524+
}
30525+
30526+
@Override
30527+
public Get setOauthToken(java.lang.String oauthToken) {
30528+
return (Get) super.setOauthToken(oauthToken);
30529+
}
30530+
30531+
@Override
30532+
public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
30533+
return (Get) super.setPrettyPrint(prettyPrint);
30534+
}
30535+
30536+
@Override
30537+
public Get setQuotaUser(java.lang.String quotaUser) {
30538+
return (Get) super.setQuotaUser(quotaUser);
30539+
}
30540+
30541+
@Override
30542+
public Get setUploadType(java.lang.String uploadType) {
30543+
return (Get) super.setUploadType(uploadType);
30544+
}
30545+
30546+
@Override
30547+
public Get setUploadProtocol(java.lang.String uploadProtocol) {
30548+
return (Get) super.setUploadProtocol(uploadProtocol);
30549+
}
30550+
30551+
/** The name of the operation resource. */
30552+
@com.google.api.client.util.Key
30553+
private java.lang.String name;
30554+
30555+
/** The name of the operation resource.
30556+
*/
30557+
public java.lang.String getName() {
30558+
return name;
30559+
}
30560+
30561+
/** The name of the operation resource. */
30562+
public Get setName(java.lang.String name) {
30563+
if (!getSuppressPatternChecks()) {
30564+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
30565+
"Parameter name must conform to the pattern " +
30566+
"^sdfuploadtasks/operations/[^/]+$");
30567+
}
30568+
this.name = name;
30569+
return this;
30570+
}
30571+
30572+
@Override
30573+
public Get set(String parameterName, Object value) {
30574+
return (Get) super.set(parameterName, value);
30575+
}
30576+
}
30577+
30578+
}
30579+
}
30580+
3039730581
/**
3039830582
* An accessor for creating requests from the TargetingTypes collection.
3039930583
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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.displayvideo.v3.model;
18+
19+
/**
20+
* Type for the response returned by [SdfUploadTaskService.CreateSdfUploadTask].
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 Display & Video 360 API. For a detailed explanation
24+
* 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 SdfUploadTask extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* A resource name to be used in media.download to Download the script files. Or media.upload to
35+
* Upload the script files. Resource names have the format
36+
* `download/sdfuploadtasks/media/{media_id}`.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String resourceName;
41+
42+
/**
43+
* A resource name to be used in media.download to Download the script files. Or media.upload to
44+
* Upload the script files. Resource names have the format
45+
* `download/sdfuploadtasks/media/{media_id}`.
46+
* @return value or {@code null} for none
47+
*/
48+
public java.lang.String getResourceName() {
49+
return resourceName;
50+
}
51+
52+
/**
53+
* A resource name to be used in media.download to Download the script files. Or media.upload to
54+
* Upload the script files. Resource names have the format
55+
* `download/sdfuploadtasks/media/{media_id}`.
56+
* @param resourceName resourceName or {@code null} for none
57+
*/
58+
public SdfUploadTask setResourceName(java.lang.String resourceName) {
59+
this.resourceName = resourceName;
60+
return this;
61+
}
62+
63+
@Override
64+
public SdfUploadTask set(String fieldName, Object value) {
65+
return (SdfUploadTask) super.set(fieldName, value);
66+
}
67+
68+
@Override
69+
public SdfUploadTask clone() {
70+
return (SdfUploadTask) super.clone();
71+
}
72+
73+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
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.displayvideo.v3.model;
18+
19+
/**
20+
* Type for the metadata returned by [SdfUploadTaskService.CreateSdfUploadTask].
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 Display & Video 360 API. For a detailed explanation
24+
* 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 SdfUploadTaskMetadata extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The time when the operation was created.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private String createTime;
39+
40+
/**
41+
* The time when execution was completed.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private String endTime;
46+
47+
/**
48+
* The SDF version used to execute this upload task.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String version;
53+
54+
/**
55+
* The time when the operation was created.
56+
* @return value or {@code null} for none
57+
*/
58+
public String getCreateTime() {
59+
return createTime;
60+
}
61+
62+
/**
63+
* The time when the operation was created.
64+
* @param createTime createTime or {@code null} for none
65+
*/
66+
public SdfUploadTaskMetadata setCreateTime(String createTime) {
67+
this.createTime = createTime;
68+
return this;
69+
}
70+
71+
/**
72+
* The time when execution was completed.
73+
* @return value or {@code null} for none
74+
*/
75+
public String getEndTime() {
76+
return endTime;
77+
}
78+
79+
/**
80+
* The time when execution was completed.
81+
* @param endTime endTime or {@code null} for none
82+
*/
83+
public SdfUploadTaskMetadata setEndTime(String endTime) {
84+
this.endTime = endTime;
85+
return this;
86+
}
87+
88+
/**
89+
* The SDF version used to execute this upload task.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.String getVersion() {
93+
return version;
94+
}
95+
96+
/**
97+
* The SDF version used to execute this upload task.
98+
* @param version version or {@code null} for none
99+
*/
100+
public SdfUploadTaskMetadata setVersion(java.lang.String version) {
101+
this.version = version;
102+
return this;
103+
}
104+
105+
@Override
106+
public SdfUploadTaskMetadata set(String fieldName, Object value) {
107+
return (SdfUploadTaskMetadata) super.set(fieldName, value);
108+
}
109+
110+
@Override
111+
public SdfUploadTaskMetadata clone() {
112+
return (SdfUploadTaskMetadata) super.clone();
113+
}
114+
115+
}

0 commit comments

Comments
 (0)