diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/README.md b/clients/google-api-services-aiplatform/v1/2.0.0/README.md index bffc7925370..cfcf39eee92 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/README.md +++ b/clients/google-api-services-aiplatform/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-aiplatform - v1-rev20260801-2.0.0 + v1-rev20260808-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260801-2.0.0' + implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260808-2.0.0' } ``` diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/Aiplatform.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/Aiplatform.java index 24f7858da27..2cd7d1ec670 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/Aiplatform.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/Aiplatform.java @@ -37200,7 +37200,10 @@ public Get set(String parameterName, Object value) { } } /** - * Lists agents in a location. + * Lists the agents in a location that belong to the caller. An agent belongs to the end user + * recorded as its owner when it was created, so the response holds that caller's agents and no + * others. It is empty for a caller that is not an end user, and an agent with no recorded owner is + * listed for nobody. * * Create a request for the method "agents.list". * @@ -37225,7 +37228,10 @@ public class List extends AiplatformRequest 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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. Audio file to use as the target audio input to Omni. Only used when + * `use_target_audio_from_video` is false. Cannot be set simultaneously with + * `use_target_audio_from_video = true`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CloudAiLargeModelsVisionGenerateVideoRequestAudio targetAudio; + + /** + * Optional. When true, uses the audio track from the input video as the target audio instead of + * regenerating it. Mutually exclusive with `target_audio` below. Requires the input to be a video + * file, not an image sequence. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean useTargetAudioFromVideo; + + /** + * Optional. Audio file to use as the target audio input to Omni. Only used when + * `use_target_audio_from_video` is false. Cannot be set simultaneously with + * `use_target_audio_from_video = true`. + * @return value or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestAudio getTargetAudio() { + return targetAudio; + } + + /** + * Optional. Audio file to use as the target audio input to Omni. Only used when + * `use_target_audio_from_video` is false. Cannot be set simultaneously with + * `use_target_audio_from_video = true`. + * @param targetAudio targetAudio or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig setTargetAudio(CloudAiLargeModelsVisionGenerateVideoRequestAudio targetAudio) { + this.targetAudio = targetAudio; + return this; + } + + /** + * Optional. When true, uses the audio track from the input video as the target audio instead of + * regenerating it. Mutually exclusive with `target_audio` below. Requires the input to be a video + * file, not an image sequence. + * @return value or {@code null} for none + */ + public java.lang.Boolean getUseTargetAudioFromVideo() { + return useTargetAudioFromVideo; + } + + /** + * Optional. When true, uses the audio track from the input video as the target audio instead of + * regenerating it. Mutually exclusive with `target_audio` below. Requires the input to be a video + * file, not an image sequence. + * @param useTargetAudioFromVideo useTargetAudioFromVideo or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig setUseTargetAudioFromVideo(java.lang.Boolean useTargetAudioFromVideo) { + this.useTargetAudioFromVideo = useTargetAudioFromVideo; + return this; + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig set(String fieldName, Object value) { + return (CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig) super.set(fieldName, value); + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig clone() { + return (CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig.java new file mode 100644 index 00000000000..d460f5da993 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig.java @@ -0,0 +1,90 @@ +/* + * 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; + +/** + * Config for Outpainting task. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig extends com.google.api.client.json.GenericJson { + + /** + * The input frames for outpainting. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List inputFrames; + + /** + * The output specification (defines target resolution and frame count). Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String outputSpec; + + /** + * The input frames for outpainting. Required. + * @return value or {@code null} for none + */ + public java.util.List getInputFrames() { + return inputFrames; + } + + /** + * The input frames for outpainting. Required. + * @param inputFrames inputFrames or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig setInputFrames(java.util.List inputFrames) { + this.inputFrames = inputFrames; + return this; + } + + /** + * The output specification (defines target resolution and frame count). Required. + * @return value or {@code null} for none + */ + public java.lang.String getOutputSpec() { + return outputSpec; + } + + /** + * The output specification (defines target resolution and frame count). Required. + * @param outputSpec outputSpec or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig setOutputSpec(java.lang.String outputSpec) { + this.outputSpec = outputSpec; + return this; + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig set(String fieldName, Object value) { + return (CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig) super.set(fieldName, value); + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig clone() { + return (CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource.java new file mode 100644 index 00000000000..ce32083fa1d --- /dev/null +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource.java @@ -0,0 +1,118 @@ +/* + * 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; + +/** + * The input frame(s). It can be a full path or a glob pattern to images. The proto can be extended + * in the future for alternative ways to specify source of frames. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String globPattern; + + /** + * Horizontal offset in pixels to shift the input frame from center. Positive values shift right, + * negative values shift left. Optional. Default is 0 (centered). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer horizontalOffset; + + /** + * Vertical offset in pixels to shift the input frame from center. Positive values shift down, + * negative values shift up. Optional. Default is 0 (centered). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer verticalOffset; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getGlobPattern() { + return globPattern; + } + + /** + * @param globPattern globPattern or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource setGlobPattern(java.lang.String globPattern) { + this.globPattern = globPattern; + return this; + } + + /** + * Horizontal offset in pixels to shift the input frame from center. Positive values shift right, + * negative values shift left. Optional. Default is 0 (centered). + * @return value or {@code null} for none + */ + public java.lang.Integer getHorizontalOffset() { + return horizontalOffset; + } + + /** + * Horizontal offset in pixels to shift the input frame from center. Positive values shift right, + * negative values shift left. Optional. Default is 0 (centered). + * @param horizontalOffset horizontalOffset or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource setHorizontalOffset(java.lang.Integer horizontalOffset) { + this.horizontalOffset = horizontalOffset; + return this; + } + + /** + * Vertical offset in pixels to shift the input frame from center. Positive values shift down, + * negative values shift up. Optional. Default is 0 (centered). + * @return value or {@code null} for none + */ + public java.lang.Integer getVerticalOffset() { + return verticalOffset; + } + + /** + * Vertical offset in pixels to shift the input frame from center. Positive values shift down, + * negative values shift up. Optional. Default is 0 (centered). + * @param verticalOffset verticalOffset or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource setVerticalOffset(java.lang.Integer verticalOffset) { + this.verticalOffset = verticalOffset; + return this; + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource set(String fieldName, Object value) { + return (CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource) super.set(fieldName, value); + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource clone() { + return (CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform.java new file mode 100644 index 00000000000..cb8eb083b23 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform.java @@ -0,0 +1,117 @@ +/* + * 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; + +/** + * Model definition for CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform extends com.google.api.client.json.GenericJson { + + /** + * Optional. Input for video transform (sdedit, diffdiff). Note the input video from the main + * GenerateVideoRequest will be used as the conditioning. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CloudAiLargeModelsVisionGenerateVideoRequestVideo initializationVideo; + + /** + * Optional. Mask for video transform (diffdiff). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CloudAiLargeModelsVisionGenerateVideoRequestVideo mask; + + /** + * Optional. Noise strength for video transform. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Float noiseStrength; + + /** + * Optional. Input for video transform (sdedit, diffdiff). Note the input video from the main + * GenerateVideoRequest will be used as the conditioning. + * @return value or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestVideo getInitializationVideo() { + return initializationVideo; + } + + /** + * Optional. Input for video transform (sdedit, diffdiff). Note the input video from the main + * GenerateVideoRequest will be used as the conditioning. + * @param initializationVideo initializationVideo or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform setInitializationVideo(CloudAiLargeModelsVisionGenerateVideoRequestVideo initializationVideo) { + this.initializationVideo = initializationVideo; + return this; + } + + /** + * Optional. Mask for video transform (diffdiff). + * @return value or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestVideo getMask() { + return mask; + } + + /** + * Optional. Mask for video transform (diffdiff). + * @param mask mask or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform setMask(CloudAiLargeModelsVisionGenerateVideoRequestVideo mask) { + this.mask = mask; + return this; + } + + /** + * Optional. Noise strength for video transform. + * @return value or {@code null} for none + */ + public java.lang.Float getNoiseStrength() { + return noiseStrength; + } + + /** + * Optional. Noise strength for video transform. + * @param noiseStrength noiseStrength or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform setNoiseStrength(java.lang.Float noiseStrength) { + this.noiseStrength = noiseStrength; + return this; + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform set(String fieldName, Object value) { + return (CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform) super.set(fieldName, value); + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform clone() { + return (CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoRequestAudio.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoRequestAudio.java new file mode 100644 index 00000000000..909a7e30a36 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoRequestAudio.java @@ -0,0 +1,138 @@ +/* + * 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; + +/** + * The raw bytes or Cloud Storage URI for an audio input. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CloudAiLargeModelsVisionGenerateVideoRequestAudio extends com.google.api.client.json.GenericJson { + + /** + * Blob ID of the audio. This is used for storing the large audio in the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String blobId; + + /** + * Base64 encoded bytes string representing the audio. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String bytesBase64Encoded; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gcsUri; + + /** + * The MIME type of the content of the audio. Only audio in below listed MIME types are supported. + * - audio/wav - audio/mp3 - audio/mpeg + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mimeType; + + /** + * Blob ID of the audio. This is used for storing the large audio in the request. + * @return value or {@code null} for none + */ + public java.lang.String getBlobId() { + return blobId; + } + + /** + * Blob ID of the audio. This is used for storing the large audio in the request. + * @param blobId blobId or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestAudio setBlobId(java.lang.String blobId) { + this.blobId = blobId; + return this; + } + + /** + * Base64 encoded bytes string representing the audio. + * @return value or {@code null} for none + */ + public java.lang.String getBytesBase64Encoded() { + return bytesBase64Encoded; + } + + /** + * Base64 encoded bytes string representing the audio. + * @param bytesBase64Encoded bytesBase64Encoded or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestAudio setBytesBase64Encoded(java.lang.String bytesBase64Encoded) { + this.bytesBase64Encoded = bytesBase64Encoded; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getGcsUri() { + return gcsUri; + } + + /** + * @param gcsUri gcsUri or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestAudio setGcsUri(java.lang.String gcsUri) { + this.gcsUri = gcsUri; + return this; + } + + /** + * The MIME type of the content of the audio. Only audio in below listed MIME types are supported. + * - audio/wav - audio/mp3 - audio/mpeg + * @return value or {@code null} for none + */ + public java.lang.String getMimeType() { + return mimeType; + } + + /** + * The MIME type of the content of the audio. Only audio in below listed MIME types are supported. + * - audio/wav - audio/mp3 - audio/mpeg + * @param mimeType mimeType or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestAudio setMimeType(java.lang.String mimeType) { + this.mimeType = mimeType; + return this; + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoRequestAudio set(String fieldName, Object value) { + return (CloudAiLargeModelsVisionGenerateVideoRequestAudio) super.set(fieldName, value); + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoRequestAudio clone() { + return (CloudAiLargeModelsVisionGenerateVideoRequestAudio) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoRequestVideo.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoRequestVideo.java new file mode 100644 index 00000000000..f55ef1fce11 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoRequestVideo.java @@ -0,0 +1,138 @@ +/* + * 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; + +/** + * Model definition for CloudAiLargeModelsVisionGenerateVideoRequestVideo. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CloudAiLargeModelsVisionGenerateVideoRequestVideo extends com.google.api.client.json.GenericJson { + + /** + * Blob ID of the video. This is used for storing large videos in the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String blobId; + + /** + * Base64 encoded bytes string representing the video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String bytesBase64Encoded; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gcsUri; + + /** + * The MIME type of the content of the video. Only the video in the below listed MIME types are + * supported. - video/mp4 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mimeType; + + /** + * Blob ID of the video. This is used for storing large videos in the request. + * @return value or {@code null} for none + */ + public java.lang.String getBlobId() { + return blobId; + } + + /** + * Blob ID of the video. This is used for storing large videos in the request. + * @param blobId blobId or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestVideo setBlobId(java.lang.String blobId) { + this.blobId = blobId; + return this; + } + + /** + * Base64 encoded bytes string representing the video. + * @return value or {@code null} for none + */ + public java.lang.String getBytesBase64Encoded() { + return bytesBase64Encoded; + } + + /** + * Base64 encoded bytes string representing the video. + * @param bytesBase64Encoded bytesBase64Encoded or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestVideo setBytesBase64Encoded(java.lang.String bytesBase64Encoded) { + this.bytesBase64Encoded = bytesBase64Encoded; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getGcsUri() { + return gcsUri; + } + + /** + * @param gcsUri gcsUri or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestVideo setGcsUri(java.lang.String gcsUri) { + this.gcsUri = gcsUri; + return this; + } + + /** + * The MIME type of the content of the video. Only the video in the below listed MIME types are + * supported. - video/mp4 + * @return value or {@code null} for none + */ + public java.lang.String getMimeType() { + return mimeType; + } + + /** + * The MIME type of the content of the video. Only the video in the below listed MIME types are + * supported. - video/mp4 + * @param mimeType mimeType or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestVideo setMimeType(java.lang.String mimeType) { + this.mimeType = mimeType; + return this; + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoRequestVideo set(String fieldName, Object value) { + return (CloudAiLargeModelsVisionGenerateVideoRequestVideo) super.set(fieldName, value); + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoRequestVideo clone() { + return (CloudAiLargeModelsVisionGenerateVideoRequestVideo) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscription.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscription.java index b2a7914e705..ba3e5ef24a0 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscription.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscription.java @@ -18,7 +18,7 @@ /** * The transcription of an audio part. For multi-speaker audio, each speaker segment is a separate - * Part with its own AudioTranscription carrying the speaker_label. + * `Part` with its own `AudioTranscription` carrying the `speaker_label`. * *

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: @@ -31,8 +31,8 @@ public final class GoogleCloudAiplatformV1AudioTranscription extends com.google.api.client.json.GenericJson { /** - * Optional. A label identifying the speaker of this audio segment (e.g. "spk_1", "spk_2"). - * Present when diarization is set. + * Optional. A label identifying the speaker of this audio segment (e.g. `spk_1`, `spk_2`). + * Present when `diarization` is set. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -46,16 +46,16 @@ public final class GoogleCloudAiplatformV1AudioTranscription extends com.google. private java.lang.String text; /** - * Optional. Detailed word-level transcriptions and timing details. Present when word_timestamp is - * set. + * Optional. Detailed word-level transcriptions and timing details. Present when `word_timestamp` + * is set. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List words; /** - * Optional. A label identifying the speaker of this audio segment (e.g. "spk_1", "spk_2"). - * Present when diarization is set. + * Optional. A label identifying the speaker of this audio segment (e.g. `spk_1`, `spk_2`). + * Present when `diarization` is set. * @return value or {@code null} for none */ public java.lang.String getSpeakerLabel() { @@ -63,8 +63,8 @@ public java.lang.String getSpeakerLabel() { } /** - * Optional. A label identifying the speaker of this audio segment (e.g. "spk_1", "spk_2"). - * Present when diarization is set. + * Optional. A label identifying the speaker of this audio segment (e.g. `spk_1`, `spk_2`). + * Present when `diarization` is set. * @param speakerLabel speakerLabel or {@code null} for none */ public GoogleCloudAiplatformV1AudioTranscription setSpeakerLabel(java.lang.String speakerLabel) { @@ -90,8 +90,8 @@ public GoogleCloudAiplatformV1AudioTranscription setText(java.lang.String text) } /** - * Optional. Detailed word-level transcriptions and timing details. Present when word_timestamp is - * set. + * Optional. Detailed word-level transcriptions and timing details. Present when `word_timestamp` + * is set. * @return value or {@code null} for none */ public java.util.List getWords() { @@ -99,8 +99,8 @@ public java.util.List getWord } /** - * Optional. Detailed word-level transcriptions and timing details. Present when word_timestamp is - * set. + * Optional. Detailed word-level transcriptions and timing details. Present when `word_timestamp` + * is set. * @param words words or {@code null} for none */ public GoogleCloudAiplatformV1AudioTranscription setWords(java.util.List words) { diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscriptionConfig.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscriptionConfig.java index 13ed25e5c20..d8690a73bb8 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscriptionConfig.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscriptionConfig.java @@ -30,7 +30,8 @@ public final class GoogleCloudAiplatformV1AudioTranscriptionConfig extends com.google.api.client.json.GenericJson { /** - * Optional. A list of phrases to bias the ASR model towards. + * Optional. Deprecated: Use `custom_vocabulary` instead. A list of phrases to bias the speech + * recognition model towards. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -83,7 +84,8 @@ public final class GoogleCloudAiplatformV1AudioTranscriptionConfig extends com.g private java.lang.Boolean wordTimestamp; /** - * Optional. A list of phrases to bias the ASR model towards. + * Optional. Deprecated: Use `custom_vocabulary` instead. A list of phrases to bias the speech + * recognition model towards. * @return value or {@code null} for none */ public java.util.List getAdaptationPhrases() { @@ -91,7 +93,8 @@ public java.util.List getAdaptationPhrases() { } /** - * Optional. A list of phrases to bias the ASR model towards. + * Optional. Deprecated: Use `custom_vocabulary` instead. A list of phrases to bias the speech + * recognition model towards. * @param adaptationPhrases adaptationPhrases or {@code null} for none */ public GoogleCloudAiplatformV1AudioTranscriptionConfig setAdaptationPhrases(java.util.List adaptationPhrases) { diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GenerationConfig.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GenerationConfig.java index fb04a6c0845..3dee130fda1 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GenerationConfig.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GenerationConfig.java @@ -40,7 +40,7 @@ public final class GoogleCloudAiplatformV1GenerationConfig extends com.google.ap private java.lang.Boolean audioTimestamp; /** - * Optional. Config for audio transcription (speech recognition). + * Optional. Configuration for audio transcription (speech recognition). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -268,7 +268,7 @@ public GoogleCloudAiplatformV1GenerationConfig setAudioTimestamp(java.lang.Boole } /** - * Optional. Config for audio transcription (speech recognition). + * Optional. Configuration for audio transcription (speech recognition). * @return value or {@code null} for none */ public GoogleCloudAiplatformV1AudioTranscriptionConfig getAudioTranscriptionConfig() { @@ -276,7 +276,7 @@ public GoogleCloudAiplatformV1AudioTranscriptionConfig getAudioTranscriptionConf } /** - * Optional. Config for audio transcription (speech recognition). + * Optional. Configuration for audio transcription (speech recognition). * @param audioTranscriptionConfig audioTranscriptionConfig or {@code null} for none */ public GoogleCloudAiplatformV1GenerationConfig setAudioTranscriptionConfig(GoogleCloudAiplatformV1AudioTranscriptionConfig audioTranscriptionConfig) { diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1Part.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1Part.java index dcd23a53437..df48bf9742c 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1Part.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1Part.java @@ -34,8 +34,8 @@ public final class GoogleCloudAiplatformV1Part extends com.google.api.client.json.GenericJson { /** - * Optional. Audio (input or output) transcription. This is only set when this Part contains audio - * data. + * Optional. Audio (input or output) transcription. This is only set when this `Part` contains + * audio data. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -126,8 +126,8 @@ public final class GoogleCloudAiplatformV1Part extends com.google.api.client.jso private GoogleCloudAiplatformV1VideoMetadata videoMetadata; /** - * Optional. Audio (input or output) transcription. This is only set when this Part contains audio - * data. + * Optional. Audio (input or output) transcription. This is only set when this `Part` contains + * audio data. * @return value or {@code null} for none */ public GoogleCloudAiplatformV1AudioTranscription getAudioTranscription() { @@ -135,8 +135,8 @@ public GoogleCloudAiplatformV1AudioTranscription getAudioTranscription() { } /** - * Optional. Audio (input or output) transcription. This is only set when this Part contains audio - * data. + * Optional. Audio (input or output) transcription. This is only set when this `Part` contains + * audio data. * @param audioTranscription audioTranscription or {@code null} for none */ public GoogleCloudAiplatformV1Part setAudioTranscription(GoogleCloudAiplatformV1AudioTranscription audioTranscription) { diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1QueryReasoningEngineRequest.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1QueryReasoningEngineRequest.java index db548886aad..bfc0238c40c 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1QueryReasoningEngineRequest.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1QueryReasoningEngineRequest.java @@ -17,7 +17,7 @@ package com.google.api.services.aiplatform.v1.model; /** - * Request message for ReasoningEngineExecutionService.Query. + * Request message for ReasoningEngineExecutionService.QueryReasoningEngine. * *

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: diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1QueryReasoningEngineResponse.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1QueryReasoningEngineResponse.java index 7b58b1339f7..8436e44c7e5 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1QueryReasoningEngineResponse.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1QueryReasoningEngineResponse.java @@ -17,7 +17,7 @@ package com.google.api.services.aiplatform.v1.model; /** - * Response message for ReasoningEngineExecutionService.Query + * Response message for ReasoningEngineExecutionService.QueryReasoningEngine. * *

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: diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ReservationAffinity.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ReservationAffinity.java index a986b4c42ca..2434a63e2f6 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ReservationAffinity.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ReservationAffinity.java @@ -48,8 +48,8 @@ public final class GoogleCloudAiplatformV1ReservationAffinity extends com.google private java.lang.String reservationAffinityType; /** - * Optional. Corresponds to the label values of a reservation resource. This must be the full - * resource name of the reservation or reservation block. + * Optional. Corresponds to the label values of a reservation resource. This must be the resource + * name of the reservation, reservation block, or reservation sub- block. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -94,8 +94,8 @@ public GoogleCloudAiplatformV1ReservationAffinity setReservationAffinityType(jav } /** - * Optional. Corresponds to the label values of a reservation resource. This must be the full - * resource name of the reservation or reservation block. + * Optional. Corresponds to the label values of a reservation resource. This must be the resource + * name of the reservation, reservation block, or reservation sub- block. * @return value or {@code null} for none */ public java.util.List getValues() { @@ -103,8 +103,8 @@ public java.util.List getValues() { } /** - * Optional. Corresponds to the label values of a reservation resource. This must be the full - * resource name of the reservation or reservation block. + * Optional. Corresponds to the label values of a reservation resource. This must be the resource + * name of the reservation, reservation block, or reservation sub- block. * @param values values or {@code null} for none */ public GoogleCloudAiplatformV1ReservationAffinity setValues(java.util.List values) { diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest.java index b5cd25dbbe0..130a7158092 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest.java @@ -17,7 +17,7 @@ package com.google.api.services.aiplatform.v1.model; /** - * Request message for ReasoningEngineExecutionService.StreamQuery. + * Request message for ReasoningEngineExecutionService.StreamQueryReasoningEngine. * *

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: diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/pom.xml b/clients/google-api-services-aiplatform/v1/2.0.0/pom.xml index f2340b91b3a..4ca6da08709 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/pom.xml +++ b/clients/google-api-services-aiplatform/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-aiplatform - v1-rev20260801-2.0.0 - Agent Platform API v1-rev20260801-2.0.0 + v1-rev20260808-2.0.0 + Agent Platform API v1-rev20260808-2.0.0 jar 2011 diff --git a/clients/google-api-services-aiplatform/v1/README.md b/clients/google-api-services-aiplatform/v1/README.md index bffc7925370..cfcf39eee92 100644 --- a/clients/google-api-services-aiplatform/v1/README.md +++ b/clients/google-api-services-aiplatform/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-aiplatform - v1-rev20260801-2.0.0 + v1-rev20260808-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260801-2.0.0' + implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260808-2.0.0' } ``` diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/README.md b/clients/google-api-services-aiplatform/v1beta1/2.0.0/README.md index b327774302e..106e93c1cc3 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/README.md +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-aiplatform - v1beta1-rev20260801-2.0.0 + v1beta1-rev20260808-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260801-2.0.0' + implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260808-2.0.0' } ``` diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/Aiplatform.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/Aiplatform.java index e596d2f1916..7aa65b7d6a3 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/Aiplatform.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/Aiplatform.java @@ -51054,7 +51054,10 @@ public Get set(String parameterName, Object value) { } } /** - * Lists agents in a location. + * Lists the agents in a location that belong to the caller. An agent belongs to the end user + * recorded as its owner when it was created, so the response holds that caller's agents and no + * others. It is empty for a caller that is not an end user, and an agent with no recorded owner is + * listed for nobody. * * Create a request for the method "agents.list". * @@ -51079,7 +51082,10 @@ public class List extends AiplatformRequest= "2024-01-01T00:00:00Z" AND detection_time <= "2024-01-08T00:00:00Z" - * AND severity = "CRITICAL" ``` If empty, results are restricted to the last 3 days - * with no severity restriction. Other fields, additional operators, set membership - * (`IN`), and boolean combinations (`OR`, `NOT`, parentheses) are not yet supported. + * AND severity = "SEVERITY_CRITICAL" AND agent_type = "CLOUD_RUN_SERVICE" ``` If empty, + * results are restricted to the last 7 days with no severity or runtime restriction. + * Other fields, additional operators, set membership (`IN`), and boolean combinations + * (`OR`, `NOT`, parentheses) are not yet supported. */ @com.google.api.client.util.Key private java.lang.String filter; /** Optional. Filter expression restricting which AnalyzedSessions are returned. Supports a subset of - AIP-160: a closed `detection_time` window (both bounds required) and/or an equality on `severity`, - joined by `AND`. Each clause is optional, may appear at most once, and may appear in either order. - The `severity` value is the string form of a `Severity` value (`CRITICAL`, `HIGH`, `MEDIUM`, or - `LOW`; `SEVERITY_UNSPECIFIED` is not supported) and matches sessions whose maximum severity equals - that bucket. For example, a session that fires at both LOW and CRITICAL matches `severity = - "CRITICAL"`, not `severity = "LOW"`. Example (time window and severity): ``` detection_time >= - "2024-01-01T00:00:00Z" AND detection_time <= "2024-01-08T00:00:00Z" AND severity = "CRITICAL" ``` - If empty, results are restricted to the last 3 days with no severity restriction. Other fields, - additional operators, set membership (`IN`), and boolean combinations (`OR`, `NOT`, parentheses) - are not yet supported. + AIP-160: a closed `detection_time` window (both bounds required), an equality on `severity`, and an + equality on `agent_type`, joined by `AND`. Each clause is optional, may appear at most once, and + may appear in any order. The `severity` value is the **canonical** `Severity` enum name -- + `SEVERITY_CRITICAL`, `SEVERITY_HIGH`, `SEVERITY_MEDIUM` or `SEVERITY_LOW`. Short forms such as + `"CRITICAL"` are rejected, as is `SEVERITY_UNSPECIFIED`. It matches sessions whose *maximum* + severity equals that bucket: a session that fires at both LOW and CRITICAL matches `severity = + "SEVERITY_CRITICAL"`, not `severity = "SEVERITY_LOW"`. The `agent_type` value is the canonical + `AgentResource.AgentType` enum name -- `REASONING_ENGINE`, `CLOUD_RUN_SERVICE`, `GKE_WORKLOAD`, + `GCE_INSTANCE`, `AGENT_TYPE_OTHER` or `AGENT_TYPE_UNSPECIFIED` -- and matches sessions run by an + agent on that runtime. Unlike `severity`, `agent_type` accepts its `UNSPECIFIED` value. The two are + not analogous: a session always has a computed severity bucket, so `SEVERITY_UNSPECIFIED` is never + returned and filtering on it could only match nothing. `AGENT_TYPE_UNSPECIFIED` *is* returned -- it + is what `AnalyzedSession.agent_type` reports for an agent whose runtime was never recorded -- so it + must remain filterable. Example (time window, severity and runtime): ``` detection_time >= + "2024-01-01T00:00:00Z" AND detection_time <= "2024-01-08T00:00:00Z" AND severity = + "SEVERITY_CRITICAL" AND agent_type = "CLOUD_RUN_SERVICE" ``` If empty, results are restricted to + the last 7 days with no severity or runtime restriction. Other fields, additional operators, set + membership (`IN`), and boolean combinations (`OR`, `NOT`, parentheses) are not yet supported. */ public java.lang.String getFilter() { return filter; @@ -138839,17 +138864,28 @@ public java.lang.String getFilter() { /** * Optional. Filter expression restricting which AnalyzedSessions are returned. Supports - * a subset of AIP-160: a closed `detection_time` window (both bounds required) and/or - * an equality on `severity`, joined by `AND`. Each clause is optional, may appear at - * most once, and may appear in either order. The `severity` value is the string form of - * a `Severity` value (`CRITICAL`, `HIGH`, `MEDIUM`, or `LOW`; `SEVERITY_UNSPECIFIED` is - * not supported) and matches sessions whose maximum severity equals that bucket. For - * example, a session that fires at both LOW and CRITICAL matches `severity = - * "CRITICAL"`, not `severity = "LOW"`. Example (time window and severity): ``` + * a subset of AIP-160: a closed `detection_time` window (both bounds required), an + * equality on `severity`, and an equality on `agent_type`, joined by `AND`. Each clause + * is optional, may appear at most once, and may appear in any order. The `severity` + * value is the **canonical** `Severity` enum name -- `SEVERITY_CRITICAL`, + * `SEVERITY_HIGH`, `SEVERITY_MEDIUM` or `SEVERITY_LOW`. Short forms such as + * `"CRITICAL"` are rejected, as is `SEVERITY_UNSPECIFIED`. It matches sessions whose + * *maximum* severity equals that bucket: a session that fires at both LOW and CRITICAL + * matches `severity = "SEVERITY_CRITICAL"`, not `severity = "SEVERITY_LOW"`. The + * `agent_type` value is the canonical `AgentResource.AgentType` enum name -- + * `REASONING_ENGINE`, `CLOUD_RUN_SERVICE`, `GKE_WORKLOAD`, `GCE_INSTANCE`, + * `AGENT_TYPE_OTHER` or `AGENT_TYPE_UNSPECIFIED` -- and matches sessions run by an + * agent on that runtime. Unlike `severity`, `agent_type` accepts its `UNSPECIFIED` + * value. The two are not analogous: a session always has a computed severity bucket, so + * `SEVERITY_UNSPECIFIED` is never returned and filtering on it could only match + * nothing. `AGENT_TYPE_UNSPECIFIED` *is* returned -- it is what + * `AnalyzedSession.agent_type` reports for an agent whose runtime was never recorded -- + * so it must remain filterable. Example (time window, severity and runtime): ``` * detection_time >= "2024-01-01T00:00:00Z" AND detection_time <= "2024-01-08T00:00:00Z" - * AND severity = "CRITICAL" ``` If empty, results are restricted to the last 3 days - * with no severity restriction. Other fields, additional operators, set membership - * (`IN`), and boolean combinations (`OR`, `NOT`, parentheses) are not yet supported. + * AND severity = "SEVERITY_CRITICAL" AND agent_type = "CLOUD_RUN_SERVICE" ``` If empty, + * results are restricted to the last 7 days with no severity or runtime restriction. + * Other fields, additional operators, set membership (`IN`), and boolean combinations + * (`OR`, `NOT`, parentheses) are not yet supported. */ public List setFilter(java.lang.String filter) { this.filter = filter; diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperiments.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperiments.java index d056636380a..40399b065f8 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperiments.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperiments.java @@ -37,6 +37,13 @@ public final class CloudAiLargeModelsVisionGenerateVideoExperiments extends com. @com.google.api.client.util.Key private java.lang.Boolean anchorLastFrame; + /** + * Optional. Audio control configuration. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig audioControl; + /** * CFG scale for video-transform, perf-generation, a2v, video-textures models. * The value may be {@code null}. @@ -118,6 +125,13 @@ public final class CloudAiLargeModelsVisionGenerateVideoExperiments extends com. @com.google.api.client.util.Key private java.lang.String originalRequestJson; + /** + * Config for Outpainting task. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig outpaintConfig; + /** * Prompt chunks for "ProModel" prompting. If set, the prompt will not be rewritten, and top-level * prompt ignored. @@ -167,6 +181,13 @@ public final class CloudAiLargeModelsVisionGenerateVideoExperiments extends com. @com.google.api.client.util.Key private java.lang.Boolean truncateInputVideo; + /** + * Video transform configuration for omni editing models. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform videoTransform; + /** * GCS URI of the grayscale video mask for Differential Diffusion. Maps to * sdedit_video_tmax_scale_map @@ -201,6 +222,23 @@ public CloudAiLargeModelsVisionGenerateVideoExperiments setAnchorLastFrame(java. return this; } + /** + * Optional. Audio control configuration. + * @return value or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig getAudioControl() { + return audioControl; + } + + /** + * Optional. Audio control configuration. + * @param audioControl audioControl or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperiments setAudioControl(CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig audioControl) { + this.audioControl = audioControl; + return this; + } + /** * CFG scale for video-transform, perf-generation, a2v, video-textures models. * @return value or {@code null} for none @@ -396,6 +434,23 @@ public CloudAiLargeModelsVisionGenerateVideoExperiments setOriginalRequestJson(j return this; } + /** + * Config for Outpainting task. + * @return value or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig getOutpaintConfig() { + return outpaintConfig; + } + + /** + * Config for Outpainting task. + * @param outpaintConfig outpaintConfig or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperiments setOutpaintConfig(CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig outpaintConfig) { + this.outpaintConfig = outpaintConfig; + return this; + } + /** * Prompt chunks for "ProModel" prompting. If set, the prompt will not be rewritten, and top-level * prompt ignored. @@ -512,6 +567,23 @@ public CloudAiLargeModelsVisionGenerateVideoExperiments setTruncateInputVideo(ja return this; } + /** + * Video transform configuration for omni editing models. + * @return value or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform getVideoTransform() { + return videoTransform; + } + + /** + * Video transform configuration for omni editing models. + * @param videoTransform videoTransform or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperiments setVideoTransform(CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform videoTransform) { + this.videoTransform = videoTransform; + return this; + } + /** * GCS URI of the grayscale video mask for Differential Diffusion. Maps to * sdedit_video_tmax_scale_map diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig.java new file mode 100644 index 00000000000..44a75c1c496 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig.java @@ -0,0 +1,102 @@ +/* + * 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.v1beta1.model; + +/** + * Configuration for audio control. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. Audio file to use as the target audio input to Omni. Only used when + * `use_target_audio_from_video` is false. Cannot be set simultaneously with + * `use_target_audio_from_video = true`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CloudAiLargeModelsVisionGenerateVideoRequestAudio targetAudio; + + /** + * Optional. When true, uses the audio track from the input video as the target audio instead of + * regenerating it. Mutually exclusive with `target_audio` below. Requires the input to be a video + * file, not an image sequence. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean useTargetAudioFromVideo; + + /** + * Optional. Audio file to use as the target audio input to Omni. Only used when + * `use_target_audio_from_video` is false. Cannot be set simultaneously with + * `use_target_audio_from_video = true`. + * @return value or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestAudio getTargetAudio() { + return targetAudio; + } + + /** + * Optional. Audio file to use as the target audio input to Omni. Only used when + * `use_target_audio_from_video` is false. Cannot be set simultaneously with + * `use_target_audio_from_video = true`. + * @param targetAudio targetAudio or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig setTargetAudio(CloudAiLargeModelsVisionGenerateVideoRequestAudio targetAudio) { + this.targetAudio = targetAudio; + return this; + } + + /** + * Optional. When true, uses the audio track from the input video as the target audio instead of + * regenerating it. Mutually exclusive with `target_audio` below. Requires the input to be a video + * file, not an image sequence. + * @return value or {@code null} for none + */ + public java.lang.Boolean getUseTargetAudioFromVideo() { + return useTargetAudioFromVideo; + } + + /** + * Optional. When true, uses the audio track from the input video as the target audio instead of + * regenerating it. Mutually exclusive with `target_audio` below. Requires the input to be a video + * file, not an image sequence. + * @param useTargetAudioFromVideo useTargetAudioFromVideo or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig setUseTargetAudioFromVideo(java.lang.Boolean useTargetAudioFromVideo) { + this.useTargetAudioFromVideo = useTargetAudioFromVideo; + return this; + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig set(String fieldName, Object value) { + return (CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig) super.set(fieldName, value); + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig clone() { + return (CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig.java new file mode 100644 index 00000000000..22774df7322 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig.java @@ -0,0 +1,90 @@ +/* + * 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.v1beta1.model; + +/** + * Config for Outpainting task. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig extends com.google.api.client.json.GenericJson { + + /** + * The input frames for outpainting. Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List inputFrames; + + /** + * The output specification (defines target resolution and frame count). Required. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String outputSpec; + + /** + * The input frames for outpainting. Required. + * @return value or {@code null} for none + */ + public java.util.List getInputFrames() { + return inputFrames; + } + + /** + * The input frames for outpainting. Required. + * @param inputFrames inputFrames or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig setInputFrames(java.util.List inputFrames) { + this.inputFrames = inputFrames; + return this; + } + + /** + * The output specification (defines target resolution and frame count). Required. + * @return value or {@code null} for none + */ + public java.lang.String getOutputSpec() { + return outputSpec; + } + + /** + * The output specification (defines target resolution and frame count). Required. + * @param outputSpec outputSpec or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig setOutputSpec(java.lang.String outputSpec) { + this.outputSpec = outputSpec; + return this; + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig set(String fieldName, Object value) { + return (CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig) super.set(fieldName, value); + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig clone() { + return (CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource.java new file mode 100644 index 00000000000..8448ca183c4 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource.java @@ -0,0 +1,118 @@ +/* + * 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.v1beta1.model; + +/** + * The input frame(s). It can be a full path or a glob pattern to images. The proto can be extended + * in the future for alternative ways to specify source of frames. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String globPattern; + + /** + * Horizontal offset in pixels to shift the input frame from center. Positive values shift right, + * negative values shift left. Optional. Default is 0 (centered). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer horizontalOffset; + + /** + * Vertical offset in pixels to shift the input frame from center. Positive values shift down, + * negative values shift up. Optional. Default is 0 (centered). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer verticalOffset; + + /** + * @return value or {@code null} for none + */ + public java.lang.String getGlobPattern() { + return globPattern; + } + + /** + * @param globPattern globPattern or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource setGlobPattern(java.lang.String globPattern) { + this.globPattern = globPattern; + return this; + } + + /** + * Horizontal offset in pixels to shift the input frame from center. Positive values shift right, + * negative values shift left. Optional. Default is 0 (centered). + * @return value or {@code null} for none + */ + public java.lang.Integer getHorizontalOffset() { + return horizontalOffset; + } + + /** + * Horizontal offset in pixels to shift the input frame from center. Positive values shift right, + * negative values shift left. Optional. Default is 0 (centered). + * @param horizontalOffset horizontalOffset or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource setHorizontalOffset(java.lang.Integer horizontalOffset) { + this.horizontalOffset = horizontalOffset; + return this; + } + + /** + * Vertical offset in pixels to shift the input frame from center. Positive values shift down, + * negative values shift up. Optional. Default is 0 (centered). + * @return value or {@code null} for none + */ + public java.lang.Integer getVerticalOffset() { + return verticalOffset; + } + + /** + * Vertical offset in pixels to shift the input frame from center. Positive values shift down, + * negative values shift up. Optional. Default is 0 (centered). + * @param verticalOffset verticalOffset or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource setVerticalOffset(java.lang.Integer verticalOffset) { + this.verticalOffset = verticalOffset; + return this; + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource set(String fieldName, Object value) { + return (CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource) super.set(fieldName, value); + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource clone() { + return (CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform.java new file mode 100644 index 00000000000..170c0926dc3 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform.java @@ -0,0 +1,117 @@ +/* + * 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.v1beta1.model; + +/** + * Model definition for CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform extends com.google.api.client.json.GenericJson { + + /** + * Optional. Input for video transform (sdedit, diffdiff). Note the input video from the main + * GenerateVideoRequest will be used as the conditioning. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CloudAiLargeModelsVisionGenerateVideoRequestVideo initializationVideo; + + /** + * Optional. Mask for video transform (diffdiff). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CloudAiLargeModelsVisionGenerateVideoRequestVideo mask; + + /** + * Optional. Noise strength for video transform. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Float noiseStrength; + + /** + * Optional. Input for video transform (sdedit, diffdiff). Note the input video from the main + * GenerateVideoRequest will be used as the conditioning. + * @return value or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestVideo getInitializationVideo() { + return initializationVideo; + } + + /** + * Optional. Input for video transform (sdedit, diffdiff). Note the input video from the main + * GenerateVideoRequest will be used as the conditioning. + * @param initializationVideo initializationVideo or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform setInitializationVideo(CloudAiLargeModelsVisionGenerateVideoRequestVideo initializationVideo) { + this.initializationVideo = initializationVideo; + return this; + } + + /** + * Optional. Mask for video transform (diffdiff). + * @return value or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestVideo getMask() { + return mask; + } + + /** + * Optional. Mask for video transform (diffdiff). + * @param mask mask or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform setMask(CloudAiLargeModelsVisionGenerateVideoRequestVideo mask) { + this.mask = mask; + return this; + } + + /** + * Optional. Noise strength for video transform. + * @return value or {@code null} for none + */ + public java.lang.Float getNoiseStrength() { + return noiseStrength; + } + + /** + * Optional. Noise strength for video transform. + * @param noiseStrength noiseStrength or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform setNoiseStrength(java.lang.Float noiseStrength) { + this.noiseStrength = noiseStrength; + return this; + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform set(String fieldName, Object value) { + return (CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform) super.set(fieldName, value); + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform clone() { + return (CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoRequestAudio.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoRequestAudio.java new file mode 100644 index 00000000000..9b53e7dfd36 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoRequestAudio.java @@ -0,0 +1,138 @@ +/* + * 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.v1beta1.model; + +/** + * The raw bytes or Cloud Storage URI for an audio input. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CloudAiLargeModelsVisionGenerateVideoRequestAudio extends com.google.api.client.json.GenericJson { + + /** + * Blob ID of the audio. This is used for storing the large audio in the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String blobId; + + /** + * Base64 encoded bytes string representing the audio. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String bytesBase64Encoded; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gcsUri; + + /** + * The MIME type of the content of the audio. Only audio in below listed MIME types are supported. + * - audio/wav - audio/mp3 - audio/mpeg + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mimeType; + + /** + * Blob ID of the audio. This is used for storing the large audio in the request. + * @return value or {@code null} for none + */ + public java.lang.String getBlobId() { + return blobId; + } + + /** + * Blob ID of the audio. This is used for storing the large audio in the request. + * @param blobId blobId or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestAudio setBlobId(java.lang.String blobId) { + this.blobId = blobId; + return this; + } + + /** + * Base64 encoded bytes string representing the audio. + * @return value or {@code null} for none + */ + public java.lang.String getBytesBase64Encoded() { + return bytesBase64Encoded; + } + + /** + * Base64 encoded bytes string representing the audio. + * @param bytesBase64Encoded bytesBase64Encoded or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestAudio setBytesBase64Encoded(java.lang.String bytesBase64Encoded) { + this.bytesBase64Encoded = bytesBase64Encoded; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getGcsUri() { + return gcsUri; + } + + /** + * @param gcsUri gcsUri or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestAudio setGcsUri(java.lang.String gcsUri) { + this.gcsUri = gcsUri; + return this; + } + + /** + * The MIME type of the content of the audio. Only audio in below listed MIME types are supported. + * - audio/wav - audio/mp3 - audio/mpeg + * @return value or {@code null} for none + */ + public java.lang.String getMimeType() { + return mimeType; + } + + /** + * The MIME type of the content of the audio. Only audio in below listed MIME types are supported. + * - audio/wav - audio/mp3 - audio/mpeg + * @param mimeType mimeType or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestAudio setMimeType(java.lang.String mimeType) { + this.mimeType = mimeType; + return this; + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoRequestAudio set(String fieldName, Object value) { + return (CloudAiLargeModelsVisionGenerateVideoRequestAudio) super.set(fieldName, value); + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoRequestAudio clone() { + return (CloudAiLargeModelsVisionGenerateVideoRequestAudio) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoRequestVideo.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoRequestVideo.java new file mode 100644 index 00000000000..c18461c82b5 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoRequestVideo.java @@ -0,0 +1,138 @@ +/* + * 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.v1beta1.model; + +/** + * Model definition for CloudAiLargeModelsVisionGenerateVideoRequestVideo. + * + *

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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class CloudAiLargeModelsVisionGenerateVideoRequestVideo extends com.google.api.client.json.GenericJson { + + /** + * Blob ID of the video. This is used for storing large videos in the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String blobId; + + /** + * Base64 encoded bytes string representing the video. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String bytesBase64Encoded; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gcsUri; + + /** + * The MIME type of the content of the video. Only the video in the below listed MIME types are + * supported. - video/mp4 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mimeType; + + /** + * Blob ID of the video. This is used for storing large videos in the request. + * @return value or {@code null} for none + */ + public java.lang.String getBlobId() { + return blobId; + } + + /** + * Blob ID of the video. This is used for storing large videos in the request. + * @param blobId blobId or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestVideo setBlobId(java.lang.String blobId) { + this.blobId = blobId; + return this; + } + + /** + * Base64 encoded bytes string representing the video. + * @return value or {@code null} for none + */ + public java.lang.String getBytesBase64Encoded() { + return bytesBase64Encoded; + } + + /** + * Base64 encoded bytes string representing the video. + * @param bytesBase64Encoded bytesBase64Encoded or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestVideo setBytesBase64Encoded(java.lang.String bytesBase64Encoded) { + this.bytesBase64Encoded = bytesBase64Encoded; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getGcsUri() { + return gcsUri; + } + + /** + * @param gcsUri gcsUri or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestVideo setGcsUri(java.lang.String gcsUri) { + this.gcsUri = gcsUri; + return this; + } + + /** + * The MIME type of the content of the video. Only the video in the below listed MIME types are + * supported. - video/mp4 + * @return value or {@code null} for none + */ + public java.lang.String getMimeType() { + return mimeType; + } + + /** + * The MIME type of the content of the video. Only the video in the below listed MIME types are + * supported. - video/mp4 + * @param mimeType mimeType or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoRequestVideo setMimeType(java.lang.String mimeType) { + this.mimeType = mimeType; + return this; + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoRequestVideo set(String fieldName, Object value) { + return (CloudAiLargeModelsVisionGenerateVideoRequestVideo) super.set(fieldName, value); + } + + @Override + public CloudAiLargeModelsVisionGenerateVideoRequestVideo clone() { + return (CloudAiLargeModelsVisionGenerateVideoRequestVideo) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1AudioContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1AudioContent.java index fe1bb833a78..48c45dcb9c2 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1AudioContent.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1AudioContent.java @@ -44,11 +44,12 @@ public final class GenaiVertexV1beta1AudioContent extends com.google.api.client. private java.lang.String data; /** - * The mime type of the audio. + * Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the + * GAOS parser/serializer maps this to the "mime_type" JSON key. * The value may be {@code null}. */ @com.google.api.client.util.Key - private java.lang.String mimeType; + private java.lang.String mimeTypeString; /** * The sample rate of the audio. @@ -127,19 +128,21 @@ public GenaiVertexV1beta1AudioContent encodeData(byte[] data) { } /** - * The mime type of the audio. + * Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the + * GAOS parser/serializer maps this to the "mime_type" JSON key. * @return value or {@code null} for none */ - public java.lang.String getMimeType() { - return mimeType; + public java.lang.String getMimeTypeString() { + return mimeTypeString; } /** - * The mime type of the audio. - * @param mimeType mimeType or {@code null} for none + * Flexible MIME type string of the audio, superseding mime_type = 1. Note: Bespoke logic in the + * GAOS parser/serializer maps this to the "mime_type" JSON key. + * @param mimeTypeString mimeTypeString or {@code null} for none */ - public GenaiVertexV1beta1AudioContent setMimeType(java.lang.String mimeType) { - this.mimeType = mimeType; + public GenaiVertexV1beta1AudioContent setMimeTypeString(java.lang.String mimeTypeString) { + this.mimeTypeString = mimeTypeString; return this; } diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeMenderAgentConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeMenderAgentConfig.java index a902ff28ab2..7a68f31dd85 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeMenderAgentConfig.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeMenderAgentConfig.java @@ -33,14 +33,14 @@ public final class GenaiVertexV1beta1CodeMenderAgentConfig extends com.google.ap * Parameters for finding vulnerabilities. * The value may be {@code null}. */ - @com.google.api.client.util.Key("find_request") + @com.google.api.client.util.Key private GenaiVertexV1beta1CodeMenderAgentConfigFindRequest findRequest; /** * Parameters for fixing vulnerabilities. * The value may be {@code null}. */ - @com.google.api.client.util.Key("fix_request") + @com.google.api.client.util.Key private GenaiVertexV1beta1CodeMenderAgentConfigFixRequest fixRequest; /** @@ -55,14 +55,14 @@ public final class GenaiVertexV1beta1CodeMenderAgentConfig extends com.google.ap * Optional session-specific configurations to override default agent behavior. * The value may be {@code null}. */ - @com.google.api.client.util.Key("session_config") + @com.google.api.client.util.Key private GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig sessionConfig; /** * Parameter for grouping multiple interactions that belong to the same CodeMender session. * The value may be {@code null}. */ - @com.google.api.client.util.Key("session_id") + @com.google.api.client.util.Key private java.lang.String sessionId; /** diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeMenderAgentConfigFindRequest.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeMenderAgentConfigFindRequest.java index 76fdefdec84..09691ea2500 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeMenderAgentConfigFindRequest.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeMenderAgentConfigFindRequest.java @@ -42,7 +42,7 @@ public final class GenaiVertexV1beta1CodeMenderAgentConfigFindRequest extends co * the agent's execution-based validation on a single vulnerability. * The value may be {@code null}. */ - @com.google.api.client.util.Key("finding_id") + @com.google.api.client.util.Key private java.lang.String findingId; /** @@ -56,7 +56,7 @@ public final class GenaiVertexV1beta1CodeMenderAgentConfigFindRequest extends co * A list of source files to provide as context for the scan. * The value may be {@code null}. */ - @com.google.api.client.util.Key("source_files") + @com.google.api.client.util.Key private java.util.List sourceFiles; static { diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeMenderAgentConfigFixRequest.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeMenderAgentConfigFixRequest.java index 45bff59a574..287b26bfa5f 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeMenderAgentConfigFixRequest.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeMenderAgentConfigFixRequest.java @@ -42,7 +42,7 @@ public final class GenaiVertexV1beta1CodeMenderAgentConfigFixRequest extends com * discovered vulnerability. * The value may be {@code null}. */ - @com.google.api.client.util.Key("finding_id") + @com.google.api.client.util.Key private java.lang.String findingId; /** @@ -50,7 +50,7 @@ public final class GenaiVertexV1beta1CodeMenderAgentConfigFixRequest extends com * ones containing the identified vulnerability. * The value may be {@code null}. */ - @com.google.api.client.util.Key("source_files") + @com.google.api.client.util.Key private java.util.List sourceFiles; static { diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig.java index 042c0208f29..7dfe74a117f 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig.java @@ -34,7 +34,7 @@ public final class GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig extends * timeout. * The value may be {@code null}. */ - @com.google.api.client.util.Key("max_rounds") + @com.google.api.client.util.Key private java.lang.Integer maxRounds; /** diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1DocumentContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1DocumentContent.java index e5b5607f49c..7d701d2820d 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1DocumentContent.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1DocumentContent.java @@ -37,11 +37,12 @@ public final class GenaiVertexV1beta1DocumentContent extends com.google.api.clie private java.lang.String data; /** - * The mime type of the document. + * Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in + * the GAOS parser/serializer maps this to the "mime_type" JSON key. * The value may be {@code null}. */ @com.google.api.client.util.Key - private java.lang.String mimeType; + private java.lang.String mimeTypeString; /** * The URI of the document. @@ -96,19 +97,21 @@ public GenaiVertexV1beta1DocumentContent encodeData(byte[] data) { } /** - * The mime type of the document. + * Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in + * the GAOS parser/serializer maps this to the "mime_type" JSON key. * @return value or {@code null} for none */ - public java.lang.String getMimeType() { - return mimeType; + public java.lang.String getMimeTypeString() { + return mimeTypeString; } /** - * The mime type of the document. - * @param mimeType mimeType or {@code null} for none + * Flexible MIME type string of the document, superseding mime_type = 1. Note: Bespoke logic in + * the GAOS parser/serializer maps this to the "mime_type" JSON key. + * @param mimeTypeString mimeTypeString or {@code null} for none */ - public GenaiVertexV1beta1DocumentContent setMimeType(java.lang.String mimeType) { - this.mimeType = mimeType; + public GenaiVertexV1beta1DocumentContent setMimeTypeString(java.lang.String mimeTypeString) { + this.mimeTypeString = mimeTypeString; return this; } diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfig.java index d44bd2f49da..a21de88e63d 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfig.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfig.java @@ -41,14 +41,14 @@ public final class GenaiVertexV1beta1EnvironmentConfig extends com.google.api.cl * Allow only specific domains. * The value may be {@code null}. */ - @com.google.api.client.util.Key("network_allowlist") + @com.google.api.client.util.Key private GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist networkAllowlist; /** * Network egress mode. * The value may be {@code null}. */ - @com.google.api.client.util.Key("network_mode") + @com.google.api.client.util.Key private java.lang.String networkMode; /** diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ExaAISearchConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ExaAISearchConfig.java index beeb7f30feb..1a86bf70311 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ExaAISearchConfig.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ExaAISearchConfig.java @@ -33,14 +33,14 @@ public final class GenaiVertexV1beta1ExaAISearchConfig extends com.google.api.cl * Required. The API key for ExaAiSearch. * The value may be {@code null}. */ - @com.google.api.client.util.Key("api_key") + @com.google.api.client.util.Key private java.lang.String apiKey; /** * Optional. This field can be used to pass any parameter from the Exa.ai Search API. * The value may be {@code null}. */ - @com.google.api.client.util.Key("custom_config") + @com.google.api.client.util.Key private java.util.Map customConfig; /** diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ImageContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ImageContent.java index 3816de06145..cec96fe60a0 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ImageContent.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ImageContent.java @@ -37,11 +37,12 @@ public final class GenaiVertexV1beta1ImageContent extends com.google.api.client. private java.lang.String data; /** - * The mime type of the image. + * Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the + * GAOS parser/serializer maps this to the "mime_type" JSON key. * The value may be {@code null}. */ @com.google.api.client.util.Key - private java.lang.String mimeType; + private java.lang.String mimeTypeString; /** * The resolution of the media. @@ -103,19 +104,21 @@ public GenaiVertexV1beta1ImageContent encodeData(byte[] data) { } /** - * The mime type of the image. + * Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the + * GAOS parser/serializer maps this to the "mime_type" JSON key. * @return value or {@code null} for none */ - public java.lang.String getMimeType() { - return mimeType; + public java.lang.String getMimeTypeString() { + return mimeTypeString; } /** - * The mime type of the image. - * @param mimeType mimeType or {@code null} for none + * Flexible MIME type string of the image, superseding mime_type = 1. Note: Bespoke logic in the + * GAOS parser/serializer maps this to the "mime_type" JSON key. + * @param mimeTypeString mimeTypeString or {@code null} for none */ - public GenaiVertexV1beta1ImageContent setMimeType(java.lang.String mimeType) { - this.mimeType = mimeType; + public GenaiVertexV1beta1ImageContent setMimeTypeString(java.lang.String mimeTypeString) { + this.mimeTypeString = mimeTypeString; return this; } diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Interaction.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Interaction.java index aea7954dbef..3bb50677bec 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Interaction.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Interaction.java @@ -73,6 +73,19 @@ public final class GenaiVertexV1beta1Interaction extends com.google.api.client.j @com.google.api.client.util.Key private java.lang.String environmentId; + /** + * Output only. Diagnostic faults / platform errors recorded on the interaction. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List errors; + + static { + // hack to force ProGuard to consider GenaiVertexV1beta1Error used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GenaiVertexV1beta1Error.class); + } + /** * Required. Output only. A unique identifier for the interaction completion. * The value may be {@code null}. @@ -180,9 +193,16 @@ public final class GenaiVertexV1beta1Interaction extends com.google.api.client.j * Safety settings for the interaction. * The value may be {@code null}. */ - @com.google.api.client.util.Key("safety_settings") + @com.google.api.client.util.Key private java.util.List safetySettings; + /** + * The service tier for the interaction. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String serviceTier; + /** * Required. Output only. The status of the interaction. * The value may be {@code null}. @@ -353,6 +373,23 @@ public GenaiVertexV1beta1Interaction setEnvironmentId(java.lang.String environme return this; } + /** + * Output only. Diagnostic faults / platform errors recorded on the interaction. + * @return value or {@code null} for none + */ + public java.util.List getErrors() { + return errors; + } + + /** + * Output only. Diagnostic faults / platform errors recorded on the interaction. + * @param errors errors or {@code null} for none + */ + public GenaiVertexV1beta1Interaction setErrors(java.util.List errors) { + this.errors = errors; + return this; + } + /** * Required. Output only. A unique identifier for the interaction completion. * @return value or {@code null} for none @@ -603,6 +640,23 @@ public GenaiVertexV1beta1Interaction setSafetySettings(java.util.List customConfig; /** diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfig.java index 39e3f6c4403..d4169430af7 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfig.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfig.java @@ -33,28 +33,28 @@ public final class GenaiVertexV1beta1RagStoreConfig extends com.google.api.clien * Optional. The representation of the rag source. * The value may be {@code null}. */ - @com.google.api.client.util.Key("rag_resources") + @com.google.api.client.util.Key private java.util.List ragResources; /** * Optional. The retrieval config for the Rag query. * The value may be {@code null}. */ - @com.google.api.client.util.Key("rag_retrieval_config") + @com.google.api.client.util.Key private GenaiVertexV1beta1RagStoreConfigRagRetrievalConfig ragRetrievalConfig; /** * Optional. Number of top k results to return from the selected corpora. * The value may be {@code null}. */ - @com.google.api.client.util.Key("similarity_top_k") + @com.google.api.client.util.Key private java.lang.Integer similarityTopK; /** * Optional. Only return results with vector distance smaller than the threshold. * The value may be {@code null}. */ - @com.google.api.client.util.Key("vector_distance_threshold") + @com.google.api.client.util.Key private java.lang.Double vectorDistanceThreshold; /** diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagResource.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagResource.java index 0e64719a86c..2a8455ef560 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagResource.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagResource.java @@ -33,14 +33,14 @@ public final class GenaiVertexV1beta1RagStoreConfigRagResource extends com.googl * Optional. RagCorpora resource name. * The value may be {@code null}. */ - @com.google.api.client.util.Key("rag_corpus") + @com.google.api.client.util.Key private java.lang.String ragCorpus; /** * Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field. * The value may be {@code null}. */ - @com.google.api.client.util.Key("rag_file_ids") + @com.google.api.client.util.Key private java.util.List ragFileIds; /** diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagRetrievalConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagRetrievalConfig.java index 2f5146a695d..73166e2c933 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagRetrievalConfig.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagRetrievalConfig.java @@ -40,7 +40,7 @@ public final class GenaiVertexV1beta1RagStoreConfigRagRetrievalConfig extends co * Optional. Config for Hybrid Search. * The value may be {@code null}. */ - @com.google.api.client.util.Key("hybrid_search") + @com.google.api.client.util.Key private GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigHybridSearch hybridSearch; /** @@ -54,7 +54,7 @@ public final class GenaiVertexV1beta1RagStoreConfigRagRetrievalConfig extends co * Optional. The number of contexts to retrieve. * The value may be {@code null}. */ - @com.google.api.client.util.Key("top_k") + @com.google.api.client.util.Key private java.lang.Integer topK; /** diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigFilter.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigFilter.java index 5c5fbf2f1a7..b5dd69a1221 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigFilter.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigFilter.java @@ -33,21 +33,21 @@ public final class GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigFilter exte * Optional. String for metadata filtering. * The value may be {@code null}. */ - @com.google.api.client.util.Key("metadata_filter") + @com.google.api.client.util.Key private java.lang.String metadataFilter; /** * Optional. Only returns contexts with vector distance smaller than the threshold. * The value may be {@code null}. */ - @com.google.api.client.util.Key("vector_distance_threshold") + @com.google.api.client.util.Key private java.lang.Double vectorDistanceThreshold; /** * Optional. Only returns contexts with vector similarity larger than the threshold. * The value may be {@code null}. */ - @com.google.api.client.util.Key("vector_similarity_threshold") + @com.google.api.client.util.Key private java.lang.Double vectorSimilarityThreshold; /** diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigRanking.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigRanking.java index 9c2df756698..1e5ce094f86 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigRanking.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigRanking.java @@ -33,7 +33,7 @@ public final class GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigRanking ext * Optional. Config for Rank Service. * The value may be {@code null}. */ - @com.google.api.client.util.Key("rank_service") + @com.google.api.client.util.Key private GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigRankingRankService rankService; /** diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigRankingRankService.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigRankingRankService.java index 51cd0c8f693..62f7c0c781b 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigRankingRankService.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigRankingRankService.java @@ -33,7 +33,7 @@ public final class GenaiVertexV1beta1RagStoreConfigRagRetrievalConfigRankingRank * Optional. The model name of the rank service. * The value may be {@code null}. */ - @com.google.api.client.util.Key("model_name") + @com.google.api.client.util.Key private java.lang.String modelName; /** diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Retrieval.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Retrieval.java index e5f2ad339d5..1542a559a89 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Retrieval.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Retrieval.java @@ -33,21 +33,21 @@ public final class GenaiVertexV1beta1Retrieval extends com.google.api.client.jso * Used to specify configuration for ExaAISearch. * The value may be {@code null}. */ - @com.google.api.client.util.Key("exa_ai_search_config") + @com.google.api.client.util.Key private GenaiVertexV1beta1ExaAISearchConfig exaAiSearchConfig; /** * Used to specify configuration for ParallelAISearch. * The value may be {@code null}. */ - @com.google.api.client.util.Key("parallel_ai_search_config") + @com.google.api.client.util.Key private GenaiVertexV1beta1ParallelAISearchConfig parallelAiSearchConfig; /** * Used to specify configuration for RagStore. * The value may be {@code null}. */ - @com.google.api.client.util.Key("rag_store_config") + @com.google.api.client.util.Key private GenaiVertexV1beta1RagStoreConfig ragStoreConfig; /** @@ -61,7 +61,7 @@ public final class GenaiVertexV1beta1Retrieval extends com.google.api.client.jso * Used to specify configuration for VertexAISearch. * The value may be {@code null}. */ - @com.google.api.client.util.Key("vertex_ai_search_config") + @com.google.api.client.util.Key private GenaiVertexV1beta1VertexAISearchConfig vertexAiSearchConfig; /** diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoContent.java index 3c4d7014593..1388b7dffd4 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoContent.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoContent.java @@ -37,11 +37,12 @@ public final class GenaiVertexV1beta1VideoContent extends com.google.api.client. private java.lang.String data; /** - * The mime type of the video. + * Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the + * GAOS parser/serializer maps this to the "mime_type" JSON key. * The value may be {@code null}. */ @com.google.api.client.util.Key - private java.lang.String mimeType; + private java.lang.String mimeTypeString; /** * The resolution of the media. @@ -103,19 +104,21 @@ public GenaiVertexV1beta1VideoContent encodeData(byte[] data) { } /** - * The mime type of the video. + * Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the + * GAOS parser/serializer maps this to the "mime_type" JSON key. * @return value or {@code null} for none */ - public java.lang.String getMimeType() { - return mimeType; + public java.lang.String getMimeTypeString() { + return mimeTypeString; } /** - * The mime type of the video. - * @param mimeType mimeType or {@code null} for none + * Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the + * GAOS parser/serializer maps this to the "mime_type" JSON key. + * @param mimeTypeString mimeTypeString or {@code null} for none */ - public GenaiVertexV1beta1VideoContent setMimeType(java.lang.String mimeType) { - this.mimeType = mimeType; + public GenaiVertexV1beta1VideoContent setMimeTypeString(java.lang.String mimeTypeString) { + this.mimeTypeString = mimeTypeString; return this; } diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AggregateAnalyzedSessionsResponseAgentAggregate.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AggregateAnalyzedSessionsResponseAgentAggregate.java index 1ebf2f43d86..f2c5b29f625 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AggregateAnalyzedSessionsResponseAgentAggregate.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AggregateAnalyzedSessionsResponseAgentAggregate.java @@ -37,8 +37,12 @@ public final class GoogleCloudAiplatformV1beta1AggregateAnalyzedSessionsResponse private java.lang.String agentDisplayName; /** - * The agent resource name. Format: - * `projects/{project}/locations/{location}/reasoningEngines/{agent}` + * The resource name or identifier of the agent. Matches `AgentResource.agent` on the + * corresponding `MonitoredAgent`, so the format depends on that agent's + * `AgentResource.agent_type`: * `REASONING_ENGINE`: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` * + * `CLOUD_RUN_SERVICE`, `GKE_WORKLOAD`, `GCE_INSTANCE`: the resource name of the agent's runtime. + * * `AGENT_TYPE_OTHER`: a stable identifier for the agent. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -52,6 +56,15 @@ public final class GoogleCloudAiplatformV1beta1AggregateAnalyzedSessionsResponse @com.google.api.client.util.Key private java.lang.String agentStatus; + /** + * Output only. The runtime the agent is hosted on (for example, `CLOUD_RUN_SERVICE`). + * `AGENT_TYPE_UNSPECIFIED` means the runtime is unknown to this service, which is distinct from + * `AGENT_TYPE_OTHER` (known, and not one of the enumerated Google Cloud runtimes). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String agentType; + /** * The number of anomalous (SESSION_STATE_FLAGGED) sessions for this agent. * The value may be {@code null}. @@ -117,8 +130,12 @@ public GoogleCloudAiplatformV1beta1AggregateAnalyzedSessionsResponseAgentAggrega } /** - * The agent resource name. Format: - * `projects/{project}/locations/{location}/reasoningEngines/{agent}` + * The resource name or identifier of the agent. Matches `AgentResource.agent` on the + * corresponding `MonitoredAgent`, so the format depends on that agent's + * `AgentResource.agent_type`: * `REASONING_ENGINE`: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` * + * `CLOUD_RUN_SERVICE`, `GKE_WORKLOAD`, `GCE_INSTANCE`: the resource name of the agent's runtime. + * * `AGENT_TYPE_OTHER`: a stable identifier for the agent. * @return value or {@code null} for none */ public java.lang.String getAgentResourceName() { @@ -126,8 +143,12 @@ public java.lang.String getAgentResourceName() { } /** - * The agent resource name. Format: - * `projects/{project}/locations/{location}/reasoningEngines/{agent}` + * The resource name or identifier of the agent. Matches `AgentResource.agent` on the + * corresponding `MonitoredAgent`, so the format depends on that agent's + * `AgentResource.agent_type`: * `REASONING_ENGINE`: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` * + * `CLOUD_RUN_SERVICE`, `GKE_WORKLOAD`, `GCE_INSTANCE`: the resource name of the agent's runtime. + * * `AGENT_TYPE_OTHER`: a stable identifier for the agent. * @param agentResourceName agentResourceName or {@code null} for none */ public GoogleCloudAiplatformV1beta1AggregateAnalyzedSessionsResponseAgentAggregate setAgentResourceName(java.lang.String agentResourceName) { @@ -154,6 +175,27 @@ public GoogleCloudAiplatformV1beta1AggregateAnalyzedSessionsResponseAgentAggrega return this; } + /** + * Output only. The runtime the agent is hosted on (for example, `CLOUD_RUN_SERVICE`). + * `AGENT_TYPE_UNSPECIFIED` means the runtime is unknown to this service, which is distinct from + * `AGENT_TYPE_OTHER` (known, and not one of the enumerated Google Cloud runtimes). + * @return value or {@code null} for none + */ + public java.lang.String getAgentType() { + return agentType; + } + + /** + * Output only. The runtime the agent is hosted on (for example, `CLOUD_RUN_SERVICE`). + * `AGENT_TYPE_UNSPECIFIED` means the runtime is unknown to this service, which is distinct from + * `AGENT_TYPE_OTHER` (known, and not one of the enumerated Google Cloud runtimes). + * @param agentType agentType or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1AggregateAnalyzedSessionsResponseAgentAggregate setAgentType(java.lang.String agentType) { + this.agentType = agentType; + return this; + } + /** * The number of anomalous (SESSION_STATE_FLAGGED) sessions for this agent. * @return value or {@code null} for none diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AnalyzedSession.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AnalyzedSession.java index 941c1c6b07a..7f422f64015 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AnalyzedSession.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AnalyzedSession.java @@ -39,8 +39,12 @@ public final class GoogleCloudAiplatformV1beta1AnalyzedSession extends com.googl private java.lang.String agentDisplayName; /** - * Output only. The agent resource name. Format: - * `projects/{project}/locations/{location}/reasoningEngines/{agent}` + * Output only. The resource name or identifier of the agent that ran this session. Matches + * `AgentResource.agent` on the corresponding `MonitoredAgent`, so the format depends on that + * agent's `AgentResource.agent_type`: * `REASONING_ENGINE`: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` * + * `CLOUD_RUN_SERVICE`, `GKE_WORKLOAD`, `GCE_INSTANCE`: the resource name of the agent's runtime. + * * `AGENT_TYPE_OTHER`: a stable identifier for the agent. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -55,6 +59,17 @@ public final class GoogleCloudAiplatformV1beta1AnalyzedSession extends com.googl @com.google.api.client.util.Key private java.lang.String agentState; + /** + * Output only. The runtime that the agent which ran this session is hosted on (for example, + * `CLOUD_RUN_SERVICE`). `AGENT_TYPE_UNSPECIFIED` means the runtime is unknown to this service -- + * the agent is not enrolled as a `MonitoredAgent`, or was enrolled before its runtime was + * recorded. That is distinct from `AGENT_TYPE_OTHER`, which means the runtime is known and is not + * one of the enumerated Google Cloud runtimes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String agentType; + /** * Output only. Overall security assessment. Populated only in FULL view. * The value may be {@code null}. @@ -142,8 +157,12 @@ public GoogleCloudAiplatformV1beta1AnalyzedSession setAgentDisplayName(java.lang } /** - * Output only. The agent resource name. Format: - * `projects/{project}/locations/{location}/reasoningEngines/{agent}` + * Output only. The resource name or identifier of the agent that ran this session. Matches + * `AgentResource.agent` on the corresponding `MonitoredAgent`, so the format depends on that + * agent's `AgentResource.agent_type`: * `REASONING_ENGINE`: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` * + * `CLOUD_RUN_SERVICE`, `GKE_WORKLOAD`, `GCE_INSTANCE`: the resource name of the agent's runtime. + * * `AGENT_TYPE_OTHER`: a stable identifier for the agent. * @return value or {@code null} for none */ public java.lang.String getAgentResourceName() { @@ -151,8 +170,12 @@ public java.lang.String getAgentResourceName() { } /** - * Output only. The agent resource name. Format: - * `projects/{project}/locations/{location}/reasoningEngines/{agent}` + * Output only. The resource name or identifier of the agent that ran this session. Matches + * `AgentResource.agent` on the corresponding `MonitoredAgent`, so the format depends on that + * agent's `AgentResource.agent_type`: * `REASONING_ENGINE`: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` * + * `CLOUD_RUN_SERVICE`, `GKE_WORKLOAD`, `GCE_INSTANCE`: the resource name of the agent's runtime. + * * `AGENT_TYPE_OTHER`: a stable identifier for the agent. * @param agentResourceName agentResourceName or {@code null} for none */ public GoogleCloudAiplatformV1beta1AnalyzedSession setAgentResourceName(java.lang.String agentResourceName) { @@ -181,6 +204,31 @@ public GoogleCloudAiplatformV1beta1AnalyzedSession setAgentState(java.lang.Strin return this; } + /** + * Output only. The runtime that the agent which ran this session is hosted on (for example, + * `CLOUD_RUN_SERVICE`). `AGENT_TYPE_UNSPECIFIED` means the runtime is unknown to this service -- + * the agent is not enrolled as a `MonitoredAgent`, or was enrolled before its runtime was + * recorded. That is distinct from `AGENT_TYPE_OTHER`, which means the runtime is known and is not + * one of the enumerated Google Cloud runtimes. + * @return value or {@code null} for none + */ + public java.lang.String getAgentType() { + return agentType; + } + + /** + * Output only. The runtime that the agent which ran this session is hosted on (for example, + * `CLOUD_RUN_SERVICE`). `AGENT_TYPE_UNSPECIFIED` means the runtime is unknown to this service -- + * the agent is not enrolled as a `MonitoredAgent`, or was enrolled before its runtime was + * recorded. That is distinct from `AGENT_TYPE_OTHER`, which means the runtime is known and is not + * one of the enumerated Google Cloud runtimes. + * @param agentType agentType or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1AnalyzedSession setAgentType(java.lang.String agentType) { + this.agentType = agentType; + return this; + } + /** * Output only. Overall security assessment. Populated only in FULL view. * @return value or {@code null} for none diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscription.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscription.java index fb772a3e613..2eda4fda6f8 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscription.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscription.java @@ -18,7 +18,7 @@ /** * The transcription of an audio part. For multi-speaker audio, each speaker segment is a separate - * Part with its own AudioTranscription carrying the speaker_label. + * `Part` with its own `AudioTranscription` carrying the `speaker_label`. * *

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: @@ -31,8 +31,8 @@ public final class GoogleCloudAiplatformV1beta1AudioTranscription extends com.google.api.client.json.GenericJson { /** - * Optional. A label identifying the speaker of this audio segment (e.g. "spk_1", "spk_2"). - * Present when diarization is set. + * Optional. A label identifying the speaker of this audio segment (e.g. `spk_1`, `spk_2`). + * Present when `diarization` is set. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -46,16 +46,16 @@ public final class GoogleCloudAiplatformV1beta1AudioTranscription extends com.go private java.lang.String text; /** - * Optional. Detailed word-level transcriptions and timing details. Present when word_timestamp is - * set. + * Optional. Detailed word-level transcriptions and timing details. Present when `word_timestamp` + * is set. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List words; /** - * Optional. A label identifying the speaker of this audio segment (e.g. "spk_1", "spk_2"). - * Present when diarization is set. + * Optional. A label identifying the speaker of this audio segment (e.g. `spk_1`, `spk_2`). + * Present when `diarization` is set. * @return value or {@code null} for none */ public java.lang.String getSpeakerLabel() { @@ -63,8 +63,8 @@ public java.lang.String getSpeakerLabel() { } /** - * Optional. A label identifying the speaker of this audio segment (e.g. "spk_1", "spk_2"). - * Present when diarization is set. + * Optional. A label identifying the speaker of this audio segment (e.g. `spk_1`, `spk_2`). + * Present when `diarization` is set. * @param speakerLabel speakerLabel or {@code null} for none */ public GoogleCloudAiplatformV1beta1AudioTranscription setSpeakerLabel(java.lang.String speakerLabel) { @@ -90,8 +90,8 @@ public GoogleCloudAiplatformV1beta1AudioTranscription setText(java.lang.String t } /** - * Optional. Detailed word-level transcriptions and timing details. Present when word_timestamp is - * set. + * Optional. Detailed word-level transcriptions and timing details. Present when `word_timestamp` + * is set. * @return value or {@code null} for none */ public java.util.List getWords() { @@ -99,8 +99,8 @@ public java.util.List ge } /** - * Optional. Detailed word-level transcriptions and timing details. Present when word_timestamp is - * set. + * Optional. Detailed word-level transcriptions and timing details. Present when `word_timestamp` + * is set. * @param words words or {@code null} for none */ public GoogleCloudAiplatformV1beta1AudioTranscription setWords(java.util.List words) { diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfig.java index 13e55c0ced3..a6499a4be95 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfig.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfig.java @@ -30,7 +30,8 @@ public final class GoogleCloudAiplatformV1beta1AudioTranscriptionConfig extends com.google.api.client.json.GenericJson { /** - * Optional. A list of phrases to bias the ASR model towards. + * Optional. Deprecated: Use `custom_vocabulary` instead. A list of phrases to bias the speech + * recognition model towards. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -83,7 +84,8 @@ public final class GoogleCloudAiplatformV1beta1AudioTranscriptionConfig extends private java.lang.Boolean wordTimestamp; /** - * Optional. A list of phrases to bias the ASR model towards. + * Optional. Deprecated: Use `custom_vocabulary` instead. A list of phrases to bias the speech + * recognition model towards. * @return value or {@code null} for none */ public java.util.List getAdaptationPhrases() { @@ -91,7 +93,8 @@ public java.util.List getAdaptationPhrases() { } /** - * Optional. A list of phrases to bias the ASR model towards. + * Optional. Deprecated: Use `custom_vocabulary` instead. A list of phrases to bias the speech + * recognition model towards. * @param adaptationPhrases adaptationPhrases or {@code null} for none */ public GoogleCloudAiplatformV1beta1AudioTranscriptionConfig setAdaptationPhrases(java.util.List adaptationPhrases) { diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec.java index a03529638c9..90d7bd4a372 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec.java @@ -29,6 +29,18 @@ @SuppressWarnings("javadoc") public final class GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec extends com.google.api.client.json.GenericJson { + /** + * Optional. The region to use for code execution. If set, the Code Execution Sandbox will be + * invoked in the specified region regardless of the request's originating region. Must be a + * region where the Code Execution Sandbox is available. Supported regions: us-central1, us-east1, + * us-east4, us-west1, us-west4, southamerica-east1, europe-west2, europe-west3, asia-east1, asia- + * south1, asia-southeast1. If unset, the request's originating region is used; requests from + * regions where the sandbox is unavailable will fail with UNIMPLEMENTED. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String codeExecutionRegion; + /** * Required. Python function. Expected user to define the following function, e.g.: def * evaluate(instance: dict[str, Any]) -> float: Please include this function signature in the code @@ -46,6 +58,33 @@ public final class GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec extends c @com.google.api.client.util.Key private java.lang.String evaluationFunction; + /** + * Optional. The region to use for code execution. If set, the Code Execution Sandbox will be + * invoked in the specified region regardless of the request's originating region. Must be a + * region where the Code Execution Sandbox is available. Supported regions: us-central1, us-east1, + * us-east4, us-west1, us-west4, southamerica-east1, europe-west2, europe-west3, asia-east1, asia- + * south1, asia-southeast1. If unset, the request's originating region is used; requests from + * regions where the sandbox is unavailable will fail with UNIMPLEMENTED. + * @return value or {@code null} for none + */ + public java.lang.String getCodeExecutionRegion() { + return codeExecutionRegion; + } + + /** + * Optional. The region to use for code execution. If set, the Code Execution Sandbox will be + * invoked in the specified region regardless of the request's originating region. Must be a + * region where the Code Execution Sandbox is available. Supported regions: us-central1, us-east1, + * us-east4, us-west1, us-west4, southamerica-east1, europe-west2, europe-west3, asia-east1, asia- + * south1, asia-southeast1. If unset, the request's originating region is used; requests from + * regions where the sandbox is unavailable will fail with UNIMPLEMENTED. + * @param codeExecutionRegion codeExecutionRegion or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec setCodeExecutionRegion(java.lang.String codeExecutionRegion) { + this.codeExecutionRegion = codeExecutionRegion; + return this; + } + /** * Required. Python function. Expected user to define the following function, e.g.: def * evaluate(instance: dict[str, Any]) -> float: Please include this function signature in the code diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationParserConfigCustomCodeParserConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationParserConfigCustomCodeParserConfig.java index c1e3fc15b08..23abe1c312d 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationParserConfigCustomCodeParserConfig.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationParserConfigCustomCodeParserConfig.java @@ -29,6 +29,17 @@ @SuppressWarnings("javadoc") public final class GoogleCloudAiplatformV1beta1EvaluationParserConfigCustomCodeParserConfig extends com.google.api.client.json.GenericJson { + /** + * Optional. The region to use for code execution. If set, the Code Execution Sandbox will be + * invoked in the specified region regardless of the request's originating region. Must be a + * region where the Code Execution Sandbox is available. Supported regions: us-central1, us-east1, + * us-east4, us-west1, us-west4, southamerica-east1, europe-west2, europe-west3, asia-east1, asia- + * south1, asia-southeast1. If unset, the request's originating region is used. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String codeExecutionRegion; + /** * Required. Python function for parsing results. The function should be defined within this * string. The function takes a list of strings (LLM responses) and should return either a list of @@ -46,6 +57,31 @@ public final class GoogleCloudAiplatformV1beta1EvaluationParserConfigCustomCodeP @com.google.api.client.util.Key private java.lang.String parsingFunction; + /** + * Optional. The region to use for code execution. If set, the Code Execution Sandbox will be + * invoked in the specified region regardless of the request's originating region. Must be a + * region where the Code Execution Sandbox is available. Supported regions: us-central1, us-east1, + * us-east4, us-west1, us-west4, southamerica-east1, europe-west2, europe-west3, asia-east1, asia- + * south1, asia-southeast1. If unset, the request's originating region is used. + * @return value or {@code null} for none + */ + public java.lang.String getCodeExecutionRegion() { + return codeExecutionRegion; + } + + /** + * Optional. The region to use for code execution. If set, the Code Execution Sandbox will be + * invoked in the specified region regardless of the request's originating region. Must be a + * region where the Code Execution Sandbox is available. Supported regions: us-central1, us-east1, + * us-east4, us-west1, us-west4, southamerica-east1, europe-west2, europe-west3, asia-east1, asia- + * south1, asia-southeast1. If unset, the request's originating region is used. + * @param codeExecutionRegion codeExecutionRegion or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1EvaluationParserConfigCustomCodeParserConfig setCodeExecutionRegion(java.lang.String codeExecutionRegion) { + this.codeExecutionRegion = codeExecutionRegion; + return this; + } + /** * Required. Python function for parsing results. The function should be defined within this * string. The function takes a list of strings (LLM responses) and should return either a list of diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GenerationConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GenerationConfig.java index a3ba9ab273d..ff246a54445 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GenerationConfig.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GenerationConfig.java @@ -40,7 +40,7 @@ public final class GoogleCloudAiplatformV1beta1GenerationConfig extends com.goog private java.lang.Boolean audioTimestamp; /** - * Optional. Config for audio transcription (speech recognition). + * Optional. Configuration for audio transcription (speech recognition). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -275,7 +275,7 @@ public GoogleCloudAiplatformV1beta1GenerationConfig setAudioTimestamp(java.lang. } /** - * Optional. Config for audio transcription (speech recognition). + * Optional. Configuration for audio transcription (speech recognition). * @return value or {@code null} for none */ public GoogleCloudAiplatformV1beta1AudioTranscriptionConfig getAudioTranscriptionConfig() { @@ -283,7 +283,7 @@ public GoogleCloudAiplatformV1beta1AudioTranscriptionConfig getAudioTranscriptio } /** - * Optional. Config for audio transcription (speech recognition). + * Optional. Configuration for audio transcription (speech recognition). * @param audioTranscriptionConfig audioTranscriptionConfig or {@code null} for none */ public GoogleCloudAiplatformV1beta1GenerationConfig setAudioTranscriptionConfig(GoogleCloudAiplatformV1beta1AudioTranscriptionConfig audioTranscriptionConfig) { diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Part.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Part.java index d3d1d20144d..a701bc879a5 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Part.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Part.java @@ -34,8 +34,8 @@ public final class GoogleCloudAiplatformV1beta1Part extends com.google.api.client.json.GenericJson { /** - * Optional. Audio (input or output) transcription. This is only set when this Part contains audio - * data. + * Optional. Audio (input or output) transcription. This is only set when this `Part` contains + * audio data. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -126,8 +126,8 @@ public final class GoogleCloudAiplatformV1beta1Part extends com.google.api.clien private GoogleCloudAiplatformV1beta1VideoMetadata videoMetadata; /** - * Optional. Audio (input or output) transcription. This is only set when this Part contains audio - * data. + * Optional. Audio (input or output) transcription. This is only set when this `Part` contains + * audio data. * @return value or {@code null} for none */ public GoogleCloudAiplatformV1beta1AudioTranscription getAudioTranscription() { @@ -135,8 +135,8 @@ public GoogleCloudAiplatformV1beta1AudioTranscription getAudioTranscription() { } /** - * Optional. Audio (input or output) transcription. This is only set when this Part contains audio - * data. + * Optional. Audio (input or output) transcription. This is only set when this `Part` contains + * audio data. * @param audioTranscription audioTranscription or {@code null} for none */ public GoogleCloudAiplatformV1beta1Part setAudioTranscription(GoogleCloudAiplatformV1beta1AudioTranscription audioTranscription) { diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest.java index e8e9f16f882..c95f2dd2f5b 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest.java @@ -17,7 +17,7 @@ package com.google.api.services.aiplatform.v1beta1.model; /** - * Request message for ReasoningEngineExecutionService.Query. + * Request message for ReasoningEngineExecutionService.QueryReasoningEngine. * *

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: diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse.java index 93a9af7209a..7d623b55dc5 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse.java @@ -17,7 +17,7 @@ package com.google.api.services.aiplatform.v1beta1.model; /** - * Response message for ReasoningEngineExecutionService.Query + * Response message for ReasoningEngineExecutionService.QueryReasoningEngine. * *

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: diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ReinforcementTuningExample.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ReinforcementTuningExample.java index 8b24216a14c..6e4b7ac8ca5 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ReinforcementTuningExample.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ReinforcementTuningExample.java @@ -65,6 +65,13 @@ public final class GoogleCloudAiplatformV1beta1ReinforcementTuningExample extend @com.google.api.client.util.Key private GoogleCloudAiplatformV1beta1Content systemInstruction; + /** + * Optional. Corresponds to tools in user-facing GenerateContentRequest. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List tools; + /** * Multi-turn contents that represents the Prompt. * @return value or {@code null} for none @@ -134,6 +141,23 @@ public GoogleCloudAiplatformV1beta1ReinforcementTuningExample setSystemInstructi return this; } + /** + * Optional. Corresponds to tools in user-facing GenerateContentRequest. + * @return value or {@code null} for none + */ + public java.util.List getTools() { + return tools; + } + + /** + * Optional. Corresponds to tools in user-facing GenerateContentRequest. + * @param tools tools or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1ReinforcementTuningExample setTools(java.util.List tools) { + this.tools = tools; + return this; + } + @Override public GoogleCloudAiplatformV1beta1ReinforcementTuningExample set(String fieldName, Object value) { return (GoogleCloudAiplatformV1beta1ReinforcementTuningExample) super.set(fieldName, value); diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ReservationAffinity.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ReservationAffinity.java index cfa219142ac..6a4d29bf0e0 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ReservationAffinity.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ReservationAffinity.java @@ -48,8 +48,8 @@ public final class GoogleCloudAiplatformV1beta1ReservationAffinity extends com.g private java.lang.String reservationAffinityType; /** - * Optional. Corresponds to the label values of a reservation resource. This must be the full - * resource name of the reservation or reservation block. + * Optional. Corresponds to the label values of a reservation resource. This must be the resource + * name of the reservation, reservation block, or reservation sub- block. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -94,8 +94,8 @@ public GoogleCloudAiplatformV1beta1ReservationAffinity setReservationAffinityTyp } /** - * Optional. Corresponds to the label values of a reservation resource. This must be the full - * resource name of the reservation or reservation block. + * Optional. Corresponds to the label values of a reservation resource. This must be the resource + * name of the reservation, reservation block, or reservation sub- block. * @return value or {@code null} for none */ public java.util.List getValues() { @@ -103,8 +103,8 @@ public java.util.List getValues() { } /** - * Optional. Corresponds to the label values of a reservation resource. This must be the full - * resource name of the reservation or reservation block. + * Optional. Corresponds to the label values of a reservation resource. This must be the resource + * name of the reservation, reservation block, or reservation sub- block. * @param values values or {@code null} for none */ public GoogleCloudAiplatformV1beta1ReservationAffinity setValues(java.util.List values) { diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest.java index a339c5067de..1311668bef9 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest.java @@ -17,7 +17,7 @@ package com.google.api.services.aiplatform.v1beta1.model; /** - * Request message for ReasoningEngineExecutionService.StreamQuery. + * Request message for ReasoningEngineExecutionService.StreamQueryReasoningEngine. * *

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: diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/pom.xml b/clients/google-api-services-aiplatform/v1beta1/2.0.0/pom.xml index 6c5c2575a27..09e3e9e0981 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-aiplatform - v1beta1-rev20260801-2.0.0 - Agent Platform API v1beta1-rev20260801-2.0.0 + v1beta1-rev20260808-2.0.0 + Agent Platform API v1beta1-rev20260808-2.0.0 jar 2011 diff --git a/clients/google-api-services-aiplatform/v1beta1/README.md b/clients/google-api-services-aiplatform/v1beta1/README.md index b327774302e..106e93c1cc3 100644 --- a/clients/google-api-services-aiplatform/v1beta1/README.md +++ b/clients/google-api-services-aiplatform/v1beta1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-aiplatform - v1beta1-rev20260801-2.0.0 + v1beta1-rev20260808-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260801-2.0.0' + implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260808-2.0.0' } ```