Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-aiplatform/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-aiplatform</artifactId>
<version>v1-rev20260704-2.0.0</version>
<version>v1-rev20260715-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260704-2.0.0'
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260715-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121315,6 +121315,187 @@ public InvokeRequest set(String parameterName, Object value) {

}
}
/**
* An accessor for creating requests from the V1 collection.
*
* <p>The typical use is:</p>
* <pre>
* {@code Aiplatform aiplatform = new Aiplatform(...);}
* {@code Aiplatform.V1.List request = aiplatform.v1().list(parameters ...)}
* </pre>
*
* @return the resource collection
*/
public V1 v1() {
return new V1();
}

/**
* The "v1" collection of methods.
*/
public class V1 {

/**
* Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method,
* invoke_route_prefix must be set to allow the paths that will be specified in the request.
*
* Create a request for the method "v1.responses".
*
* This request holds the parameters needed by the aiplatform server. After setting any optional
* parameters, call the {@link Responses#execute()} method to invoke the remote operation.
*
* @param endpoint Required. The name of the Endpoint requested to serve the prediction. Format:
* `projects/{project}/locations/{location}/endpoints/{endpoint}`
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleApiHttpBody}
* @return the request
*/
public Responses responses(java.lang.String endpoint, com.google.api.services.aiplatform.v1.model.GoogleApiHttpBody content) throws java.io.IOException {
Responses result = new Responses(endpoint, content);
initialize(result);
return result;
}

public class Responses extends AiplatformRequest<com.google.api.services.aiplatform.v1.model.GoogleApiHttpBody> {

private static final String REST_PATH = "v1/{+endpoint}/v1/responses";

private final java.util.regex.Pattern ENDPOINT_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/publishers/[^/]+$");

/**
* Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this
* method, invoke_route_prefix must be set to allow the paths that will be specified in the
* request.
*
* Create a request for the method "v1.responses".
*
* This request holds the parameters needed by the the aiplatform server. After setting any
* optional parameters, call the {@link Responses#execute()} method to invoke the remote
* operation. <p> {@link
* Responses#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor. </p>
*
* @param endpoint Required. The name of the Endpoint requested to serve the prediction. Format:
* `projects/{project}/locations/{location}/endpoints/{endpoint}`
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleApiHttpBody}
* @since 1.13
*/
protected Responses(java.lang.String endpoint, com.google.api.services.aiplatform.v1.model.GoogleApiHttpBody content) {
super(Aiplatform.this, "POST", REST_PATH, content, com.google.api.services.aiplatform.v1.model.GoogleApiHttpBody.class);
this.endpoint = com.google.api.client.util.Preconditions.checkNotNull(endpoint, "Required parameter endpoint must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(ENDPOINT_PATTERN.matcher(endpoint).matches(),
"Parameter endpoint must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/publishers/[^/]+$");
}
}

@Override
public Responses set$Xgafv(java.lang.String $Xgafv) {
return (Responses) super.set$Xgafv($Xgafv);
}

@Override
public Responses setAccessToken(java.lang.String accessToken) {
return (Responses) super.setAccessToken(accessToken);
}

@Override
public Responses setAlt(java.lang.String alt) {
return (Responses) super.setAlt(alt);
}

@Override
public Responses setCallback(java.lang.String callback) {
return (Responses) super.setCallback(callback);
}

@Override
public Responses setFields(java.lang.String fields) {
return (Responses) super.setFields(fields);
}

@Override
public Responses setKey(java.lang.String key) {
return (Responses) super.setKey(key);
}

@Override
public Responses setOauthToken(java.lang.String oauthToken) {
return (Responses) super.setOauthToken(oauthToken);
}

@Override
public Responses setPrettyPrint(java.lang.Boolean prettyPrint) {
return (Responses) super.setPrettyPrint(prettyPrint);
}

@Override
public Responses setQuotaUser(java.lang.String quotaUser) {
return (Responses) super.setQuotaUser(quotaUser);
}

@Override
public Responses setUploadType(java.lang.String uploadType) {
return (Responses) super.setUploadType(uploadType);
}

@Override
public Responses setUploadProtocol(java.lang.String uploadProtocol) {
return (Responses) super.setUploadProtocol(uploadProtocol);
}

/**
* Required. The name of the Endpoint requested to serve the prediction. Format:
* `projects/{project}/locations/{location}/endpoints/{endpoint}`
*/
@com.google.api.client.util.Key
private java.lang.String endpoint;

/** Required. The name of the Endpoint requested to serve the prediction. Format:
`projects/{project}/locations/{location}/endpoints/{endpoint}`
*/
public java.lang.String getEndpoint() {
return endpoint;
}

/**
* Required. The name of the Endpoint requested to serve the prediction. Format:
* `projects/{project}/locations/{location}/endpoints/{endpoint}`
*/
public Responses setEndpoint(java.lang.String endpoint) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(ENDPOINT_PATTERN.matcher(endpoint).matches(),
"Parameter endpoint must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/publishers/[^/]+$");
}
this.endpoint = endpoint;
return this;
}

/** ID of the DeployedModel that serves the invoke request. */
@com.google.api.client.util.Key
private java.lang.String deployedModelId;

/** ID of the DeployedModel that serves the invoke request.
*/
public java.lang.String getDeployedModelId() {
return deployedModelId;
}

/** ID of the DeployedModel that serves the invoke request. */
public Responses setDeployedModelId(java.lang.String deployedModelId) {
this.deployedModelId = deployedModelId;
return this;
}

@Override
public Responses set(String parameterName, Object value) {
return (Responses) super.set(parameterName, value);
}
}

}
}
/**
* An accessor for creating requests from the RagCorpora collection.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ public final class CloudAiLargeModelsVisionGenerateVideoExperiments extends com.
@com.google.api.client.util.Key
private java.lang.String codec;

/**
* Optional. Color alignment configuration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig colorAlignment;

/**
* Conditioning frames for veo experimental models ONLY, not to be confused with keyframes (ID:31)
* in GenerateVideoRequest.
Expand Down Expand Up @@ -130,6 +137,13 @@ public final class CloudAiLargeModelsVisionGenerateVideoExperiments extends com.
@com.google.api.client.util.Key
private CloudAiLargeModelsVisionSeamless seamless;

/**
* Optional. Spatial alignment configuration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig spatialAlignment;

/**
* If true (default), truncate input videos that exceed the model's maximum frame count by
* applying a frame_selection_config to __video_file__ inputs. Set to false to preserve the
Expand Down Expand Up @@ -207,6 +221,23 @@ public CloudAiLargeModelsVisionGenerateVideoExperiments setCodec(java.lang.Strin
return this;
}

/**
* Optional. Color alignment configuration.
* @return value or {@code null} for none
*/
public CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig getColorAlignment() {
return colorAlignment;
}

/**
* Optional. Color alignment configuration.
* @param colorAlignment colorAlignment or {@code null} for none
*/
public CloudAiLargeModelsVisionGenerateVideoExperiments setColorAlignment(CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig colorAlignment) {
this.colorAlignment = colorAlignment;
return this;
}

/**
* Conditioning frames for veo experimental models ONLY, not to be confused with keyframes (ID:31)
* in GenerateVideoRequest.
Expand Down Expand Up @@ -395,6 +426,23 @@ public CloudAiLargeModelsVisionGenerateVideoExperiments setSeamless(CloudAiLarge
return this;
}

/**
* Optional. Spatial alignment configuration.
* @return value or {@code null} for none
*/
public CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig getSpatialAlignment() {
return spatialAlignment;
}

/**
* Optional. Spatial alignment configuration.
* @param spatialAlignment spatialAlignment or {@code null} for none
*/
public CloudAiLargeModelsVisionGenerateVideoExperiments setSpatialAlignment(CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig spatialAlignment) {
this.spatialAlignment = spatialAlignment;
return this;
}

/**
* If true (default), truncate input videos that exceed the model's maximum frame count by
* applying a frame_selection_config to __video_file__ inputs. Set to false to preserve the
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.aiplatform.v1.model;

/**
* Configuration for color alignment.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Agent Platform API. For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig extends com.google.api.client.json.GenericJson {

/**
* Optional. If true, enable alignment.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean enable;

/**
* Optional. If true, enable alignment.
* @return value or {@code null} for none
*/
public java.lang.Boolean getEnable() {
return enable;
}

/**
* Optional. If true, enable alignment.
* @param enable enable or {@code null} for none
*/
public CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig setEnable(java.lang.Boolean enable) {
this.enable = enable;
return this;
}

@Override
public CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig set(String fieldName, Object value) {
return (CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig) super.set(fieldName, value);
}

@Override
public CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig clone() {
return (CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig) super.clone();
}

}
Loading
Loading