google-apis-youtube_v3 0.45.0 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01666c451e16ee227450f0af2a77ba8faeaeb0d73d0c61c2366c2da71a2ceb20
|
4
|
+
data.tar.gz: b565991c9639c269a7fb17d0ec5c293886ebc6b7cc3cb6284c87d1afb0355ac0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2826994f9b2d6e74beb372b98e9a7f4dcbf1368f1cc9d3f77487e302adb89bf9bde6f2e877bfacd4815e13f6f88f3700169d31ec6471fa967480ef5dc2f87f3
|
7
|
+
data.tar.gz: c79e7664c231954e1d912a80fce33a104437b40305ff2c03afa0342a8e9b39225b5322a786c5e8308aad11ca98694e82bbdc39090a99e479a605eb6cda529aa9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-youtube_v3
|
2
2
|
|
3
|
+
### v0.47.0 (2024-10-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241010
|
6
|
+
|
7
|
+
### v0.46.0 (2024-09-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240926
|
10
|
+
|
3
11
|
### v0.45.0 (2024-09-22)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240916
|
@@ -7001,11 +7001,6 @@ module Google
|
|
7001
7001
|
# @return [String]
|
7002
7002
|
attr_accessor :channel_id
|
7003
7003
|
|
7004
|
-
# Channel title for the channel that the subscription belongs to.
|
7005
|
-
# Corresponds to the JSON property `channelTitle`
|
7006
|
-
# @return [String]
|
7007
|
-
attr_accessor :channel_title
|
7008
|
-
|
7009
7004
|
# The subscription's details.
|
7010
7005
|
# Corresponds to the JSON property `description`
|
7011
7006
|
# @return [String]
|
@@ -7038,7 +7033,6 @@ module Google
|
|
7038
7033
|
# Update properties of this object
|
7039
7034
|
def update!(**args)
|
7040
7035
|
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
7041
|
-
@channel_title = args[:channel_title] if args.key?(:channel_title)
|
7042
7036
|
@description = args[:description] if args.key?(:description)
|
7043
7037
|
@published_at = args[:published_at] if args.key?(:published_at)
|
7044
7038
|
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module YoutubeV3
|
18
18
|
# Version of the google-apis-youtube_v3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.47.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241010"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -3047,7 +3047,6 @@ module Google
|
|
3047
3047
|
# @private
|
3048
3048
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3049
3049
|
property :channel_id, as: 'channelId'
|
3050
|
-
property :channel_title, as: 'channelTitle'
|
3051
3050
|
property :description, as: 'description'
|
3052
3051
|
property :published_at, as: 'publishedAt', type: DateTime
|
3053
3052
|
|
@@ -1817,7 +1817,7 @@ module Google
|
|
1817
1817
|
# returned.
|
1818
1818
|
# @param [Fixnum] max_results
|
1819
1819
|
# The *maxResults* parameter specifies the maximum number of items that should
|
1820
|
-
# be returned in the result set.
|
1820
|
+
# be returned in the result set. Not used in the streaming RPC.
|
1821
1821
|
# @param [String] page_token
|
1822
1822
|
# The *pageToken* parameter identifies a specific page in the result set that
|
1823
1823
|
# should be returned. In an API response, the nextPageToken property identify
|
@@ -4159,6 +4159,56 @@ module Google
|
|
4159
4159
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4160
4160
|
execute_or_queue_command(command, &block)
|
4161
4161
|
end
|
4162
|
+
|
4163
|
+
# Allows a user to load live chat through a server-streamed RPC.
|
4164
|
+
# @param [String] hl
|
4165
|
+
# Specifies the localization language in which the system messages should be
|
4166
|
+
# returned.
|
4167
|
+
# @param [String] live_chat_id
|
4168
|
+
# The id of the live chat for which comments should be returned.
|
4169
|
+
# @param [Fixnum] max_results
|
4170
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
4171
|
+
# be returned in the result set. Not used in the streaming RPC.
|
4172
|
+
# @param [String] page_token
|
4173
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
4174
|
+
# should be returned. In an API response, the nextPageToken property identify
|
4175
|
+
# other pages that could be retrieved.
|
4176
|
+
# @param [Array<String>, String] part
|
4177
|
+
# The *part* parameter specifies the liveChatComment resource parts that the API
|
4178
|
+
# response will include. Supported values are id, snippet, and authorDetails.
|
4179
|
+
# @param [Fixnum] profile_image_size
|
4180
|
+
# Specifies the size of the profile image that should be returned for each user.
|
4181
|
+
# @param [String] fields
|
4182
|
+
# Selector specifying which fields to include in a partial response.
|
4183
|
+
# @param [String] quota_user
|
4184
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4185
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4186
|
+
# @param [Google::Apis::RequestOptions] options
|
4187
|
+
# Request-specific options
|
4188
|
+
#
|
4189
|
+
# @yield [result, err] Result & error if block supplied
|
4190
|
+
# @yieldparam result [Google::Apis::YoutubeV3::LiveChatMessageListResponse] parsed result object
|
4191
|
+
# @yieldparam err [StandardError] error object if request failed
|
4192
|
+
#
|
4193
|
+
# @return [Google::Apis::YoutubeV3::LiveChatMessageListResponse]
|
4194
|
+
#
|
4195
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4196
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4197
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4198
|
+
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)
|
4199
|
+
command = make_simple_command(:get, 'youtube/v3/liveChat/messages/stream', options)
|
4200
|
+
command.response_representation = Google::Apis::YoutubeV3::LiveChatMessageListResponse::Representation
|
4201
|
+
command.response_class = Google::Apis::YoutubeV3::LiveChatMessageListResponse
|
4202
|
+
command.query['hl'] = hl unless hl.nil?
|
4203
|
+
command.query['liveChatId'] = live_chat_id unless live_chat_id.nil?
|
4204
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
4205
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4206
|
+
command.query['part'] = part unless part.nil?
|
4207
|
+
command.query['profileImageSize'] = profile_image_size unless profile_image_size.nil?
|
4208
|
+
command.query['fields'] = fields unless fields.nil?
|
4209
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4210
|
+
execute_or_queue_command(command, &block)
|
4211
|
+
end
|
4162
4212
|
|
4163
4213
|
protected
|
4164
4214
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-youtube_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.47.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-youtube_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.47.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-youtube_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.21
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for YouTube Data API v3 V3
|