Skip to content

Commit 825b41e

Browse files
feat: Automated regeneration of youtube v3 client (googleapis#23717)
Auto-created at 2025-07-20 09:55:08 +0000 using the toys pull request generator.
1 parent d6ceab0 commit 825b41e

File tree

3 files changed

+58
-3
lines changed

3 files changed

+58
-3
lines changed

generated/google-apis-youtube_v3/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-youtube_v3
22

3+
### v0.57.0 (2025-07-20)
4+
5+
* Regenerated from discovery document revision 20250714
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.56.0 (2025-05-04)
49

510
* Regenerated from discovery document revision 20250422

generated/google-apis-youtube_v3/lib/google/apis/youtube_v3/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module YoutubeV3
1818
# Version of the google-apis-youtube_v3 gem
19-
GEM_VERSION = "0.56.0"
19+
GEM_VERSION = "0.57.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250422"
25+
REVISION = "20250714"
2626
end
2727
end
2828
end

generated/google-apis-youtube_v3/lib/google/apis/youtube_v3/service.rb

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4192,6 +4192,56 @@ def update_youtube_v3_comment_threads(comment_thread_object = nil, part: nil, fi
41924192
command.query['quotaUser'] = quota_user unless quota_user.nil?
41934193
execute_or_queue_command(command, &block)
41944194
end
4195+
4196+
# Allows a user to load live chat through a server-streamed RPC.
4197+
# @param [String] hl
4198+
# Specifies the localization language in which the system messages should be
4199+
# returned.
4200+
# @param [String] live_chat_id
4201+
# The id of the live chat for which comments should be returned.
4202+
# @param [Fixnum] max_results
4203+
# The *maxResults* parameter specifies the maximum number of items that should
4204+
# be returned in the result set. Not used in the streaming RPC.
4205+
# @param [String] page_token
4206+
# The *pageToken* parameter identifies a specific page in the result set that
4207+
# should be returned. In an API response, the nextPageToken property identify
4208+
# other pages that could be retrieved.
4209+
# @param [Array<String>, String] part
4210+
# The *part* parameter specifies the liveChatComment resource parts that the API
4211+
# response will include. Supported values are id, snippet, and authorDetails.
4212+
# @param [Fixnum] profile_image_size
4213+
# Specifies the size of the profile image that should be returned for each user.
4214+
# @param [String] fields
4215+
# Selector specifying which fields to include in a partial response.
4216+
# @param [String] quota_user
4217+
# Available to use for quota purposes for server-side applications. Can be any
4218+
# arbitrary string assigned to a user, but should not exceed 40 characters.
4219+
# @param [Google::Apis::RequestOptions] options
4220+
# Request-specific options
4221+
#
4222+
# @yield [result, err] Result & error if block supplied
4223+
# @yieldparam result [Google::Apis::YoutubeV3::LiveChatMessageListResponse] parsed result object
4224+
# @yieldparam err [StandardError] error object if request failed
4225+
#
4226+
# @return [Google::Apis::YoutubeV3::LiveChatMessageListResponse]
4227+
#
4228+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4229+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4230+
# @raise [Google::Apis::AuthorizationError] Authorization is required
4231+
def stream_youtube_v3_live_chat_message(hl: nil, live_chat_id: nil, max_results: nil, page_token: nil, part: nil, profile_image_size: nil, fields: nil, quota_user: nil, options: nil, &block)
4232+
command = make_simple_command(:get, 'youtube/v3/liveChat/messages/stream', options)
4233+
command.response_representation = Google::Apis::YoutubeV3::LiveChatMessageListResponse::Representation
4234+
command.response_class = Google::Apis::YoutubeV3::LiveChatMessageListResponse
4235+
command.query['hl'] = hl unless hl.nil?
4236+
command.query['liveChatId'] = live_chat_id unless live_chat_id.nil?
4237+
command.query['maxResults'] = max_results unless max_results.nil?
4238+
command.query['pageToken'] = page_token unless page_token.nil?
4239+
command.query['part'] = part unless part.nil?
4240+
command.query['profileImageSize'] = profile_image_size unless profile_image_size.nil?
4241+
command.query['fields'] = fields unless fields.nil?
4242+
command.query['quotaUser'] = quota_user unless quota_user.nil?
4243+
execute_or_queue_command(command, &block)
4244+
end
41954245

41964246
protected
41974247

0 commit comments

Comments
 (0)