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-rev20260726-2.0.0</version>
<version>v2beta-rev20260802-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-rev20260726-2.0.0'
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20260802-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,24 @@ public final class GoogleCloudAiplatformV1beta1AudioTranscriptionConfig extends
private java.lang.Boolean diarization;

/**
* Optional. The model will detect the language automatically.
* Optional. Deprecated: Use top-level `language_codes` instead. The model will detect the
* language automatically.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto languageAuto;

/**
* Optional. Specifies one or more languages in the audio.
* Optional. BCP-47 language codes providing hints about the languages present in the audio. If
* omitted or empty, defaults to automatic language detection.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> languageCodes;

/**
* Optional. Deprecated: Use top-level `language_codes` instead. Specifies one or more languages
* in the audio.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -126,15 +136,17 @@ public GoogleCloudAiplatformV1beta1AudioTranscriptionConfig setDiarization(java.
}

/**
* Optional. The model will detect the language automatically.
* Optional. Deprecated: Use top-level `language_codes` instead. The model will detect the
* language automatically.
* @return value or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto getLanguageAuto() {
return languageAuto;
}

/**
* Optional. The model will detect the language automatically.
* Optional. Deprecated: Use top-level `language_codes` instead. The model will detect the
* language automatically.
* @param languageAuto languageAuto or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1AudioTranscriptionConfig setLanguageAuto(GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto languageAuto) {
Expand All @@ -143,15 +155,36 @@ public GoogleCloudAiplatformV1beta1AudioTranscriptionConfig setLanguageAuto(Goog
}

/**
* Optional. Specifies one or more languages in the audio.
* Optional. BCP-47 language codes providing hints about the languages present in the audio. If
* omitted or empty, defaults to automatic language detection.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getLanguageCodes() {
return languageCodes;
}

/**
* Optional. BCP-47 language codes providing hints about the languages present in the audio. If
* omitted or empty, defaults to automatic language detection.
* @param languageCodes languageCodes or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1AudioTranscriptionConfig setLanguageCodes(java.util.List<java.lang.String> languageCodes) {
this.languageCodes = languageCodes;
return this;
}

/**
* Optional. Deprecated: Use top-level `language_codes` instead. Specifies one or more languages
* in the audio.
* @return value or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints getLanguageHints() {
return languageHints;
}

/**
* Optional. Specifies one or more languages in the audio.
* Optional. Deprecated: Use top-level `language_codes` instead. Specifies one or more languages
* in the audio.
* @param languageHints languageHints or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1AudioTranscriptionConfig setLanguageHints(GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints languageHints) {
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;

/**
* Indicates the language of the audio should be automatically detected.
* Deprecated: Use top-level `language_codes` instead. Indicates the language of the audio should be
* automatically detected.
*
* <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
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
package com.google.api.services.firebaseml.v2beta.model;

/**
* Provides hints to the model about possible languages present in the audio.
* Deprecated: Use top-level `language_codes` instead. Provides hints to the model about possible
* languages present in the audio.
*
* <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 All @@ -30,22 +31,25 @@
public final class GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints extends com.google.api.client.json.GenericJson {

/**
* Required. BCP-47 language codes. At least one must be specified.
* Required. Deprecated: Use top-level `language_codes` instead. BCP-47 language codes. At least
* one must be specified.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> languageCodes;

/**
* Required. BCP-47 language codes. At least one must be specified.
* Required. Deprecated: Use top-level `language_codes` instead. BCP-47 language codes. At least
* one must be specified.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getLanguageCodes() {
return languageCodes;
}

/**
* Required. BCP-47 language codes. At least one must be specified.
* Required. Deprecated: Use top-level `language_codes` instead. BCP-47 language codes. At least
* one must be specified.
* @param languageCodes languageCodes or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints setLanguageCodes(java.util.List<java.lang.String> languageCodes) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ public final class GoogleCloudAiplatformV1beta1VideoResponseFormat extends com.g
@com.google.api.client.util.Key
private java.lang.String gcsUri;

/**
* Optional. The video output resolution. Supported values: "360p", "720p", "1080p", "4k".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String resolution;

/**
* The aspect ratio for the video output.
* @return value or {@code null} for none
Expand Down Expand Up @@ -128,6 +135,23 @@ public GoogleCloudAiplatformV1beta1VideoResponseFormat setGcsUri(java.lang.Strin
return this;
}

/**
* Optional. The video output resolution. Supported values: "360p", "720p", "1080p", "4k".
* @return value or {@code null} for none
*/
public java.lang.String getResolution() {
return resolution;
}

/**
* Optional. The video output resolution. Supported values: "360p", "720p", "1080p", "4k".
* @param resolution resolution or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1VideoResponseFormat setResolution(java.lang.String resolution) {
this.resolution = resolution;
return this;
}

@Override
public GoogleCloudAiplatformV1beta1VideoResponseFormat set(String fieldName, Object value) {
return (GoogleCloudAiplatformV1beta1VideoResponseFormat) super.set(fieldName, value);
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-rev20260726-2.0.0</version>
<name>Firebase ML API v2beta-rev20260726-2.0.0</name>
<version>v2beta-rev20260802-2.0.0</version>
<name>Firebase ML API v2beta-rev20260802-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-rev20260726-2.0.0</version>
<version>v2beta-rev20260802-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-rev20260726-2.0.0'
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20260802-2.0.0'
}
```

Expand Down
Loading