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-rev20261101-2.9.2</version>
<version>v2beta-rev20261106-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20261101-2.9.2'
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20261106-2.9.2'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ public final class GoogleCloudAiplatformV1beta1FunctionResponsePart extends com.
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1beta1FunctionResponseBlob inlineData;

/**
* Optional. Processes this part's media for understanding. Only meaningful for video parts
* (`inline_data` or `file_data` with video mime). Non-video parts ignore this field.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String mediaProcessing;

/**
* URI based data.
* @return value or {@code null} for none
Expand Down Expand Up @@ -81,6 +89,25 @@ public GoogleCloudAiplatformV1beta1FunctionResponsePart setInlineData(GoogleClou
return this;
}

/**
* Optional. Processes this part's media for understanding. Only meaningful for video parts
* (`inline_data` or `file_data` with video mime). Non-video parts ignore this field.
* @return value or {@code null} for none
*/
public java.lang.String getMediaProcessing() {
return mediaProcessing;
}

/**
* Optional. Processes this part's media for understanding. Only meaningful for video parts
* (`inline_data` or `file_data` with video mime). Non-video parts ignore this field.
* @param mediaProcessing mediaProcessing or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1FunctionResponsePart setMediaProcessing(java.lang.String mediaProcessing) {
this.mediaProcessing = mediaProcessing;
return this;
}

@Override
public GoogleCloudAiplatformV1beta1FunctionResponsePart set(String fieldName, Object value) {
return (GoogleCloudAiplatformV1beta1FunctionResponsePart) super.set(fieldName, value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public final class GoogleCloudAiplatformV1beta1GoogleMaps extends com.google.api

/**
* Optional. Specifies the types of Google Maps grounding to enable. Defaults to `places` when
* unset.
* unset, and to `places` and `routing` for Gemini 4 and later models. When set, only the listed
* types are enabled; for example, setting only `places` disables routing.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -69,7 +70,8 @@ public GoogleCloudAiplatformV1beta1GoogleMaps setEnableWidget(java.lang.Boolean

/**
* Optional. Specifies the types of Google Maps grounding to enable. Defaults to `places` when
* unset.
* unset, and to `places` and `routing` for Gemini 4 and later models. When set, only the listed
* types are enabled; for example, setting only `places` disables routing.
* @return value or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1GoogleMapsGroundingTypes getGroundingTypes() {
Expand All @@ -78,7 +80,8 @@ public GoogleCloudAiplatformV1beta1GoogleMapsGroundingTypes getGroundingTypes()

/**
* Optional. Specifies the types of Google Maps grounding to enable. Defaults to `places` when
* unset.
* unset, and to `places` and `routing` for Gemini 4 and later models. When set, only the listed
* types are enabled; for example, setting only `places` disables routing.
* @param groundingTypes groundingTypes or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1GoogleMaps setGroundingTypes(GoogleCloudAiplatformV1beta1GoogleMapsGroundingTypes groundingTypes) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public final class GoogleCloudAiplatformV1beta1GoogleMapsGroundingTypes extends

/**
* Optional. Enables grounding with Google Maps Routing APIs (ComputeRoutes and SearchAlongRoute).
* Also enabled by default for Gemini 4 and later models when no `GroundingTypes` are specified.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand All @@ -65,6 +66,7 @@ public GoogleCloudAiplatformV1beta1GoogleMapsGroundingTypes setPlaces(GoogleClou

/**
* Optional. Enables grounding with Google Maps Routing APIs (ComputeRoutes and SearchAlongRoute).
* Also enabled by default for Gemini 4 and later models when no `GroundingTypes` are specified.
* @return value or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1GoogleMapsRouting getRouting() {
Expand All @@ -73,6 +75,7 @@ public GoogleCloudAiplatformV1beta1GoogleMapsRouting getRouting() {

/**
* Optional. Enables grounding with Google Maps Routing APIs (ComputeRoutes and SearchAlongRoute).
* Also enabled by default for Gemini 4 and later models when no `GroundingTypes` are specified.
* @param routing routing or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1GoogleMapsGroundingTypes setRouting(GoogleCloudAiplatformV1beta1GoogleMapsRouting routing) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
package com.google.api.services.firebaseml.v2beta.model;

/**
* Grounding with Google Maps Routing APIs (ComputeRoutes and SearchAlongRoute).
* Grounding with Google Maps Routing APIs (ComputeRoutes and SearchAlongRoute). Also enabled by
* default for Gemini 4 and later models when no grounding type is specified.
*
* <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:
Expand Down
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-rev20261101-2.9.2</version>
<name>Firebase ML API v2beta-rev20261101-2.9.2</name>
<version>v2beta-rev20261106-2.9.2</version>
<name>Firebase ML API v2beta-rev20261106-2.9.2</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-rev20261101-2.9.2</version>
<version>v2beta-rev20261106-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20261101-2.9.2'
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20261106-2.9.2'
}
```

Expand Down
Loading