google-apis-youtube_v3 0.54.0 → 0.55.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: dd9b9b15b436a39a17c52c5184b79332c4898f832d24e126c0de6e9ce246cfc4
|
4
|
+
data.tar.gz: 514f61b87561af7ce704da6300562efd057a5ef7badfbdae3d27301ce449e81c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 129fb46d9038a0c3a5ecd5d640b1a1a89f4c3b3195dbd93df885acbe366beda8feb20215044e74026eb7413e8c125ce92d43fd524891ef61a71aa02a8a852e9a
|
7
|
+
data.tar.gz: 3e8d45c0ec8451b5497751d05a698ea9d0c507be31e786b93aa10dfab67c4276b2329f68893b0eec17daa65125020a4016aa5c32fbb4ab569e924dd0e2adec90
|
data/CHANGELOG.md
CHANGED
@@ -2128,7 +2128,7 @@ module Google
|
|
2128
2128
|
class CommentSnippet
|
2129
2129
|
include Google::Apis::Core::Hashable
|
2130
2130
|
|
2131
|
-
#
|
2131
|
+
# Contains the id of the author's YouTube channel, if any.
|
2132
2132
|
# Corresponds to the JSON property `authorChannelId`
|
2133
2133
|
# @return [Google::Apis::YoutubeV3::CommentSnippetAuthorChannelId]
|
2134
2134
|
attr_accessor :author_channel_id
|
@@ -2155,8 +2155,8 @@ module Google
|
|
2155
2155
|
alias_method :can_rate?, :can_rate
|
2156
2156
|
|
2157
2157
|
# The id of the corresponding YouTube channel. In case of a channel comment this
|
2158
|
-
# is the channel the comment refers to. In case of a video comment it's
|
2159
|
-
# video's channel.
|
2158
|
+
# is the channel the comment refers to. In case of a video or post comment it's
|
2159
|
+
# the video/post's channel.
|
2160
2160
|
# Corresponds to the JSON property `channelId`
|
2161
2161
|
# @return [String]
|
2162
2162
|
attr_accessor :channel_id
|
@@ -2172,11 +2172,16 @@ module Google
|
|
2172
2172
|
# @return [String]
|
2173
2173
|
attr_accessor :moderation_status
|
2174
2174
|
|
2175
|
-
# The unique id of the
|
2175
|
+
# The unique id of the top-level comment, only set for replies.
|
2176
2176
|
# Corresponds to the JSON property `parentId`
|
2177
2177
|
# @return [String]
|
2178
2178
|
attr_accessor :parent_id
|
2179
2179
|
|
2180
|
+
# The ID of the post the comment refers to, if any.
|
2181
|
+
# Corresponds to the JSON property `postId`
|
2182
|
+
# @return [String]
|
2183
|
+
attr_accessor :post_id
|
2184
|
+
|
2180
2185
|
# The date and time when the comment was originally published.
|
2181
2186
|
# Corresponds to the JSON property `publishedAt`
|
2182
2187
|
# @return [DateTime]
|
@@ -2229,6 +2234,7 @@ module Google
|
|
2229
2234
|
@like_count = args[:like_count] if args.key?(:like_count)
|
2230
2235
|
@moderation_status = args[:moderation_status] if args.key?(:moderation_status)
|
2231
2236
|
@parent_id = args[:parent_id] if args.key?(:parent_id)
|
2237
|
+
@post_id = args[:post_id] if args.key?(:post_id)
|
2232
2238
|
@published_at = args[:published_at] if args.key?(:published_at)
|
2233
2239
|
@text_display = args[:text_display] if args.key?(:text_display)
|
2234
2240
|
@text_original = args[:text_original] if args.key?(:text_original)
|
@@ -2238,11 +2244,11 @@ module Google
|
|
2238
2244
|
end
|
2239
2245
|
end
|
2240
2246
|
|
2241
|
-
#
|
2247
|
+
# Contains the id of the author's YouTube channel, if any.
|
2242
2248
|
class CommentSnippetAuthorChannelId
|
2243
2249
|
include Google::Apis::Core::Hashable
|
2244
2250
|
|
2245
|
-
#
|
2251
|
+
# The id of the author's YouTube channel.
|
2246
2252
|
# Corresponds to the JSON property `value`
|
2247
2253
|
# @return [String]
|
2248
2254
|
attr_accessor :value
|
@@ -2400,8 +2406,8 @@ module Google
|
|
2400
2406
|
alias_method :can_reply?, :can_reply
|
2401
2407
|
|
2402
2408
|
# The YouTube channel the comments in the thread refer to or the channel with
|
2403
|
-
# the video the comments refer to. If video_id
|
2404
|
-
# the channel itself.
|
2409
|
+
# the video the comments refer to. If neither video_id nor post_id is set the
|
2410
|
+
# comments refer to the channel itself.
|
2405
2411
|
# Corresponds to the JSON property `channelId`
|
2406
2412
|
# @return [String]
|
2407
2413
|
attr_accessor :channel_id
|
@@ -2413,6 +2419,11 @@ module Google
|
|
2413
2419
|
attr_accessor :is_public
|
2414
2420
|
alias_method :is_public?, :is_public
|
2415
2421
|
|
2422
|
+
# The ID of the post the comments refer to, if any.
|
2423
|
+
# Corresponds to the JSON property `postId`
|
2424
|
+
# @return [String]
|
2425
|
+
attr_accessor :post_id
|
2426
|
+
|
2416
2427
|
# A *comment* represents a single YouTube comment.
|
2417
2428
|
# Corresponds to the JSON property `topLevelComment`
|
2418
2429
|
# @return [Google::Apis::YoutubeV3::Comment]
|
@@ -2423,8 +2434,7 @@ module Google
|
|
2423
2434
|
# @return [Fixnum]
|
2424
2435
|
attr_accessor :total_reply_count
|
2425
2436
|
|
2426
|
-
# The ID of the video the comments refer to, if any.
|
2427
|
-
# channel discussion comment.
|
2437
|
+
# The ID of the video the comments refer to, if any.
|
2428
2438
|
# Corresponds to the JSON property `videoId`
|
2429
2439
|
# @return [String]
|
2430
2440
|
attr_accessor :video_id
|
@@ -2438,6 +2448,7 @@ module Google
|
|
2438
2448
|
@can_reply = args[:can_reply] if args.key?(:can_reply)
|
2439
2449
|
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
2440
2450
|
@is_public = args[:is_public] if args.key?(:is_public)
|
2451
|
+
@post_id = args[:post_id] if args.key?(:post_id)
|
2441
2452
|
@top_level_comment = args[:top_level_comment] if args.key?(:top_level_comment)
|
2442
2453
|
@total_reply_count = args[:total_reply_count] if args.key?(:total_reply_count)
|
2443
2454
|
@video_id = args[:video_id] if args.key?(:video_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.55.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250331"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1822,6 +1822,7 @@ module Google
|
|
1822
1822
|
property :like_count, as: 'likeCount'
|
1823
1823
|
property :moderation_status, as: 'moderationStatus'
|
1824
1824
|
property :parent_id, as: 'parentId'
|
1825
|
+
property :post_id, as: 'postId'
|
1825
1826
|
property :published_at, as: 'publishedAt', type: DateTime
|
1826
1827
|
|
1827
1828
|
property :text_display, as: 'textDisplay'
|
@@ -1884,6 +1885,7 @@ module Google
|
|
1884
1885
|
property :can_reply, as: 'canReply'
|
1885
1886
|
property :channel_id, as: 'channelId'
|
1886
1887
|
property :is_public, as: 'isPublic'
|
1888
|
+
property :post_id, as: 'postId'
|
1887
1889
|
property :top_level_comment, as: 'topLevelComment', class: Google::Apis::YoutubeV3::Comment, decorator: Google::Apis::YoutubeV3::Comment::Representation
|
1888
1890
|
|
1889
1891
|
property :total_reply_count, as: 'totalReplyCount'
|
@@ -888,6 +888,8 @@ module Google
|
|
888
888
|
# The *pageToken* parameter identifies a specific page in the result set that
|
889
889
|
# should be returned. In an API response, the nextPageToken and prevPageToken
|
890
890
|
# properties identify other pages that could be retrieved.
|
891
|
+
# @param [String] post_id
|
892
|
+
# Returns the comment threads of the specified post.
|
891
893
|
# @param [String] search_terms
|
892
894
|
# Limits the returned comment threads to those matching the specified key words.
|
893
895
|
# Not compatible with the 'id' filter.
|
@@ -912,7 +914,7 @@ module Google
|
|
912
914
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
913
915
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
914
916
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
915
|
-
def list_comment_threads(part, all_threads_related_to_channel_id: nil, channel_id: nil, id: nil, max_results: nil, moderation_status: nil, order: nil, page_token: nil, search_terms: nil, text_format: nil, video_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
917
|
+
def list_comment_threads(part, all_threads_related_to_channel_id: nil, channel_id: nil, id: nil, max_results: nil, moderation_status: nil, order: nil, page_token: nil, post_id: nil, search_terms: nil, text_format: nil, video_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
916
918
|
command = make_simple_command(:get, 'youtube/v3/commentThreads', options)
|
917
919
|
command.response_representation = Google::Apis::YoutubeV3::ListCommentThreadsResponse::Representation
|
918
920
|
command.response_class = Google::Apis::YoutubeV3::ListCommentThreadsResponse
|
@@ -924,6 +926,7 @@ module Google
|
|
924
926
|
command.query['order'] = order unless order.nil?
|
925
927
|
command.query['pageToken'] = page_token unless page_token.nil?
|
926
928
|
command.query['part'] = part unless part.nil?
|
929
|
+
command.query['postId'] = post_id unless post_id.nil?
|
927
930
|
command.query['searchTerms'] = search_terms unless search_terms.nil?
|
928
931
|
command.query['textFormat'] = text_format unless text_format.nil?
|
929
932
|
command.query['videoId'] = video_id unless video_id.nil?
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-16 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-youtube_v3/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.55.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-youtube_v3
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|