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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-firebaseml</artifactId>
<version>v2beta-rev20261011-2.0.0</version>
<version>v2beta-rev20261018-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20261011-2.0.0'
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20261018-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ public final class GoogleCloudAiplatformV1beta1GenerateContentRequest extends co
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1beta1ModelArmorConfig modelArmorConfig;

/**
* Optional. Configuration for persisting output assets to external storage.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1beta1GenerateContentRequestOutputConfig outputConfig;

/**
* Optional. Per request settings for blocking unsafe content. Enforced on
* GenerateContentResponse.candidates.
Expand Down Expand Up @@ -279,6 +286,23 @@ public GoogleCloudAiplatformV1beta1GenerateContentRequest setModelArmorConfig(Go
return this;
}

/**
* Optional. Configuration for persisting output assets to external storage.
* @return value or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1GenerateContentRequestOutputConfig getOutputConfig() {
return outputConfig;
}

/**
* Optional. Configuration for persisting output assets to external storage.
* @param outputConfig outputConfig or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1GenerateContentRequest setOutputConfig(GoogleCloudAiplatformV1beta1GenerateContentRequestOutputConfig outputConfig) {
this.outputConfig = outputConfig;
return this;
}

/**
* Optional. Per request settings for blocking unsafe content. Enforced on
* GenerateContentResponse.candidates.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
/*
* 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.firebaseml.v2beta.model;

/**
* Configuration for persisting output assets to external storage.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Firebase ML API. For a detailed explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleCloudAiplatformV1beta1GenerateContentRequestOutputConfig extends com.google.api.client.json.GenericJson {

/**
* Optional. The Cloud Storage URI prefix or directory where generated media assets should be
* written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes
* are written directly to this location and returned as `FileData` with a `file_uri` instead of
* raw inline bytes.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String outputUriPrefix;

/**
* Optional. The Cloud Storage URI prefix or directory where generated media assets should be
* written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes
* are written directly to this location and returned as `FileData` with a `file_uri` instead of
* raw inline bytes.
* @return value or {@code null} for none
*/
public java.lang.String getOutputUriPrefix() {
return outputUriPrefix;
}

/**
* Optional. The Cloud Storage URI prefix or directory where generated media assets should be
* written (e.g. `gs://my-bucket/prefix/`). Supported URI schemes: `gs://`. When set, media bytes
* are written directly to this location and returned as `FileData` with a `file_uri` instead of
* raw inline bytes.
* @param outputUriPrefix outputUriPrefix or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1GenerateContentRequestOutputConfig setOutputUriPrefix(java.lang.String outputUriPrefix) {
this.outputUriPrefix = outputUriPrefix;
return this;
}

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

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

}
4 changes: 2 additions & 2 deletions clients/google-api-services-firebaseml/v2beta/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-firebaseml</artifactId>
<version>v2beta-rev20261011-2.0.0</version>
<name>Firebase ML API v2beta-rev20261011-2.0.0</name>
<version>v2beta-rev20261018-2.0.0</version>
<name>Firebase ML API v2beta-rev20261018-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-firebaseml/v2beta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-firebaseml</artifactId>
<version>v2beta-rev20261011-2.0.0</version>
<version>v2beta-rev20261018-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20261011-2.0.0'
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20261018-2.0.0'
}
```

Expand Down
Loading