@@ -4192,6 +4192,56 @@ def update_youtube_v3_comment_threads(comment_thread_object = nil, part: nil, fi
4192
4192
command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
4193
4193
execute_or_queue_command ( command , &block )
4194
4194
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
4195
4245
4196
4246
protected
4197
4247
0 commit comments