@@ -1167,6 +1167,13 @@ class GoogleCloudVideointelligenceV1WordInfo
11671167 # @return [String]
11681168 attr_accessor :end_time
11691169
1170+ # Output only. A distinct string value is assigned for every speaker within the
1171+ # audio. This field specifies which one of those speakers was detected to have
1172+ # spoken this word.
1173+ # Corresponds to the JSON property `speakerLabel`
1174+ # @return [String]
1175+ attr_accessor :speaker_label
1176+
11701177 # Output only. A distinct integer value is assigned for every speaker within the
11711178 # audio. This field specifies which one of those speakers was detected to have
11721179 # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
@@ -1196,6 +1203,7 @@ def initialize(**args)
11961203 def update! ( **args )
11971204 @confidence = args [ :confidence ] if args . key? ( :confidence )
11981205 @end_time = args [ :end_time ] if args . key? ( :end_time )
1206+ @speaker_label = args [ :speaker_label ] if args . key? ( :speaker_label )
11991207 @speaker_tag = args [ :speaker_tag ] if args . key? ( :speaker_tag )
12001208 @start_time = args [ :start_time ] if args . key? ( :start_time )
12011209 @word = args [ :word ] if args . key? ( :word )
@@ -2347,6 +2355,13 @@ class GoogleCloudVideointelligenceV1beta2WordInfo
23472355 # @return [String]
23482356 attr_accessor :end_time
23492357
2358+ # Output only. A distinct string value is assigned for every speaker within the
2359+ # audio. This field specifies which one of those speakers was detected to have
2360+ # spoken this word.
2361+ # Corresponds to the JSON property `speakerLabel`
2362+ # @return [String]
2363+ attr_accessor :speaker_label
2364+
23502365 # Output only. A distinct integer value is assigned for every speaker within the
23512366 # audio. This field specifies which one of those speakers was detected to have
23522367 # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
@@ -2376,6 +2391,7 @@ def initialize(**args)
23762391 def update! ( **args )
23772392 @confidence = args [ :confidence ] if args . key? ( :confidence )
23782393 @end_time = args [ :end_time ] if args . key? ( :end_time )
2394+ @speaker_label = args [ :speaker_label ] if args . key? ( :speaker_label )
23792395 @speaker_tag = args [ :speaker_tag ] if args . key? ( :speaker_tag )
23802396 @start_time = args [ :start_time ] if args . key? ( :start_time )
23812397 @word = args [ :word ] if args . key? ( :word )
@@ -3527,6 +3543,13 @@ class GoogleCloudVideointelligenceV1p1beta1WordInfo
35273543 # @return [String]
35283544 attr_accessor :end_time
35293545
3546+ # Output only. A distinct string value is assigned for every speaker within the
3547+ # audio. This field specifies which one of those speakers was detected to have
3548+ # spoken this word.
3549+ # Corresponds to the JSON property `speakerLabel`
3550+ # @return [String]
3551+ attr_accessor :speaker_label
3552+
35303553 # Output only. A distinct integer value is assigned for every speaker within the
35313554 # audio. This field specifies which one of those speakers was detected to have
35323555 # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
@@ -3556,6 +3579,7 @@ def initialize(**args)
35563579 def update! ( **args )
35573580 @confidence = args [ :confidence ] if args . key? ( :confidence )
35583581 @end_time = args [ :end_time ] if args . key? ( :end_time )
3582+ @speaker_label = args [ :speaker_label ] if args . key? ( :speaker_label )
35593583 @speaker_tag = args [ :speaker_tag ] if args . key? ( :speaker_tag )
35603584 @start_time = args [ :start_time ] if args . key? ( :start_time )
35613585 @word = args [ :word ] if args . key? ( :word )
@@ -4707,6 +4731,13 @@ class GoogleCloudVideointelligenceV1p2beta1WordInfo
47074731 # @return [String]
47084732 attr_accessor :end_time
47094733
4734+ # Output only. A distinct string value is assigned for every speaker within the
4735+ # audio. This field specifies which one of those speakers was detected to have
4736+ # spoken this word.
4737+ # Corresponds to the JSON property `speakerLabel`
4738+ # @return [String]
4739+ attr_accessor :speaker_label
4740+
47104741 # Output only. A distinct integer value is assigned for every speaker within the
47114742 # audio. This field specifies which one of those speakers was detected to have
47124743 # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
@@ -4736,6 +4767,7 @@ def initialize(**args)
47364767 def update! ( **args )
47374768 @confidence = args [ :confidence ] if args . key? ( :confidence )
47384769 @end_time = args [ :end_time ] if args . key? ( :end_time )
4770+ @speaker_label = args [ :speaker_label ] if args . key? ( :speaker_label )
47394771 @speaker_tag = args [ :speaker_tag ] if args . key? ( :speaker_tag )
47404772 @start_time = args [ :start_time ] if args . key? ( :start_time )
47414773 @word = args [ :word ] if args . key? ( :word )
@@ -5864,6 +5896,12 @@ def update!(**args)
58645896 class GoogleCloudVideointelligenceV1p3beta1SpeechTranscriptionConfig
58655897 include Google ::Apis ::Core ::Hashable
58665898
5899+ # Optional. Legacy field. This field must be a Cloud Storage URI prefix. (e.g., `
5900+ # gs://bucket/path/`).
5901+ # Corresponds to the JSON property `audioOutputUriPrefix`
5902+ # @return [String]
5903+ attr_accessor :audio_output_uri_prefix
5904+
58675905 # Optional. For file formats, such as MXF or MKV, supporting multiple audio
58685906 # tracks, specify up to two tracks. Default: track 0.
58695907 # Corresponds to the JSON property `audioTracks`
@@ -5943,6 +5981,7 @@ def initialize(**args)
59435981
59445982 # Update properties of this object
59455983 def update! ( **args )
5984+ @audio_output_uri_prefix = args [ :audio_output_uri_prefix ] if args . key? ( :audio_output_uri_prefix )
59465985 @audio_tracks = args [ :audio_tracks ] if args . key? ( :audio_tracks )
59475986 @diarization_speaker_count = args [ :diarization_speaker_count ] if args . key? ( :diarization_speaker_count )
59485987 @enable_automatic_punctuation = args [ :enable_automatic_punctuation ] if args . key? ( :enable_automatic_punctuation )
@@ -6566,6 +6605,13 @@ class GoogleCloudVideointelligenceV1p3beta1WordInfo
65666605 # @return [String]
65676606 attr_accessor :end_time
65686607
6608+ # Output only. A distinct string value is assigned for every speaker within the
6609+ # audio. This field specifies which one of those speakers was detected to have
6610+ # spoken this word.
6611+ # Corresponds to the JSON property `speakerLabel`
6612+ # @return [String]
6613+ attr_accessor :speaker_label
6614+
65696615 # Output only. A distinct integer value is assigned for every speaker within the
65706616 # audio. This field specifies which one of those speakers was detected to have
65716617 # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
@@ -6595,6 +6641,7 @@ def initialize(**args)
65956641 def update! ( **args )
65966642 @confidence = args [ :confidence ] if args . key? ( :confidence )
65976643 @end_time = args [ :end_time ] if args . key? ( :end_time )
6644+ @speaker_label = args [ :speaker_label ] if args . key? ( :speaker_label )
65986645 @speaker_tag = args [ :speaker_tag ] if args . key? ( :speaker_tag )
65996646 @start_time = args [ :start_time ] if args . key? ( :start_time )
66006647 @word = args [ :word ] if args . key? ( :word )
0 commit comments