From 1800716049f97d068eec19a60e1323e0f606730a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 8 Mar 2026 10:07:18 +0000 Subject: [PATCH] feat: Automated regeneration of videointelligence v1 client --- api_names_out.yaml | 9 +++ .../CHANGELOG.md | 4 ++ .../apis/videointelligence_v1/classes.rb | 56 +++++++++++++++++++ .../apis/videointelligence_v1/gem_version.rb | 4 +- .../videointelligence_v1/representations.rb | 7 +++ .../apis/videointelligence_v1/service.rb | 11 +++- 6 files changed, 88 insertions(+), 3 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index ebe23b1af79..e9cf32dfec3 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -392075,6 +392075,7 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1_SpeechTranscription/alternatives/alternative": alternative "/videointelligence:v1/GoogleCloudVideointelligenceV1_SpeechTranscription/languageCode": language_code "/videointelligence:v1/GoogleCloudVideointelligenceV1_SpeechTranscriptionConfig": google_cloud_videointelligence_v1_speech_transcription_config +"/videointelligence:v1/GoogleCloudVideointelligenceV1_SpeechTranscriptionConfig/audioOutputUriPrefix": audio_output_uri_prefix "/videointelligence:v1/GoogleCloudVideointelligenceV1_SpeechTranscriptionConfig/audioTracks": audio_tracks "/videointelligence:v1/GoogleCloudVideointelligenceV1_SpeechTranscriptionConfig/audioTracks/audio_track": audio_track "/videointelligence:v1/GoogleCloudVideointelligenceV1_SpeechTranscriptionConfig/diarizationSpeakerCount": diarization_speaker_count @@ -392177,6 +392178,7 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1_WordInfo": google_cloud_videointelligence_v1_word_info "/videointelligence:v1/GoogleCloudVideointelligenceV1_WordInfo/confidence": confidence "/videointelligence:v1/GoogleCloudVideointelligenceV1_WordInfo/endTime": end_time +"/videointelligence:v1/GoogleCloudVideointelligenceV1_WordInfo/speakerLabel": speaker_label "/videointelligence:v1/GoogleCloudVideointelligenceV1_WordInfo/speakerTag": speaker_tag "/videointelligence:v1/GoogleCloudVideointelligenceV1_WordInfo/startTime": start_time "/videointelligence:v1/GoogleCloudVideointelligenceV1_WordInfo/word": word @@ -392398,6 +392400,7 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_WordInfo": google_cloud_videointelligence_v1beta2_word_info "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_WordInfo/confidence": confidence "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_WordInfo/endTime": end_time +"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_WordInfo/speakerLabel": speaker_label "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_WordInfo/speakerTag": speaker_tag "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_WordInfo/startTime": start_time "/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_WordInfo/word": word @@ -392595,6 +392598,7 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_WordInfo": google_cloud_videointelligence_v1p1beta1_word_info "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_WordInfo/confidence": confidence "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_WordInfo/endTime": end_time +"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_WordInfo/speakerLabel": speaker_label "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_WordInfo/speakerTag": speaker_tag "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_WordInfo/startTime": start_time "/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_WordInfo/word": word @@ -392780,6 +392784,7 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_WordInfo": google_cloud_videointelligence_v1p2beta1_word_info "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_WordInfo/confidence": confidence "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_WordInfo/endTime": end_time +"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_WordInfo/speakerLabel": speaker_label "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_WordInfo/speakerTag": speaker_tag "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_WordInfo/startTime": start_time "/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_WordInfo/word": word @@ -392991,6 +392996,7 @@ "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_WordInfo": google_cloud_videointelligence_v1p3beta1_word_info "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_WordInfo/confidence": confidence "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_WordInfo/endTime": end_time +"/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_WordInfo/speakerLabel": speaker_label "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_WordInfo/speakerTag": speaker_tag "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_WordInfo/startTime": start_time "/videointelligence:v1/GoogleCloudVideointelligenceV1p3beta1_WordInfo/word": word @@ -393116,6 +393122,8 @@ "/videointelligence:v1/GoogleLongrunning_ListOperationsResponse/nextPageToken": next_page_token "/videointelligence:v1/GoogleLongrunning_ListOperationsResponse/operations": operations "/videointelligence:v1/GoogleLongrunning_ListOperationsResponse/operations/operation": operation +"/videointelligence:v1/GoogleLongrunning_ListOperationsResponse/unreachable": unreachable +"/videointelligence:v1/GoogleLongrunning_ListOperationsResponse/unreachable/unreachable": unreachable "/videointelligence:v1/GoogleLongrunning_Operation": google_longrunning_operation "/videointelligence:v1/GoogleLongrunning_Operation/done": done "/videointelligence:v1/GoogleLongrunning_Operation/error": error @@ -393166,6 +393174,7 @@ "/videointelligence:v1/videointelligence.projects.locations.operations.list/name": name "/videointelligence:v1/videointelligence.projects.locations.operations.list/pageSize": page_size "/videointelligence:v1/videointelligence.projects.locations.operations.list/pageToken": page_token +"/videointelligence:v1/videointelligence.projects.locations.operations.list/returnPartialSuccess": return_partial_success "/videointelligence:v1/videointelligence.videos.annotate": annotate_video "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_AnnotateVideoProgress": google_cloud_videointelligence_v1_annotate_video_progress "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1_AnnotateVideoProgress/annotationProgress": annotation_progress diff --git a/generated/google-apis-videointelligence_v1/CHANGELOG.md b/generated/google-apis-videointelligence_v1/CHANGELOG.md index 0f99386e21d..a6da9230411 100644 --- a/generated/google-apis-videointelligence_v1/CHANGELOG.md +++ b/generated/google-apis-videointelligence_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-videointelligence_v1 +### v0.28.0 (2026-03-08) + +* Regenerated from discovery document revision 20260304 + ### v0.27.0 (2025-07-27) * Regenerated from discovery document revision 20250724 diff --git a/generated/google-apis-videointelligence_v1/lib/google/apis/videointelligence_v1/classes.rb b/generated/google-apis-videointelligence_v1/lib/google/apis/videointelligence_v1/classes.rb index 503fb012901..5033e93123b 100644 --- a/generated/google-apis-videointelligence_v1/lib/google/apis/videointelligence_v1/classes.rb +++ b/generated/google-apis-videointelligence_v1/lib/google/apis/videointelligence_v1/classes.rb @@ -1033,6 +1033,12 @@ def update!(**args) class GoogleCloudVideointelligenceV1SpeechTranscriptionConfig include Google::Apis::Core::Hashable + # Optional. Legacy field. This field must be a Cloud Storage URI prefix. (e.g., ` + # gs://bucket/path/`). + # Corresponds to the JSON property `audioOutputUriPrefix` + # @return [String] + attr_accessor :audio_output_uri_prefix + # Optional. For file formats, such as MXF or MKV, supporting multiple audio # tracks, specify up to two tracks. Default: track 0. # Corresponds to the JSON property `audioTracks` @@ -1112,6 +1118,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @audio_output_uri_prefix = args[:audio_output_uri_prefix] if args.key?(:audio_output_uri_prefix) @audio_tracks = args[:audio_tracks] if args.key?(:audio_tracks) @diarization_speaker_count = args[:diarization_speaker_count] if args.key?(:diarization_speaker_count) @enable_automatic_punctuation = args[:enable_automatic_punctuation] if args.key?(:enable_automatic_punctuation) @@ -1640,6 +1647,13 @@ class GoogleCloudVideointelligenceV1WordInfo # @return [String] attr_accessor :end_time + # Output only. A distinct string value is assigned for every speaker within the + # audio. This field specifies which one of those speakers was detected to have + # spoken this word. + # Corresponds to the JSON property `speakerLabel` + # @return [String] + attr_accessor :speaker_label + # Output only. A distinct integer value is assigned for every speaker within the # audio. This field specifies which one of those speakers was detected to have # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is @@ -1669,6 +1683,7 @@ def initialize(**args) def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @end_time = args[:end_time] if args.key?(:end_time) + @speaker_label = args[:speaker_label] if args.key?(:speaker_label) @speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag) @start_time = args[:start_time] if args.key?(:start_time) @word = args[:word] if args.key?(:word) @@ -2820,6 +2835,13 @@ class GoogleCloudVideointelligenceV1beta2WordInfo # @return [String] attr_accessor :end_time + # Output only. A distinct string value is assigned for every speaker within the + # audio. This field specifies which one of those speakers was detected to have + # spoken this word. + # Corresponds to the JSON property `speakerLabel` + # @return [String] + attr_accessor :speaker_label + # Output only. A distinct integer value is assigned for every speaker within the # audio. This field specifies which one of those speakers was detected to have # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is @@ -2849,6 +2871,7 @@ def initialize(**args) def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @end_time = args[:end_time] if args.key?(:end_time) + @speaker_label = args[:speaker_label] if args.key?(:speaker_label) @speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag) @start_time = args[:start_time] if args.key?(:start_time) @word = args[:word] if args.key?(:word) @@ -4000,6 +4023,13 @@ class GoogleCloudVideointelligenceV1p1beta1WordInfo # @return [String] attr_accessor :end_time + # Output only. A distinct string value is assigned for every speaker within the + # audio. This field specifies which one of those speakers was detected to have + # spoken this word. + # Corresponds to the JSON property `speakerLabel` + # @return [String] + attr_accessor :speaker_label + # Output only. A distinct integer value is assigned for every speaker within the # audio. This field specifies which one of those speakers was detected to have # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is @@ -4029,6 +4059,7 @@ def initialize(**args) def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @end_time = args[:end_time] if args.key?(:end_time) + @speaker_label = args[:speaker_label] if args.key?(:speaker_label) @speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag) @start_time = args[:start_time] if args.key?(:start_time) @word = args[:word] if args.key?(:word) @@ -5180,6 +5211,13 @@ class GoogleCloudVideointelligenceV1p2beta1WordInfo # @return [String] attr_accessor :end_time + # Output only. A distinct string value is assigned for every speaker within the + # audio. This field specifies which one of those speakers was detected to have + # spoken this word. + # Corresponds to the JSON property `speakerLabel` + # @return [String] + attr_accessor :speaker_label + # Output only. A distinct integer value is assigned for every speaker within the # audio. This field specifies which one of those speakers was detected to have # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is @@ -5209,6 +5247,7 @@ def initialize(**args) def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @end_time = args[:end_time] if args.key?(:end_time) + @speaker_label = args[:speaker_label] if args.key?(:speaker_label) @speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag) @start_time = args[:start_time] if args.key?(:start_time) @word = args[:word] if args.key?(:word) @@ -6566,6 +6605,13 @@ class GoogleCloudVideointelligenceV1p3beta1WordInfo # @return [String] attr_accessor :end_time + # Output only. A distinct string value is assigned for every speaker within the + # audio. This field specifies which one of those speakers was detected to have + # spoken this word. + # Corresponds to the JSON property `speakerLabel` + # @return [String] + attr_accessor :speaker_label + # Output only. A distinct integer value is assigned for every speaker within the # audio. This field specifies which one of those speakers was detected to have # spoken this word. Value ranges from 1 up to diarization_speaker_count, and is @@ -6595,6 +6641,7 @@ def initialize(**args) def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @end_time = args[:end_time] if args.key?(:end_time) + @speaker_label = args[:speaker_label] if args.key?(:speaker_label) @speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag) @start_time = args[:start_time] if args.key?(:start_time) @word = args[:word] if args.key?(:word) @@ -6628,6 +6675,14 @@ class GoogleLongrunningListOperationsResponse # @return [Array] attr_accessor :operations + # Unordered list. Unreachable resources. Populated when the request sets ` + # ListOperationsRequest.return_partial_success` and reads across collections. + # For example, when attempting to list all resources across all supported + # locations. + # Corresponds to the JSON property `unreachable` + # @return [Array] + attr_accessor :unreachable + def initialize(**args) update!(**args) end @@ -6636,6 +6691,7 @@ def initialize(**args) def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @operations = args[:operations] if args.key?(:operations) + @unreachable = args[:unreachable] if args.key?(:unreachable) end end diff --git a/generated/google-apis-videointelligence_v1/lib/google/apis/videointelligence_v1/gem_version.rb b/generated/google-apis-videointelligence_v1/lib/google/apis/videointelligence_v1/gem_version.rb index 2fa491e3e59..8be2be07153 100644 --- a/generated/google-apis-videointelligence_v1/lib/google/apis/videointelligence_v1/gem_version.rb +++ b/generated/google-apis-videointelligence_v1/lib/google/apis/videointelligence_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module VideointelligenceV1 # Version of the google-apis-videointelligence_v1 gem - GEM_VERSION = "0.27.0" + GEM_VERSION = "0.28.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250724" + REVISION = "20260304" end end end diff --git a/generated/google-apis-videointelligence_v1/lib/google/apis/videointelligence_v1/representations.rb b/generated/google-apis-videointelligence_v1/lib/google/apis/videointelligence_v1/representations.rb index 79d8b8fba33..ed38d5cb330 100644 --- a/generated/google-apis-videointelligence_v1/lib/google/apis/videointelligence_v1/representations.rb +++ b/generated/google-apis-videointelligence_v1/lib/google/apis/videointelligence_v1/representations.rb @@ -1447,6 +1447,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudVideointelligenceV1SpeechTranscriptionConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :audio_output_uri_prefix, as: 'audioOutputUriPrefix' collection :audio_tracks, as: 'audioTracks' property :diarization_speaker_count, as: 'diarizationSpeakerCount' property :enable_automatic_punctuation, as: 'enableAutomaticPunctuation' @@ -1615,6 +1616,7 @@ class GoogleCloudVideointelligenceV1WordInfo class Representation < Google::Apis::Core::JsonRepresentation property :confidence, as: 'confidence' property :end_time, as: 'endTime' + property :speaker_label, as: 'speakerLabel' property :speaker_tag, as: 'speakerTag' property :start_time, as: 'startTime' property :word, as: 'word' @@ -1974,6 +1976,7 @@ class GoogleCloudVideointelligenceV1beta2WordInfo class Representation < Google::Apis::Core::JsonRepresentation property :confidence, as: 'confidence' property :end_time, as: 'endTime' + property :speaker_label, as: 'speakerLabel' property :speaker_tag, as: 'speakerTag' property :start_time, as: 'startTime' property :word, as: 'word' @@ -2333,6 +2336,7 @@ class GoogleCloudVideointelligenceV1p1beta1WordInfo class Representation < Google::Apis::Core::JsonRepresentation property :confidence, as: 'confidence' property :end_time, as: 'endTime' + property :speaker_label, as: 'speakerLabel' property :speaker_tag, as: 'speakerTag' property :start_time, as: 'startTime' property :word, as: 'word' @@ -2692,6 +2696,7 @@ class GoogleCloudVideointelligenceV1p2beta1WordInfo class Representation < Google::Apis::Core::JsonRepresentation property :confidence, as: 'confidence' property :end_time, as: 'endTime' + property :speaker_label, as: 'speakerLabel' property :speaker_tag, as: 'speakerTag' property :start_time, as: 'startTime' property :word, as: 'word' @@ -3116,6 +3121,7 @@ class GoogleCloudVideointelligenceV1p3beta1WordInfo class Representation < Google::Apis::Core::JsonRepresentation property :confidence, as: 'confidence' property :end_time, as: 'endTime' + property :speaker_label, as: 'speakerLabel' property :speaker_tag, as: 'speakerTag' property :start_time, as: 'startTime' property :word, as: 'word' @@ -3134,6 +3140,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :operations, as: 'operations', class: Google::Apis::VideointelligenceV1::GoogleLongrunningOperation, decorator: Google::Apis::VideointelligenceV1::GoogleLongrunningOperation::Representation + collection :unreachable, as: 'unreachable' end end diff --git a/generated/google-apis-videointelligence_v1/lib/google/apis/videointelligence_v1/service.rb b/generated/google-apis-videointelligence_v1/lib/google/apis/videointelligence_v1/service.rb index 5a11f655af3..f30ff102ca1 100644 --- a/generated/google-apis-videointelligence_v1/lib/google/apis/videointelligence_v1/service.rb +++ b/generated/google-apis-videointelligence_v1/lib/google/apis/videointelligence_v1/service.rb @@ -268,6 +268,14 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options: # The standard list page size. # @param [String] page_token # The standard list page token. + # @param [Boolean] return_partial_success + # When set to `true`, operations that are reachable are returned as normal, and + # those that are unreachable are returned in the ListOperationsResponse. + # unreachable field. This can only be `true` when reading across collections. + # For example, when `parent` is set to `"projects/example/locations/-"`. This + # field is not supported by default and will result in an `UNIMPLEMENTED` error + # if set unless explicitly documented otherwise in service or product specific + # documentation. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -285,7 +293,7 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options: # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', options) command.response_representation = Google::Apis::VideointelligenceV1::GoogleLongrunningListOperationsResponse::Representation command.response_class = Google::Apis::VideointelligenceV1::GoogleLongrunningListOperationsResponse @@ -293,6 +301,7 @@ def list_project_location_operations(name, filter: nil, page_size: nil, page_tok command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? + command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block)