From c0d73354b051676efcd384ea81b1d6a0fa33312e Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Thu, 12 Nov 2020 03:40:45 -0800 Subject: [PATCH] feat: Automated regeneration of youtube v3 client --- generated/google/apis/youtube_v3.rb | 2 +- generated/google/apis/youtube_v3/service.rb | 12 ++++++------ generated/google/apis/youtube_v3/synth.metadata | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/generated/google/apis/youtube_v3.rb b/generated/google/apis/youtube_v3.rb index 562abe29625..b86c591b425 100644 --- a/generated/google/apis/youtube_v3.rb +++ b/generated/google/apis/youtube_v3.rb @@ -26,7 +26,7 @@ module Apis # @see https://developers.google.com/youtube/ module YoutubeV3 VERSION = 'V3' - REVISION = '20201027' + REVISION = '20201110' # Manage your YouTube account AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' diff --git a/generated/google/apis/youtube_v3/service.rb b/generated/google/apis/youtube_v3/service.rb index 5696c3f31e1..988dda73116 100644 --- a/generated/google/apis/youtube_v3/service.rb +++ b/generated/google/apis/youtube_v3/service.rb @@ -299,12 +299,12 @@ def insert_caption(part, caption_object = nil, on_behalf_of: nil, on_behalf_of_c end # Retrieves a list of resources, possibly filtered. - # @param [String] video_id - # Returns the captions for the specified video. # @param [Array, String] part # The *part* parameter specifies a comma-separated list of one or more caption # resource parts that the API response will include. The part names that you can # include in the parameter value are id and snippet. + # @param [String] video_id + # Returns the captions for the specified video. # @param [Array, String] id # Returns the captions with the given IDs for Stubby or Apiary. # @param [String] on_behalf_of @@ -336,7 +336,7 @@ def insert_caption(part, caption_object = nil, on_behalf_of: nil, on_behalf_of_c # @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_captions(video_id, part, id: nil, on_behalf_of: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_captions(part, video_id, id: nil, on_behalf_of: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'youtube/v3/captions', options) command.response_representation = Google::Apis::YoutubeV3::ListCaptionsResponse::Representation command.response_class = Google::Apis::YoutubeV3::ListCaptionsResponse @@ -1587,10 +1587,10 @@ def list_live_broadcasts(part, broadcast_status: nil, broadcast_type: nil, id: n end # Transition a broadcast to a given status. - # @param [String] id - # Broadcast to transition. # @param [String] broadcast_status # The status to which the broadcast is going to transition. + # @param [String] id + # Broadcast to transition. # @param [Array, String] part # The *part* parameter specifies a comma-separated list of one or more # liveBroadcast resource properties that the API response will include. The part @@ -1638,7 +1638,7 @@ def list_live_broadcasts(part, broadcast_status: nil, broadcast_type: nil, id: n # @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 transition_live_broadcast(id, broadcast_status, part, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, options: nil, &block) + def transition_live_broadcast(broadcast_status, id, part, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'youtube/v3/liveBroadcasts/transition', options) command.response_representation = Google::Apis::YoutubeV3::LiveBroadcast::Representation command.response_class = Google::Apis::YoutubeV3::LiveBroadcast diff --git a/generated/google/apis/youtube_v3/synth.metadata b/generated/google/apis/youtube_v3/synth.metadata index fb5a74b21fe..cd2bc2d5fbc 100644 --- a/generated/google/apis/youtube_v3/synth.metadata +++ b/generated/google/apis/youtube_v3/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "9840c481849200572321532ecc3b128bebbc1583" + "sha": "b225891cdea37559c05bab3e62c427ff73169b3f" } } ]