Skip to content

Commit

Permalink
feat: Automated regeneration of youtube v3 client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Nov 12, 2020
1 parent b225891 commit c0d7335
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion generated/google/apis/youtube_v3.rb
Expand Up @@ -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'
Expand Down
12 changes: 6 additions & 6 deletions generated/google/apis/youtube_v3/service.rb
Expand Up @@ -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>, 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>, String] id
# Returns the captions with the given IDs for Stubby or Apiary.
# @param [String] on_behalf_of
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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>, 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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/youtube_v3/synth.metadata
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "9840c481849200572321532ecc3b128bebbc1583"
"sha": "b225891cdea37559c05bab3e62c427ff73169b3f"
}
}
]
Expand Down

0 comments on commit c0d7335

Please sign in to comment.