Skip to content

Commit 81f79f4

Browse files
1 parent 37ca477 commit 81f79f4

26 files changed

Lines changed: 1161 additions & 63 deletions

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

‎clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/Aiplatform.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37764,7 +37764,7 @@ public Patch patch(java.lang.String name, com.google.api.services.aiplatform.v1.
3776437764
return result;
3776537765
}
3776637766

37767-
public class Patch extends AiplatformRequest<com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1Agent> {
37767+
public class Patch extends AiplatformRequest<com.google.api.services.aiplatform.v1.model.GoogleLongrunningOperation> {
3776837768

3776937769
private static final String REST_PATH = "v1/{+name}";
3777037770

@@ -37788,7 +37788,7 @@ public class Patch extends AiplatformRequest<com.google.api.services.aiplatform.
3778837788
* @since 1.13
3778937789
*/
3779037790
protected Patch(java.lang.String name, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1Agent content) {
37791-
super(Aiplatform.this, "PATCH", REST_PATH, content, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1Agent.class);
37791+
super(Aiplatform.this, "PATCH", REST_PATH, content, com.google.api.services.aiplatform.v1.model.GoogleLongrunningOperation.class);
3779237792
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
3779337793
if (!getSuppressPatternChecks()) {
3779437794
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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.aiplatform.v1.model;
18+
19+
/**
20+
* Experimental response metadata for video generation.
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 Agent Platform 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 CloudAiLargeModelsVisionExperimentsResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Result metadata from a Pro Edit operation, populated for edit requests.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private CloudAiLargeModelsVisionExperimentsResponseProEditResult proEditResult;
38+
39+
/**
40+
* Result metadata from a Pro Edit operation, populated for edit requests.
41+
* @return value or {@code null} for none
42+
*/
43+
public CloudAiLargeModelsVisionExperimentsResponseProEditResult getProEditResult() {
44+
return proEditResult;
45+
}
46+
47+
/**
48+
* Result metadata from a Pro Edit operation, populated for edit requests.
49+
* @param proEditResult proEditResult or {@code null} for none
50+
*/
51+
public CloudAiLargeModelsVisionExperimentsResponse setProEditResult(CloudAiLargeModelsVisionExperimentsResponseProEditResult proEditResult) {
52+
this.proEditResult = proEditResult;
53+
return this;
54+
}
55+
56+
@Override
57+
public CloudAiLargeModelsVisionExperimentsResponse set(String fieldName, Object value) {
58+
return (CloudAiLargeModelsVisionExperimentsResponse) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public CloudAiLargeModelsVisionExperimentsResponse clone() {
63+
return (CloudAiLargeModelsVisionExperimentsResponse) super.clone();
64+
}
65+
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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.aiplatform.v1.model;
18+
19+
/**
20+
* Result metadata from a Pro Edit 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 Agent Platform 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 CloudAiLargeModelsVisionExperimentsResponseProEditResult extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The output structured prompt produced by this edit.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.Map<String, java.lang.Object> structuredPrompt;
38+
39+
/**
40+
* The output structured prompt produced by this edit.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.util.Map<String, java.lang.Object> getStructuredPrompt() {
44+
return structuredPrompt;
45+
}
46+
47+
/**
48+
* The output structured prompt produced by this edit.
49+
* @param structuredPrompt structuredPrompt or {@code null} for none
50+
*/
51+
public CloudAiLargeModelsVisionExperimentsResponseProEditResult setStructuredPrompt(java.util.Map<String, java.lang.Object> structuredPrompt) {
52+
this.structuredPrompt = structuredPrompt;
53+
return this;
54+
}
55+
56+
@Override
57+
public CloudAiLargeModelsVisionExperimentsResponseProEditResult set(String fieldName, Object value) {
58+
return (CloudAiLargeModelsVisionExperimentsResponseProEditResult) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public CloudAiLargeModelsVisionExperimentsResponseProEditResult clone() {
63+
return (CloudAiLargeModelsVisionExperimentsResponseProEditResult) super.clone();
64+
}
65+
66+
}

‎clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoExperiments.java‎

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

32+
/**
33+
* If false, when a non-subscription customer tries to call an experimental feature, the request
34+
* will be rejected. This field has no effect for subscription customers.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Boolean allowMeteredBilling;
39+
3240
/**
3341
* Optional. If true, anchors the last frame in video generation by generating a custom border
3442
* mask.
@@ -140,6 +148,13 @@ public final class CloudAiLargeModelsVisionGenerateVideoExperiments extends com.
140148
@com.google.api.client.util.Key
141149
private CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig outpaintConfig;
142150

151+
/**
152+
* Configuration for Pro Edit.
153+
* The value may be {@code null}.
154+
*/
155+
@com.google.api.client.util.Key
156+
private CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig proEdit;
157+
143158
/**
144159
* Prompt chunks for "ProModel" prompting. If set, the prompt will not be rewritten, and top-level
145160
* prompt ignored.
@@ -211,6 +226,25 @@ public final class CloudAiLargeModelsVisionGenerateVideoExperiments extends com.
211226
@com.google.api.client.util.Key
212227
private java.lang.Float videoTransformStrength;
213228

229+
/**
230+
* If false, when a non-subscription customer tries to call an experimental feature, the request
231+
* will be rejected. This field has no effect for subscription customers.
232+
* @return value or {@code null} for none
233+
*/
234+
public java.lang.Boolean getAllowMeteredBilling() {
235+
return allowMeteredBilling;
236+
}
237+
238+
/**
239+
* If false, when a non-subscription customer tries to call an experimental feature, the request
240+
* will be rejected. This field has no effect for subscription customers.
241+
* @param allowMeteredBilling allowMeteredBilling or {@code null} for none
242+
*/
243+
public CloudAiLargeModelsVisionGenerateVideoExperiments setAllowMeteredBilling(java.lang.Boolean allowMeteredBilling) {
244+
this.allowMeteredBilling = allowMeteredBilling;
245+
return this;
246+
}
247+
214248
/**
215249
* Optional. If true, anchors the last frame in video generation by generating a custom border
216250
* mask.
@@ -478,6 +512,23 @@ public CloudAiLargeModelsVisionGenerateVideoExperiments setOutpaintConfig(CloudA
478512
return this;
479513
}
480514

515+
/**
516+
* Configuration for Pro Edit.
517+
* @return value or {@code null} for none
518+
*/
519+
public CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig getProEdit() {
520+
return proEdit;
521+
}
522+
523+
/**
524+
* Configuration for Pro Edit.
525+
* @param proEdit proEdit or {@code null} for none
526+
*/
527+
public CloudAiLargeModelsVisionGenerateVideoExperiments setProEdit(CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig proEdit) {
528+
this.proEdit = proEdit;
529+
return this;
530+
}
531+
481532
/**
482533
* Prompt chunks for "ProModel" prompting. If set, the prompt will not be rewritten, and top-level
483534
* prompt ignored.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
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.aiplatform.v1.model;
18+
19+
/**
20+
* Configuration for Pro Edit.
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 Agent Platform 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 CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* A text string containing the user's edit instruction. Will be applied to the original URF.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String editInstructionPrompt;
38+
39+
/**
40+
* Required. The operation_id from a previous omni-cine generation whose OF and URF should be
41+
* retrieved for editing.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String fromOperationId;
46+
47+
/**
48+
* A JSON object containing the user's modified URF. The URF Editing Preamble will diff this
49+
* against the original URF to determine what changed.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.util.Map<String, java.lang.Object> structuredPrompt;
54+
55+
/**
56+
* A text string containing the user's edit instruction. Will be applied to the original URF.
57+
* @return value or {@code null} for none
58+
*/
59+
public java.lang.String getEditInstructionPrompt() {
60+
return editInstructionPrompt;
61+
}
62+
63+
/**
64+
* A text string containing the user's edit instruction. Will be applied to the original URF.
65+
* @param editInstructionPrompt editInstructionPrompt or {@code null} for none
66+
*/
67+
public CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig setEditInstructionPrompt(java.lang.String editInstructionPrompt) {
68+
this.editInstructionPrompt = editInstructionPrompt;
69+
return this;
70+
}
71+
72+
/**
73+
* Required. The operation_id from a previous omni-cine generation whose OF and URF should be
74+
* retrieved for editing.
75+
* @return value or {@code null} for none
76+
*/
77+
public java.lang.String getFromOperationId() {
78+
return fromOperationId;
79+
}
80+
81+
/**
82+
* Required. The operation_id from a previous omni-cine generation whose OF and URF should be
83+
* retrieved for editing.
84+
* @param fromOperationId fromOperationId or {@code null} for none
85+
*/
86+
public CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig setFromOperationId(java.lang.String fromOperationId) {
87+
this.fromOperationId = fromOperationId;
88+
return this;
89+
}
90+
91+
/**
92+
* A JSON object containing the user's modified URF. The URF Editing Preamble will diff this
93+
* against the original URF to determine what changed.
94+
* @return value or {@code null} for none
95+
*/
96+
public java.util.Map<String, java.lang.Object> getStructuredPrompt() {
97+
return structuredPrompt;
98+
}
99+
100+
/**
101+
* A JSON object containing the user's modified URF. The URF Editing Preamble will diff this
102+
* against the original URF to determine what changed.
103+
* @param structuredPrompt structuredPrompt or {@code null} for none
104+
*/
105+
public CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig setStructuredPrompt(java.util.Map<String, java.lang.Object> structuredPrompt) {
106+
this.structuredPrompt = structuredPrompt;
107+
return this;
108+
}
109+
110+
@Override
111+
public CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig set(String fieldName, Object value) {
112+
return (CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig) super.set(fieldName, value);
113+
}
114+
115+
@Override
116+
public CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig clone() {
117+
return (CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig) super.clone();
118+
}
119+
120+
}

0 commit comments

Comments
 (0)