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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
*
* <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 @@ -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
Expand All @@ -46,25 +46,25 @@ 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<GoogleCloudAiplatformV1beta1AudioTranscriptionWordInfo> 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() {
return speakerLabel;
}

/**
* 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) {
Expand All @@ -90,17 +90,17 @@ 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<GoogleCloudAiplatformV1beta1AudioTranscriptionWordInfo> getWords() {
return words;
}

/**
* 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<GoogleCloudAiplatformV1beta1AudioTranscriptionWordInfo> words) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -83,15 +84,17 @@ 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<java.lang.String> getAdaptationPhrases() {
return adaptationPhrases;
}

/**
* 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<java.lang.String> adaptationPhrases) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -275,15 +275,15 @@ 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() {
return audioTranscriptionConfig;
}

/**
* 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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -126,17 +126,17 @@ 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() {
return audioTranscription;
}

/**
* 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) {
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-rev20260802-2.0.0</version>
<name>Firebase ML API v2beta-rev20260802-2.0.0</name>
<version>v2beta-rev20260809-2.0.0</version>
<name>Firebase ML API v2beta-rev20260809-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-rev20260802-2.0.0</version>
<version>v2beta-rev20260809-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-rev20260802-2.0.0'
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20260809-2.0.0'
}
```

Expand Down
Loading