@@ -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 )
@@ -4573,6 +4597,12 @@ def update!(**args)
45734597 class GoogleCloudVideointelligenceV1p2beta1SpeechTranscriptionConfig
45744598 include Google ::Apis ::Core ::Hashable
45754599
4600+ # Optional. Legacy field. This field must be a Cloud Storage URI prefix. (e.g., `
4601+ # gs://bucket/path/`).
4602+ # Corresponds to the JSON property `audioOutputUriPrefix`
4603+ # @return [String]
4604+ attr_accessor :audio_output_uri_prefix
4605+
45764606 # Optional. For file formats, such as MXF or MKV, supporting multiple audio
45774607 # tracks, specify up to two tracks. Default: track 0.
45784608 # Corresponds to the JSON property `audioTracks`
@@ -4652,6 +4682,7 @@ def initialize(**args)
46524682
46534683 # Update properties of this object
46544684 def update! ( **args )
4685+ @audio_output_uri_prefix = args [ :audio_output_uri_prefix ] if args . key? ( :audio_output_uri_prefix )
46554686 @audio_tracks = args [ :audio_tracks ] if args . key? ( :audio_tracks )
46564687 @diarization_speaker_count = args [ :diarization_speaker_count ] if args . key? ( :diarization_speaker_count )
46574688 @enable_automatic_punctuation = args [ :enable_automatic_punctuation ] if args . key? ( :enable_automatic_punctuation )
@@ -5180,6 +5211,13 @@ class GoogleCloudVideointelligenceV1p2beta1WordInfo
51805211 # @return [String]
51815212 attr_accessor :end_time
51825213
5214+ # Output only. A distinct string value is assigned for every speaker within the
5215+ # audio. This field specifies which one of those speakers was detected to have
5216+ # spoken this word.
5217+ # Corresponds to the JSON property `speakerLabel`
5218+ # @return [String]
5219+ attr_accessor :speaker_label
5220+
51835221 # Output only. A distinct integer value is assigned for every speaker within the
51845222 # audio. This field specifies which one of those speakers was detected to have
51855223 # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
@@ -5209,6 +5247,7 @@ def initialize(**args)
52095247 def update! ( **args )
52105248 @confidence = args [ :confidence ] if args . key? ( :confidence )
52115249 @end_time = args [ :end_time ] if args . key? ( :end_time )
5250+ @speaker_label = args [ :speaker_label ] if args . key? ( :speaker_label )
52125251 @speaker_tag = args [ :speaker_tag ] if args . key? ( :speaker_tag )
52135252 @start_time = args [ :start_time ] if args . key? ( :start_time )
52145253 @word = args [ :word ] if args . key? ( :word )
@@ -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