@@ -1033,6 +1033,12 @@ def update!(**args)
10331033 class GoogleCloudVideointelligenceV1SpeechTranscriptionConfig
10341034 include Google ::Apis ::Core ::Hashable
10351035
1036+ # Optional. Legacy field. This field must be a Cloud Storage URI prefix. (e.g., `
1037+ # gs://bucket/path/`).
1038+ # Corresponds to the JSON property `audioOutputUriPrefix`
1039+ # @return [String]
1040+ attr_accessor :audio_output_uri_prefix
1041+
10361042 # Optional. For file formats, such as MXF or MKV, supporting multiple audio
10371043 # tracks, specify up to two tracks. Default: track 0.
10381044 # Corresponds to the JSON property `audioTracks`
@@ -1112,6 +1118,7 @@ def initialize(**args)
11121118
11131119 # Update properties of this object
11141120 def update! ( **args )
1121+ @audio_output_uri_prefix = args [ :audio_output_uri_prefix ] if args . key? ( :audio_output_uri_prefix )
11151122 @audio_tracks = args [ :audio_tracks ] if args . key? ( :audio_tracks )
11161123 @diarization_speaker_count = args [ :diarization_speaker_count ] if args . key? ( :diarization_speaker_count )
11171124 @enable_automatic_punctuation = args [ :enable_automatic_punctuation ] if args . key? ( :enable_automatic_punctuation )
@@ -1640,6 +1647,13 @@ class GoogleCloudVideointelligenceV1WordInfo
16401647 # @return [String]
16411648 attr_accessor :end_time
16421649
1650+ # Output only. A distinct string value is assigned for every speaker within the
1651+ # audio. This field specifies which one of those speakers was detected to have
1652+ # spoken this word.
1653+ # Corresponds to the JSON property `speakerLabel`
1654+ # @return [String]
1655+ attr_accessor :speaker_label
1656+
16431657 # Output only. A distinct integer value is assigned for every speaker within the
16441658 # audio. This field specifies which one of those speakers was detected to have
16451659 # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
@@ -1669,6 +1683,7 @@ def initialize(**args)
16691683 def update! ( **args )
16701684 @confidence = args [ :confidence ] if args . key? ( :confidence )
16711685 @end_time = args [ :end_time ] if args . key? ( :end_time )
1686+ @speaker_label = args [ :speaker_label ] if args . key? ( :speaker_label )
16721687 @speaker_tag = args [ :speaker_tag ] if args . key? ( :speaker_tag )
16731688 @start_time = args [ :start_time ] if args . key? ( :start_time )
16741689 @word = args [ :word ] if args . key? ( :word )
@@ -2820,6 +2835,13 @@ class GoogleCloudVideointelligenceV1beta2WordInfo
28202835 # @return [String]
28212836 attr_accessor :end_time
28222837
2838+ # Output only. A distinct string value is assigned for every speaker within the
2839+ # audio. This field specifies which one of those speakers was detected to have
2840+ # spoken this word.
2841+ # Corresponds to the JSON property `speakerLabel`
2842+ # @return [String]
2843+ attr_accessor :speaker_label
2844+
28232845 # Output only. A distinct integer value is assigned for every speaker within the
28242846 # audio. This field specifies which one of those speakers was detected to have
28252847 # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
@@ -2849,6 +2871,7 @@ def initialize(**args)
28492871 def update! ( **args )
28502872 @confidence = args [ :confidence ] if args . key? ( :confidence )
28512873 @end_time = args [ :end_time ] if args . key? ( :end_time )
2874+ @speaker_label = args [ :speaker_label ] if args . key? ( :speaker_label )
28522875 @speaker_tag = args [ :speaker_tag ] if args . key? ( :speaker_tag )
28532876 @start_time = args [ :start_time ] if args . key? ( :start_time )
28542877 @word = args [ :word ] if args . key? ( :word )
@@ -4000,6 +4023,13 @@ class GoogleCloudVideointelligenceV1p1beta1WordInfo
40004023 # @return [String]
40014024 attr_accessor :end_time
40024025
4026+ # Output only. A distinct string value is assigned for every speaker within the
4027+ # audio. This field specifies which one of those speakers was detected to have
4028+ # spoken this word.
4029+ # Corresponds to the JSON property `speakerLabel`
4030+ # @return [String]
4031+ attr_accessor :speaker_label
4032+
40034033 # Output only. A distinct integer value is assigned for every speaker within the
40044034 # audio. This field specifies which one of those speakers was detected to have
40054035 # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
@@ -4029,6 +4059,7 @@ def initialize(**args)
40294059 def update! ( **args )
40304060 @confidence = args [ :confidence ] if args . key? ( :confidence )
40314061 @end_time = args [ :end_time ] if args . key? ( :end_time )
4062+ @speaker_label = args [ :speaker_label ] if args . key? ( :speaker_label )
40324063 @speaker_tag = args [ :speaker_tag ] if args . key? ( :speaker_tag )
40334064 @start_time = args [ :start_time ] if args . key? ( :start_time )
40344065 @word = args [ :word ] if args . key? ( :word )
@@ -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 )
@@ -6628,6 +6675,14 @@ class GoogleLongrunningListOperationsResponse
66286675 # @return [Array<Google::Apis::VideointelligenceV1::GoogleLongrunningOperation>]
66296676 attr_accessor :operations
66306677
6678+ # Unordered list. Unreachable resources. Populated when the request sets `
6679+ # ListOperationsRequest.return_partial_success` and reads across collections.
6680+ # For example, when attempting to list all resources across all supported
6681+ # locations.
6682+ # Corresponds to the JSON property `unreachable`
6683+ # @return [Array<String>]
6684+ attr_accessor :unreachable
6685+
66316686 def initialize ( **args )
66326687 update! ( **args )
66336688 end
@@ -6636,6 +6691,7 @@ def initialize(**args)
66366691 def update! ( **args )
66376692 @next_page_token = args [ :next_page_token ] if args . key? ( :next_page_token )
66386693 @operations = args [ :operations ] if args . key? ( :operations )
6694+ @unreachable = args [ :unreachable ] if args . key? ( :unreachable )
66396695 end
66406696 end
66416697
0 commit comments