google-apis-youtube_v3 0.72.0 → 0.74.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/youtube_v3/classes.rb +170 -104
- data/lib/google/apis/youtube_v3/gem_version.rb +3 -3
- data/lib/google/apis/youtube_v3/representations.rb +2 -0
- data/lib/google/apis/youtube_v3/service.rb +78 -47
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1137ab8e7b70988fb620c4ad0319c62c3f008aad3418494fcb83d34870328ac9
|
|
4
|
+
data.tar.gz: eee96bcf9601d17376befc6a4a59434307abccdeb4396f3aa41f0c51966627a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e09b6470cc3f7a3cd9872e754109247bf5245011ed73f079de864a7b368cb977afaff1be8d5cb0716d15bfa9e6ef203059dc390f2e857f34815b52a3199a6a9f
|
|
7
|
+
data.tar.gz: dd11bde6764d39b1d281ab7ca775d72f07fdc6a33b59e936c8710a24787c3a7aa1adcab9745fba549c61c18bed045140ccd465617045a336bc14d6ab28d2f745
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Release history for google-apis-youtube_v3
|
|
2
2
|
|
|
3
|
+
### v0.74.0 (2026-11-29)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20261124
|
|
6
|
+
* Regenerated using generator version 0.19.3
|
|
7
|
+
|
|
8
|
+
### v0.73.0 (2026-10-21)
|
|
9
|
+
|
|
10
|
+
* Regenerated from discovery document revision 20261019
|
|
11
|
+
* Regenerated using generator version 0.19.1
|
|
12
|
+
|
|
3
13
|
### v0.72.0 (2026-10-04)
|
|
4
14
|
|
|
5
15
|
* Regenerated from discovery document revision 20261001
|
data/OVERVIEW.md
CHANGED
|
@@ -85,7 +85,7 @@ The [product documentation](https://developers.google.com/youtube/) may provide
|
|
|
85
85
|
|
|
86
86
|
This library is supported on Ruby 3.2+.
|
|
87
87
|
|
|
88
|
-
Google provides official support for Ruby versions
|
|
88
|
+
Google provides official support for Ruby versions as described in the [Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) policy. Older versions of Ruby _may_ still work, but are unsupported and not recommended.
|
|
89
89
|
|
|
90
90
|
## License
|
|
91
91
|
|
|
@@ -1268,37 +1268,47 @@ module Google
|
|
|
1268
1268
|
class RelatedPlaylists
|
|
1269
1269
|
include Google::Apis::Core::Hashable
|
|
1270
1270
|
|
|
1271
|
-
# The ID of the playlist that contains the channel"s favorite videos. Use the
|
|
1272
|
-
# playlistItems.insert
|
|
1273
|
-
#
|
|
1271
|
+
# The ID of the playlist that contains the channel"s favorite videos. Use the [`
|
|
1272
|
+
# playlistItems.insert`](https://developers.google.com/youtube/data/reference/
|
|
1273
|
+
# rest/v3/playlistItems/insert) and [`playlistItems.delete`](https://developers.
|
|
1274
|
+
# google.com/youtube/data/reference/rest/v3/playlistItems/delete) to add or
|
|
1275
|
+
# remove items from that list.
|
|
1274
1276
|
# Corresponds to the JSON property `favorites`
|
|
1275
1277
|
# @return [String]
|
|
1276
1278
|
attr_accessor :favorites
|
|
1277
1279
|
|
|
1278
|
-
# The ID of the playlist that contains the channel"s liked videos. Use the
|
|
1279
|
-
# playlistItems.insert
|
|
1280
|
-
#
|
|
1280
|
+
# The ID of the playlist that contains the channel"s liked videos. Use the [`
|
|
1281
|
+
# playlistItems.insert`](https://developers.google.com/youtube/data/reference/
|
|
1282
|
+
# rest/v3/playlistItems/insert) and [`playlistItems.delete`](https://developers.
|
|
1283
|
+
# google.com/youtube/data/reference/rest/v3/playlistItems/delete) to add or
|
|
1284
|
+
# remove items from that list.
|
|
1281
1285
|
# Corresponds to the JSON property `likes`
|
|
1282
1286
|
# @return [String]
|
|
1283
1287
|
attr_accessor :likes
|
|
1284
1288
|
|
|
1285
|
-
# The ID of the playlist that contains the channel"s uploaded videos. Use the
|
|
1286
|
-
# videos.insert
|
|
1289
|
+
# The ID of the playlist that contains the channel"s uploaded videos. Use the [`
|
|
1290
|
+
# videos.insert`](https://developers.google.com/youtube/data/reference/rest/v3/
|
|
1291
|
+
# videos/insert) method to upload new videos and the [`videos.delete`](https://
|
|
1292
|
+
# developers.google.com/youtube/data/reference/rest/v3/videos/delete) method to
|
|
1287
1293
|
# delete previously uploaded videos.
|
|
1288
1294
|
# Corresponds to the JSON property `uploads`
|
|
1289
1295
|
# @return [String]
|
|
1290
1296
|
attr_accessor :uploads
|
|
1291
1297
|
|
|
1292
|
-
# The ID of the playlist that contains the channel"s watch history. Use the
|
|
1293
|
-
# playlistItems.insert
|
|
1294
|
-
#
|
|
1298
|
+
# The ID of the playlist that contains the channel"s watch history. Use the [`
|
|
1299
|
+
# playlistItems.insert`](https://developers.google.com/youtube/data/reference/
|
|
1300
|
+
# rest/v3/playlistItems/insert) and [`playlistItems.delete`](https://developers.
|
|
1301
|
+
# google.com/youtube/data/reference/rest/v3/playlistItems/delete) to add or
|
|
1302
|
+
# remove items from that list.
|
|
1295
1303
|
# Corresponds to the JSON property `watchHistory`
|
|
1296
1304
|
# @return [String]
|
|
1297
1305
|
attr_accessor :watch_history
|
|
1298
1306
|
|
|
1299
1307
|
# The ID of the playlist that contains the channel"s watch later playlist. Use
|
|
1300
|
-
# the playlistItems.insert
|
|
1301
|
-
#
|
|
1308
|
+
# the [`playlistItems.insert`](https://developers.google.com/youtube/data/
|
|
1309
|
+
# reference/rest/v3/playlistItems/insert) and [`playlistItems.delete`](https://
|
|
1310
|
+
# developers.google.com/youtube/data/reference/rest/v3/playlistItems/delete) to
|
|
1311
|
+
# add or remove items from that list.
|
|
1302
1312
|
# Corresponds to the JSON property `watchLater`
|
|
1303
1313
|
# @return [String]
|
|
1304
1314
|
attr_accessor :watch_later
|
|
@@ -1952,7 +1962,12 @@ module Google
|
|
|
1952
1962
|
# @return [Fixnum]
|
|
1953
1963
|
attr_accessor :video_count
|
|
1954
1964
|
|
|
1955
|
-
# The number of times the
|
|
1965
|
+
# The sum of the number of times all the videos in all formats have been viewed
|
|
1966
|
+
# for a channel. For all video formats (long-form, Live, and Shorts) on a
|
|
1967
|
+
# channel, `viewCount` counts views the moment a video begins to play (includes
|
|
1968
|
+
# autoplay, hold the pointer over, and click/tap to play). For all video formats
|
|
1969
|
+
# (long-form, Live, and Shorts) on a channel, `viewCount` includes co-views when
|
|
1970
|
+
# multiple people watch together on a television screen.
|
|
1956
1971
|
# Corresponds to the JSON property `viewCount`
|
|
1957
1972
|
# @return [Fixnum]
|
|
1958
1973
|
attr_accessor :view_count
|
|
@@ -3907,7 +3922,8 @@ module Google
|
|
|
3907
3922
|
# @return [Google::Apis::YoutubeV3::AvailabilityConfig]
|
|
3908
3923
|
attr_accessor :availability_config
|
|
3909
3924
|
|
|
3910
|
-
# This value uniquely identifies the live stream
|
|
3925
|
+
# This value uniquely identifies the [`live stream`](https://developers.google.
|
|
3926
|
+
# com/youtube/data/live/reference/rest/v3/liveStreams) bound to the broadcast.
|
|
3911
3927
|
# Corresponds to the JSON property `boundStreamId`
|
|
3912
3928
|
# @return [String]
|
|
3913
3929
|
attr_accessor :bound_stream_id
|
|
@@ -3991,9 +4007,10 @@ module Google
|
|
|
3991
4007
|
|
|
3992
4008
|
# The mesh for projecting the video if projection is mesh. The mesh value must
|
|
3993
4009
|
# be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows
|
|
3994
|
-
# the Spherical Video V2 RFC specification
|
|
3995
|
-
#
|
|
3996
|
-
#
|
|
4010
|
+
# the [Spherical Video V2 RFC specification](https://github.com/google/spatial-
|
|
4011
|
+
# media/blob/master/docs/spherical-video-v2-rfc.md) for an mshp box, excluding
|
|
4012
|
+
# the box size and type but including the following four reserved zero bytes for
|
|
4013
|
+
# the version and flags.
|
|
3997
4014
|
# Corresponds to the JSON property `mesh`
|
|
3998
4015
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
3999
4016
|
# @return [String]
|
|
@@ -4021,10 +4038,12 @@ module Google
|
|
|
4021
4038
|
alias_method :record_from_start?, :record_from_start
|
|
4022
4039
|
|
|
4023
4040
|
# This setting indicates whether the broadcast should automatically begin with
|
|
4024
|
-
# an in-stream slate
|
|
4025
|
-
#
|
|
4026
|
-
#
|
|
4027
|
-
#
|
|
4041
|
+
# an [in-stream slate](https://developers.google.com/youtube/data/live/getting-
|
|
4042
|
+
# started#Displaying_Slates) when you update the broadcast's status to live.
|
|
4043
|
+
# After updating the status, you then need to send a [`liveCuepoints.insert`](
|
|
4044
|
+
# https://developers.google.com/youtube/data/live/reference/rest/v3/
|
|
4045
|
+
# liveCuepoints/insert) request that sets the cuepoint's eventState to end to
|
|
4046
|
+
# remove the in-stream slate and make your broadcast stream visible to viewers.
|
|
4028
4047
|
# Corresponds to the JSON property `startWithSlate`
|
|
4029
4048
|
# @return [Boolean]
|
|
4030
4049
|
attr_accessor :start_with_slate
|
|
@@ -4168,7 +4187,8 @@ module Google
|
|
|
4168
4187
|
# @return [DateTime]
|
|
4169
4188
|
attr_accessor :actual_start_time
|
|
4170
4189
|
|
|
4171
|
-
# The YouTube video category
|
|
4190
|
+
# The YouTube [video category](https://developers.google.com/youtube/data/
|
|
4191
|
+
# reference/rest/v3/videoCategories/list) associated with the video broadcast.
|
|
4172
4192
|
# Corresponds to the JSON property `categoryId`
|
|
4173
4193
|
# @return [String]
|
|
4174
4194
|
attr_accessor :category_id
|
|
@@ -4180,8 +4200,9 @@ module Google
|
|
|
4180
4200
|
attr_accessor :channel_id
|
|
4181
4201
|
|
|
4182
4202
|
# The broadcast's description. As with the title, you can set this field by
|
|
4183
|
-
# modifying the broadcast resource or by setting the description
|
|
4184
|
-
#
|
|
4203
|
+
# modifying the broadcast resource or by setting the [`description`](https://
|
|
4204
|
+
# developers.google.com/youtube/data/reference/rest/v3/videos#snippet.
|
|
4205
|
+
# description) field of the corresponding video resource.
|
|
4185
4206
|
# Corresponds to the JSON property `description`
|
|
4186
4207
|
# @return [String]
|
|
4187
4208
|
attr_accessor :description
|
|
@@ -4220,7 +4241,8 @@ module Google
|
|
|
4220
4241
|
|
|
4221
4242
|
# The broadcast's title. Note that the broadcast represents exactly one YouTube
|
|
4222
4243
|
# video. You can set this field by modifying the broadcast resource or by
|
|
4223
|
-
# setting the title
|
|
4244
|
+
# setting the [`title`](https://developers.google.com/youtube/data/reference/
|
|
4245
|
+
# rest/v3/videos#snippet.title) field of the corresponding video resource.
|
|
4224
4246
|
# Corresponds to the JSON property `title`
|
|
4225
4247
|
# @return [String]
|
|
4226
4248
|
attr_accessor :title
|
|
@@ -4275,8 +4297,9 @@ module Google
|
|
|
4275
4297
|
class LiveBroadcastStatus
|
|
4276
4298
|
include Google::Apis::Core::Hashable
|
|
4277
4299
|
|
|
4278
|
-
# The broadcast's status. The status can be updated using the API's
|
|
4279
|
-
# liveBroadcasts.transition
|
|
4300
|
+
# The broadcast's status. The status can be updated using the API's [`
|
|
4301
|
+
# liveBroadcasts.transition`](https://developers.google.com/youtube/data/live/
|
|
4302
|
+
# reference/rest/v3/liveBroadcasts/transition) method.
|
|
4280
4303
|
# Corresponds to the JSON property `lifeCycleStatus`
|
|
4281
4304
|
# @return [String]
|
|
4282
4305
|
attr_accessor :life_cycle_status
|
|
@@ -4296,8 +4319,9 @@ module Google
|
|
|
4296
4319
|
# The broadcast's privacy status. Note that the broadcast represents exactly one
|
|
4297
4320
|
# YouTube video, so the privacy settings are identical to those supported for
|
|
4298
4321
|
# videos. In addition, you can set this field by modifying the broadcast
|
|
4299
|
-
# resource or by setting the privacyStatus
|
|
4300
|
-
#
|
|
4322
|
+
# resource or by setting the [`privacyStatus`](https://developers.google.com/
|
|
4323
|
+
# youtube/data/reference/rest/v3/videos#status.privacyStatus) field of the
|
|
4324
|
+
# corresponding video resource.
|
|
4301
4325
|
# Corresponds to the JSON property `privacyStatus`
|
|
4302
4326
|
# @return [String]
|
|
4303
4327
|
attr_accessor :privacy_status
|
|
@@ -4441,7 +4465,7 @@ module Google
|
|
|
4441
4465
|
end
|
|
4442
4466
|
end
|
|
4443
4467
|
|
|
4444
|
-
# Details about the gift event, this is only set if the type is
|
|
4468
|
+
# Details about the gift event, this is only set if the type is `giftEvent`.
|
|
4445
4469
|
class LiveChatGiftDetails
|
|
4446
4470
|
include Google::Apis::Core::Hashable
|
|
4447
4471
|
|
|
@@ -4508,8 +4532,8 @@ module Google
|
|
|
4508
4532
|
include Google::Apis::Core::Hashable
|
|
4509
4533
|
|
|
4510
4534
|
# The ID of the membership gifting message that is related to this gift
|
|
4511
|
-
# membership. This ID will always refer to a message whose type is
|
|
4512
|
-
# membershipGiftingEvent
|
|
4535
|
+
# membership. This ID will always refer to a message whose type is `
|
|
4536
|
+
# membershipGiftingEvent`.
|
|
4513
4537
|
# Corresponds to the JSON property `associatedMembershipGiftingMessageId`
|
|
4514
4538
|
# @return [String]
|
|
4515
4539
|
attr_accessor :associated_membership_gifting_message_id
|
|
@@ -4756,8 +4780,8 @@ module Google
|
|
|
4756
4780
|
# @return [Array<Google::Apis::YoutubeV3::LiveChatMessage>]
|
|
4757
4781
|
attr_accessor :items
|
|
4758
4782
|
|
|
4759
|
-
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
4760
|
-
# liveChatMessageListResponse"
|
|
4783
|
+
# Identifies what kind of resource this is. Value: the fixed string `"youtube#
|
|
4784
|
+
# liveChatMessageListResponse"`.
|
|
4761
4785
|
# Corresponds to the JSON property `kind`
|
|
4762
4786
|
# @return [String]
|
|
4763
4787
|
attr_accessor :kind
|
|
@@ -4788,7 +4812,7 @@ module Google
|
|
|
4788
4812
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
4789
4813
|
attr_accessor :token_pagination
|
|
4790
4814
|
|
|
4791
|
-
#
|
|
4815
|
+
# Identifies the visitor.
|
|
4792
4816
|
# Corresponds to the JSON property `visitorId`
|
|
4793
4817
|
# @return [String]
|
|
4794
4818
|
attr_accessor :visitor_id
|
|
@@ -4858,19 +4882,19 @@ module Google
|
|
|
4858
4882
|
# @return [String]
|
|
4859
4883
|
attr_accessor :display_message
|
|
4860
4884
|
|
|
4861
|
-
# Details about the funding event, this is only set if the type is
|
|
4862
|
-
# fanFundingEvent
|
|
4885
|
+
# Details about the funding event, this is only set if the type is `
|
|
4886
|
+
# fanFundingEvent`.
|
|
4863
4887
|
# Corresponds to the JSON property `fanFundingEventDetails`
|
|
4864
4888
|
# @return [Google::Apis::YoutubeV3::LiveChatFanFundingEventDetails]
|
|
4865
4889
|
attr_accessor :fan_funding_event_details
|
|
4866
4890
|
|
|
4867
|
-
# Details about the gift event, this is only set if the type is
|
|
4891
|
+
# Details about the gift event, this is only set if the type is `giftEvent`.
|
|
4868
4892
|
# Corresponds to the JSON property `giftDetails`
|
|
4869
4893
|
# @return [Google::Apis::YoutubeV3::LiveChatGiftDetails]
|
|
4870
4894
|
attr_accessor :gift_details
|
|
4871
4895
|
|
|
4872
4896
|
# Details about the Gift Membership Received event, this is only set if the type
|
|
4873
|
-
# is
|
|
4897
|
+
# is `giftMembershipReceivedEvent`.
|
|
4874
4898
|
# Corresponds to the JSON property `giftMembershipReceivedDetails`
|
|
4875
4899
|
# @return [Google::Apis::YoutubeV3::LiveChatGiftMembershipReceivedDetails]
|
|
4876
4900
|
attr_accessor :gift_membership_received_details
|
|
@@ -4887,13 +4911,13 @@ module Google
|
|
|
4887
4911
|
attr_accessor :live_chat_id
|
|
4888
4912
|
|
|
4889
4913
|
# Details about the Member Milestone Chat event, this is only set if the type is
|
|
4890
|
-
#
|
|
4914
|
+
# `memberMilestoneChatEvent`.
|
|
4891
4915
|
# Corresponds to the JSON property `memberMilestoneChatDetails`
|
|
4892
4916
|
# @return [Google::Apis::YoutubeV3::LiveChatMemberMilestoneChatDetails]
|
|
4893
4917
|
attr_accessor :member_milestone_chat_details
|
|
4894
4918
|
|
|
4895
|
-
# Details about the Membership Gifting event, this is only set if the type is
|
|
4896
|
-
# membershipGiftingEvent
|
|
4919
|
+
# Details about the Membership Gifting event, this is only set if the type is `
|
|
4920
|
+
# membershipGiftingEvent`.
|
|
4897
4921
|
# Corresponds to the JSON property `membershipGiftingDetails`
|
|
4898
4922
|
# @return [Google::Apis::YoutubeV3::LiveChatMembershipGiftingDetails]
|
|
4899
4923
|
attr_accessor :membership_gifting_details
|
|
@@ -4909,12 +4933,12 @@ module Google
|
|
|
4909
4933
|
attr_accessor :message_retracted_details
|
|
4910
4934
|
|
|
4911
4935
|
# Details about the New Member Announcement event, this is only set if the type
|
|
4912
|
-
# is
|
|
4936
|
+
# is `newSponsorEvent`. The term "member" replaces "sponsor".
|
|
4913
4937
|
# Corresponds to the JSON property `newSponsorDetails`
|
|
4914
4938
|
# @return [Google::Apis::YoutubeV3::LiveChatNewSponsorDetails]
|
|
4915
4939
|
attr_accessor :new_sponsor_details
|
|
4916
4940
|
|
|
4917
|
-
# Details about the poll event, this is only set if the type is
|
|
4941
|
+
# Details about the poll event, this is only set if the type is `pollEvent`.
|
|
4918
4942
|
# Corresponds to the JSON property `pollDetails`
|
|
4919
4943
|
# @return [Google::Apis::YoutubeV3::LiveChatPollDetails]
|
|
4920
4944
|
attr_accessor :poll_details
|
|
@@ -4924,20 +4948,20 @@ module Google
|
|
|
4924
4948
|
# @return [DateTime]
|
|
4925
4949
|
attr_accessor :published_at
|
|
4926
4950
|
|
|
4927
|
-
# Details about the Super Chat event, this is only set if the type is
|
|
4928
|
-
# superChatEvent
|
|
4951
|
+
# Details about the Super Chat event, this is only set if the type is `
|
|
4952
|
+
# superChatEvent`.
|
|
4929
4953
|
# Corresponds to the JSON property `superChatDetails`
|
|
4930
4954
|
# @return [Google::Apis::YoutubeV3::LiveChatSuperChatDetails]
|
|
4931
4955
|
attr_accessor :super_chat_details
|
|
4932
4956
|
|
|
4933
|
-
# Details about the Super Sticker event, this is only set if the type is
|
|
4934
|
-
# superStickerEvent
|
|
4957
|
+
# Details about the Super Sticker event, this is only set if the type is `
|
|
4958
|
+
# superStickerEvent`.
|
|
4935
4959
|
# Corresponds to the JSON property `superStickerDetails`
|
|
4936
4960
|
# @return [Google::Apis::YoutubeV3::LiveChatSuperStickerDetails]
|
|
4937
4961
|
attr_accessor :super_sticker_details
|
|
4938
4962
|
|
|
4939
|
-
# Details about the text message, this is only set if the type is
|
|
4940
|
-
# textMessageEvent
|
|
4963
|
+
# Details about the text message, this is only set if the type is `
|
|
4964
|
+
# textMessageEvent`.
|
|
4941
4965
|
# Corresponds to the JSON property `textMessageDetails`
|
|
4942
4966
|
# @return [Google::Apis::YoutubeV3::LiveChatTextMessageDetails]
|
|
4943
4967
|
attr_accessor :text_message_details
|
|
@@ -5241,7 +5265,7 @@ module Google
|
|
|
5241
5265
|
attr_accessor :currency
|
|
5242
5266
|
|
|
5243
5267
|
# The tier in which the amount belongs. Lower amounts belong to lower tiers. The
|
|
5244
|
-
# lowest tier is 1
|
|
5268
|
+
# lowest tier is `1`.
|
|
5245
5269
|
# Corresponds to the JSON property `tier`
|
|
5246
5270
|
# @return [Fixnum]
|
|
5247
5271
|
attr_accessor :tier
|
|
@@ -5290,7 +5314,7 @@ module Google
|
|
|
5290
5314
|
attr_accessor :super_sticker_metadata
|
|
5291
5315
|
|
|
5292
5316
|
# The tier in which the amount belongs. Lower amounts belong to lower tiers. The
|
|
5293
|
-
# lowest tier is 1
|
|
5317
|
+
# lowest tier is `1`.
|
|
5294
5318
|
# Corresponds to the JSON property `tier`
|
|
5295
5319
|
# @return [Fixnum]
|
|
5296
5320
|
attr_accessor :tier
|
|
@@ -5332,8 +5356,8 @@ module Google
|
|
|
5332
5356
|
class LiveChatUserBannedMessageDetails
|
|
5333
5357
|
include Google::Apis::Core::Hashable
|
|
5334
5358
|
|
|
5335
|
-
# The duration of the ban. This property is only present if the banType is
|
|
5336
|
-
# temporary
|
|
5359
|
+
# The duration of the ban. This property is only present if the `banType` is `
|
|
5360
|
+
# temporary`.
|
|
5337
5361
|
# Corresponds to the JSON property `banDurationSeconds`
|
|
5338
5362
|
# @return [Fixnum]
|
|
5339
5363
|
attr_accessor :ban_duration_seconds
|
|
@@ -5468,12 +5492,14 @@ module Google
|
|
|
5468
5492
|
# for many different broadcasts if those broadcasts occur at different times. If
|
|
5469
5493
|
# you set this value to false, then the stream will not be reusable, which means
|
|
5470
5494
|
# that it can only be bound to one broadcast. Non-reusable streams differ from
|
|
5471
|
-
# reusable streams in the following ways:
|
|
5472
|
-
# bound to one broadcast.
|
|
5473
|
-
# automated process after the broadcast ends.
|
|
5474
|
-
#
|
|
5475
|
-
#
|
|
5476
|
-
#
|
|
5495
|
+
# reusable streams in the following ways: * A non-reusable stream can only be
|
|
5496
|
+
# bound to one broadcast. * A non-reusable stream might be deleted by an
|
|
5497
|
+
# automated process after the broadcast ends. * The [`liveStreams.list`](https://
|
|
5498
|
+
# developers.google.com/youtube/data/live/reference/rest/v3/liveStreams/list)
|
|
5499
|
+
# method does not list non-reusable streams if you call the method and set the
|
|
5500
|
+
# mine parameter to true. The only way to use that method to retrieve the
|
|
5501
|
+
# resource for a non-reusable stream is to use the id parameter to identify the
|
|
5502
|
+
# stream.
|
|
5477
5503
|
# Corresponds to the JSON property `isReusable`
|
|
5478
5504
|
# @return [Boolean]
|
|
5479
5505
|
attr_accessor :is_reusable
|
|
@@ -6064,7 +6090,9 @@ module Google
|
|
|
6064
6090
|
class MonitorStreamInfo
|
|
6065
6091
|
include Google::Apis::Core::Hashable
|
|
6066
6092
|
|
|
6067
|
-
# If you have set the enableMonitorStream
|
|
6093
|
+
# If you have set the [`enableMonitorStream`](https://developers.google.com/
|
|
6094
|
+
# youtube/data/live/reference/rest/v3/liveBroadcasts#contentDetails.
|
|
6095
|
+
# monitorStream.enableMonitorStream) property to true, then this property
|
|
6068
6096
|
# determines the length of the live broadcast delay.
|
|
6069
6097
|
# Corresponds to the JSON property `broadcastStreamDelayMs`
|
|
6070
6098
|
# @return [Fixnum]
|
|
@@ -6131,14 +6159,18 @@ module Google
|
|
|
6131
6159
|
# number of playlists that each user creates. By default, playlists are publicly
|
|
6132
6160
|
# visible to other users, but playlists can be public or private. YouTube also
|
|
6133
6161
|
# uses playlists to identify special collections of videos for a channel, such
|
|
6134
|
-
# as:
|
|
6135
|
-
# watch history
|
|
6162
|
+
# as: * uploaded videos * favorite videos * positively rated (liked) videos *
|
|
6163
|
+
# watch history * watch later To be more specific, these lists are associated
|
|
6136
6164
|
# with a channel, which is a collection of a person, group, or company's videos,
|
|
6137
6165
|
# playlists, and other YouTube information. You can retrieve the playlist IDs
|
|
6138
|
-
# for each of these lists from the channel resource
|
|
6139
|
-
#
|
|
6140
|
-
#
|
|
6141
|
-
#
|
|
6166
|
+
# for each of these lists from the [`channel resource`](https://developers.
|
|
6167
|
+
# google.com/youtube/data/reference/rest/v3/channels) for a given channel. You
|
|
6168
|
+
# can then use the [`playlistItems.list`](https://developers.google.com/youtube/
|
|
6169
|
+
# data/reference/rest/v3/playlistItems/list) method to retrieve any of those
|
|
6170
|
+
# lists. You can also add or remove items from those lists by calling the [`
|
|
6171
|
+
# playlistItems.insert`](https://developers.google.com/youtube/data/reference/
|
|
6172
|
+
# rest/v3/playlistItems/insert) and [`playlistItems.delete`](https://developers.
|
|
6173
|
+
# google.com/youtube/data/reference/rest/v3/playlistItems/delete) methods.
|
|
6142
6174
|
class Playlist
|
|
6143
6175
|
include Google::Apis::Core::Hashable
|
|
6144
6176
|
|
|
@@ -6239,15 +6271,19 @@ module Google
|
|
|
6239
6271
|
# is associated with a playlist. In addition, the playlistImage resource
|
|
6240
6272
|
# contains details about the included resource that pertain specifically to how
|
|
6241
6273
|
# that resource is used in that playlist. YouTube uses playlists to identify
|
|
6242
|
-
# special collections of videos for a channel, such as:
|
|
6243
|
-
# favorite videos
|
|
6274
|
+
# special collections of videos for a channel, such as: * uploaded videos *
|
|
6275
|
+
# favorite videos * positively rated (liked) videos * watch history To be more
|
|
6244
6276
|
# specific, these lists are associated with a channel, which is a collection of
|
|
6245
6277
|
# a person, group, or company's videos, playlists, and other YouTube information.
|
|
6246
|
-
# You can retrieve the playlist IDs for each of these lists from the channel
|
|
6247
|
-
# resource
|
|
6248
|
-
#
|
|
6249
|
-
#
|
|
6250
|
-
#
|
|
6278
|
+
# You can retrieve the playlist IDs for each of these lists from the [`channel
|
|
6279
|
+
# resource`](https://developers.google.com/youtube/data/reference/rest/v3/
|
|
6280
|
+
# channels) for a given channel. You can then use the [`playlistImages.list`](
|
|
6281
|
+
# https://developers.google.com/youtube/data/reference/rest/v3/playlistImages/
|
|
6282
|
+
# list) method to retrieve image data for any of those playlists. You can also
|
|
6283
|
+
# add or remove images from those lists by calling the [`playlistImages.insert`](
|
|
6284
|
+
# https://developers.google.com/youtube/data/reference/rest/v3/playlistImages/
|
|
6285
|
+
# insert) and [`playlistImages.delete`](https://developers.google.com/youtube/
|
|
6286
|
+
# data/reference/rest/v3/playlistImages/delete) methods.
|
|
6251
6287
|
# Corresponds to the JSON property `snippet`
|
|
6252
6288
|
# @return [Google::Apis::YoutubeV3::PlaylistImageSnippet]
|
|
6253
6289
|
attr_accessor :snippet
|
|
@@ -6315,15 +6351,19 @@ module Google
|
|
|
6315
6351
|
# is associated with a playlist. In addition, the playlistImage resource
|
|
6316
6352
|
# contains details about the included resource that pertain specifically to how
|
|
6317
6353
|
# that resource is used in that playlist. YouTube uses playlists to identify
|
|
6318
|
-
# special collections of videos for a channel, such as:
|
|
6319
|
-
# favorite videos
|
|
6354
|
+
# special collections of videos for a channel, such as: * uploaded videos *
|
|
6355
|
+
# favorite videos * positively rated (liked) videos * watch history To be more
|
|
6320
6356
|
# specific, these lists are associated with a channel, which is a collection of
|
|
6321
6357
|
# a person, group, or company's videos, playlists, and other YouTube information.
|
|
6322
|
-
# You can retrieve the playlist IDs for each of these lists from the channel
|
|
6323
|
-
# resource
|
|
6324
|
-
#
|
|
6325
|
-
#
|
|
6326
|
-
#
|
|
6358
|
+
# You can retrieve the playlist IDs for each of these lists from the [`channel
|
|
6359
|
+
# resource`](https://developers.google.com/youtube/data/reference/rest/v3/
|
|
6360
|
+
# channels) for a given channel. You can then use the [`playlistImages.list`](
|
|
6361
|
+
# https://developers.google.com/youtube/data/reference/rest/v3/playlistImages/
|
|
6362
|
+
# list) method to retrieve image data for any of those playlists. You can also
|
|
6363
|
+
# add or remove images from those lists by calling the [`playlistImages.insert`](
|
|
6364
|
+
# https://developers.google.com/youtube/data/reference/rest/v3/playlistImages/
|
|
6365
|
+
# insert) and [`playlistImages.delete`](https://developers.google.com/youtube/
|
|
6366
|
+
# data/reference/rest/v3/playlistImages/delete) methods.
|
|
6327
6367
|
class PlaylistImageSnippet
|
|
6328
6368
|
include Google::Apis::Core::Hashable
|
|
6329
6369
|
|
|
@@ -6364,17 +6404,21 @@ module Google
|
|
|
6364
6404
|
# is included in a playlist. In addition, the playlistItem resource contains
|
|
6365
6405
|
# details about the included resource that pertain specifically to how that
|
|
6366
6406
|
# resource is used in that playlist. YouTube uses playlists to identify special
|
|
6367
|
-
# collections of videos for a channel, such as:
|
|
6368
|
-
# videos
|
|
6407
|
+
# collections of videos for a channel, such as: * uploaded videos * favorite
|
|
6408
|
+
# videos * positively rated (liked) videos * watch history * watch later To be
|
|
6369
6409
|
# more specific, these lists are associated with a channel, which is a
|
|
6370
6410
|
# collection of a person, group, or company's videos, playlists, and other
|
|
6371
6411
|
# YouTube information. You can retrieve the playlist IDs for each of these lists
|
|
6372
|
-
# from the channel resource
|
|
6373
|
-
#
|
|
6374
|
-
#
|
|
6375
|
-
# playlistItems
|
|
6376
|
-
#
|
|
6377
|
-
#
|
|
6412
|
+
# from the [`channel resource`](https://developers.google.com/youtube/data/
|
|
6413
|
+
# reference/rest/v3/channels) for a given channel. You can then use the [`
|
|
6414
|
+
# playlistItems.list`](https://developers.google.com/youtube/data/reference/rest/
|
|
6415
|
+
# v3/playlistItems/list) method to retrieve any of those lists. You can also add
|
|
6416
|
+
# or remove items from those lists by calling the [`playlistItems.insert`](https:
|
|
6417
|
+
# //developers.google.com/youtube/data/reference/rest/v3/playlistItems/insert)
|
|
6418
|
+
# and [`playlistItems.delete`](https://developers.google.com/youtube/data/
|
|
6419
|
+
# reference/rest/v3/playlistItems/delete) methods. For example, if a user gives
|
|
6420
|
+
# a positive rating to a video, you would insert that video into the liked
|
|
6421
|
+
# videos playlist for that user's channel.
|
|
6378
6422
|
class PlaylistItem
|
|
6379
6423
|
include Google::Apis::Core::Hashable
|
|
6380
6424
|
|
|
@@ -6451,8 +6495,9 @@ module Google
|
|
|
6451
6495
|
# @return [String]
|
|
6452
6496
|
attr_accessor :start_at
|
|
6453
6497
|
|
|
6454
|
-
# The ID that YouTube uses to uniquely identify a video. To retrieve the video
|
|
6455
|
-
# resource
|
|
6498
|
+
# The ID that YouTube uses to uniquely identify a video. To [retrieve the `video`
|
|
6499
|
+
# resource](https://developers.google.com/youtube/data/reference/rest/v3/videos/
|
|
6500
|
+
# list), set the id query parameter to this value in your API request.
|
|
6456
6501
|
# Corresponds to the JSON property `videoId`
|
|
6457
6502
|
# @return [String]
|
|
6458
6503
|
attr_accessor :video_id
|
|
@@ -7851,6 +7896,11 @@ module Google
|
|
|
7851
7896
|
# @return [Google::Apis::YoutubeV3::Thumbnail]
|
|
7852
7897
|
attr_accessor :qhd
|
|
7853
7898
|
|
|
7899
|
+
# A thumbnail is an image representing a YouTube resource.
|
|
7900
|
+
# Corresponds to the JSON property `shortsAspectRatio`
|
|
7901
|
+
# @return [Google::Apis::YoutubeV3::Thumbnail]
|
|
7902
|
+
attr_accessor :shorts_aspect_ratio
|
|
7903
|
+
|
|
7854
7904
|
# A thumbnail is an image representing a YouTube resource.
|
|
7855
7905
|
# Corresponds to the JSON property `standard`
|
|
7856
7906
|
# @return [Google::Apis::YoutubeV3::Thumbnail]
|
|
@@ -7873,6 +7923,7 @@ module Google
|
|
|
7873
7923
|
@maxres = args[:maxres] if args.key?(:maxres)
|
|
7874
7924
|
@medium = args[:medium] if args.key?(:medium)
|
|
7875
7925
|
@qhd = args[:qhd] if args.key?(:qhd)
|
|
7926
|
+
@shorts_aspect_ratio = args[:shorts_aspect_ratio] if args.key?(:shorts_aspect_ratio)
|
|
7876
7927
|
@standard = args[:standard] if args.key?(:standard)
|
|
7877
7928
|
@uhd = args[:uhd] if args.key?(:uhd)
|
|
7878
7929
|
end
|
|
@@ -8888,12 +8939,17 @@ module Google
|
|
|
8888
8939
|
# @return [DateTime]
|
|
8889
8940
|
attr_accessor :actual_start_time
|
|
8890
8941
|
|
|
8891
|
-
# The number of viewers
|
|
8892
|
-
#
|
|
8893
|
-
#
|
|
8894
|
-
#
|
|
8895
|
-
#
|
|
8896
|
-
#
|
|
8942
|
+
# The number of viewers watching the broadcast at the time of the request. This
|
|
8943
|
+
# count includes co-viewers when multiple people watch together on a television
|
|
8944
|
+
# screen. The property and its value will be present if the broadcast has
|
|
8945
|
+
# current viewers and the broadcast owner has not hidden the viewcount for the
|
|
8946
|
+
# video. Note that YouTube stops tracking the number of concurrent viewers for a
|
|
8947
|
+
# broadcast when the broadcast ends. So, this property would not identify the
|
|
8948
|
+
# number of viewers watching an archived video of a live broadcast that already
|
|
8949
|
+
# ended. The concurrent viewer counts that the YouTube Data API returns might
|
|
8950
|
+
# differ from the processed, despammed concurrent viewer counts available
|
|
8951
|
+
# through YouTube Analytics. Learn more about live streaming metrics in the [
|
|
8952
|
+
# YouTube Help Center](https://support.google.com/youtube/answer/2853833).
|
|
8897
8953
|
# Corresponds to the JSON property `concurrentViewers`
|
|
8898
8954
|
# @return [Fixnum]
|
|
8899
8955
|
attr_accessor :concurrent_viewers
|
|
@@ -9221,7 +9277,8 @@ module Google
|
|
|
9221
9277
|
class VideoSnippet
|
|
9222
9278
|
include Google::Apis::Core::Hashable
|
|
9223
9279
|
|
|
9224
|
-
# The YouTube video category
|
|
9280
|
+
# The YouTube [video category](https://developers.google.com/youtube/data/
|
|
9281
|
+
# reference/rest/v3/videoCategories/list) associated with the video.
|
|
9225
9282
|
# Corresponds to the JSON property `categoryId`
|
|
9226
9283
|
# @return [String]
|
|
9227
9284
|
attr_accessor :category_id
|
|
@@ -9385,7 +9442,11 @@ module Google
|
|
|
9385
9442
|
# @return [Fixnum]
|
|
9386
9443
|
attr_accessor :like_count
|
|
9387
9444
|
|
|
9388
|
-
# The number of times the video has been viewed.
|
|
9445
|
+
# The number of times the video has been viewed. For all video formats (long-
|
|
9446
|
+
# form, Live, and Shorts), `viewCount` counts views the moment a video begins to
|
|
9447
|
+
# play (includes autoplay, hold the pointer over, and click/tap to play). For
|
|
9448
|
+
# all video formats (long-form, Live, and Shorts), `viewCount` includes co-views
|
|
9449
|
+
# when multiple people watch together on a television screen.
|
|
9389
9450
|
# Corresponds to the JSON property `viewCount`
|
|
9390
9451
|
# @return [Fixnum]
|
|
9391
9452
|
attr_accessor :view_count
|
|
@@ -9464,7 +9525,9 @@ module Google
|
|
|
9464
9525
|
# @return [Fixnum]
|
|
9465
9526
|
attr_accessor :like_count
|
|
9466
9527
|
|
|
9467
|
-
# Output only. The number of times the video has been viewed.
|
|
9528
|
+
# Output only. The number of times the video has been viewed. For all video
|
|
9529
|
+
# formats (long-form, Live, and Shorts), `viewCount` includes co-views when
|
|
9530
|
+
# multiple people watch together on a television screen.
|
|
9468
9531
|
# Corresponds to the JSON property `viewCount`
|
|
9469
9532
|
# @return [Fixnum]
|
|
9470
9533
|
attr_accessor :view_count
|
|
@@ -9499,7 +9562,7 @@ module Google
|
|
|
9499
9562
|
alias_method :embeddable?, :embeddable
|
|
9500
9563
|
|
|
9501
9564
|
# This value explains why a video failed to upload. This property is only
|
|
9502
|
-
# present if the uploadStatus property indicates that the upload failed.
|
|
9565
|
+
# present if the `uploadStatus` property indicates that the upload failed.
|
|
9503
9566
|
# Corresponds to the JSON property `failureReason`
|
|
9504
9567
|
# @return [String]
|
|
9505
9568
|
attr_accessor :failure_reason
|
|
@@ -9515,7 +9578,10 @@ module Google
|
|
|
9515
9578
|
attr_accessor :made_for_kids
|
|
9516
9579
|
alias_method :made_for_kids?, :made_for_kids
|
|
9517
9580
|
|
|
9518
|
-
# The video's privacy status.
|
|
9581
|
+
# The video's privacy status. In a `videos.insert` request, if you don't specify
|
|
9582
|
+
# a value for this property, the uploaded video's privacy status defaults to `
|
|
9583
|
+
# public`. Videos uploaded from unverified API projects are not restricted to
|
|
9584
|
+
# private viewing mode.
|
|
9519
9585
|
# Corresponds to the JSON property `privacyStatus`
|
|
9520
9586
|
# @return [String]
|
|
9521
9587
|
attr_accessor :privacy_status
|
|
@@ -9535,7 +9601,7 @@ module Google
|
|
|
9535
9601
|
attr_accessor :publish_at
|
|
9536
9602
|
|
|
9537
9603
|
# This value explains why YouTube rejected an uploaded video. This property is
|
|
9538
|
-
# only present if the uploadStatus property indicates that the upload was
|
|
9604
|
+
# only present if the `uploadStatus` property indicates that the upload was
|
|
9539
9605
|
# rejected.
|
|
9540
9606
|
# Corresponds to the JSON property `rejectionReason`
|
|
9541
9607
|
# @return [String]
|
|
@@ -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.74.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.19.
|
|
22
|
+
GENERATOR_VERSION = "0.19.3"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20261124"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -3368,6 +3368,8 @@ module Google
|
|
|
3368
3368
|
|
|
3369
3369
|
property :qhd, as: 'qhd', class: Google::Apis::YoutubeV3::Thumbnail, decorator: Google::Apis::YoutubeV3::Thumbnail::Representation
|
|
3370
3370
|
|
|
3371
|
+
property :shorts_aspect_ratio, as: 'shortsAspectRatio', class: Google::Apis::YoutubeV3::Thumbnail, decorator: Google::Apis::YoutubeV3::Thumbnail::Representation
|
|
3372
|
+
|
|
3371
3373
|
property :standard, as: 'standard', class: Google::Apis::YoutubeV3::Thumbnail, decorator: Google::Apis::YoutubeV3::Thumbnail::Representation
|
|
3372
3374
|
|
|
3373
3375
|
property :uhd, as: 'uhd', class: Google::Apis::YoutubeV3::Thumbnail, decorator: Google::Apis::YoutubeV3::Thumbnail::Representation
|
|
@@ -433,7 +433,8 @@ module Google
|
|
|
433
433
|
# credentials for each individual channel. The actual CMS account that the user
|
|
434
434
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
435
435
|
# @param [String] on_behalf_of_content_owner_channel
|
|
436
|
-
# This parameter can only be used in a properly authorized request
|
|
436
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
437
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
437
438
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
438
439
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
439
440
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -544,7 +545,8 @@ module Google
|
|
|
544
545
|
# credentials for each individual channel. The CMS account that the user
|
|
545
546
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
546
547
|
# @param [String] on_behalf_of_content_owner_channel
|
|
547
|
-
# This parameter can only be used in a properly authorized request
|
|
548
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
549
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
548
550
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
549
551
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
550
552
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -1236,7 +1238,8 @@ module Google
|
|
|
1236
1238
|
# credentials for each individual channel. The CMS account that the user
|
|
1237
1239
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
1238
1240
|
# @param [String] on_behalf_of_content_owner_channel
|
|
1239
|
-
# This parameter can only be used in a properly authorized request
|
|
1241
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
1242
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
1240
1243
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
1241
1244
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
1242
1245
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -1297,7 +1300,8 @@ module Google
|
|
|
1297
1300
|
# credentials for each individual channel. The CMS account that the user
|
|
1298
1301
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
1299
1302
|
# @param [String] on_behalf_of_content_owner_channel
|
|
1300
|
-
# This parameter can only be used in a properly authorized request
|
|
1303
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
1304
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
1301
1305
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
1302
1306
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
1303
1307
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -1356,7 +1360,8 @@ module Google
|
|
|
1356
1360
|
# credentials for each individual channel. The CMS account that the user
|
|
1357
1361
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
1358
1362
|
# @param [String] on_behalf_of_content_owner_channel
|
|
1359
|
-
# This parameter can only be used in a properly authorized request
|
|
1363
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
1364
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
1360
1365
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
1361
1366
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
1362
1367
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -1417,7 +1422,8 @@ module Google
|
|
|
1417
1422
|
# credentials for each individual channel. The CMS account that the user
|
|
1418
1423
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
1419
1424
|
# @param [String] on_behalf_of_content_owner_channel
|
|
1420
|
-
# This parameter can only be used in a properly authorized request
|
|
1425
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
1426
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
1421
1427
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
1422
1428
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
1423
1429
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -1495,7 +1501,8 @@ module Google
|
|
|
1495
1501
|
# credentials for each individual channel. The CMS account that the user
|
|
1496
1502
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
1497
1503
|
# @param [String] on_behalf_of_content_owner_channel
|
|
1498
|
-
# This parameter can only be used in a properly authorized request
|
|
1504
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
1505
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
1499
1506
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
1500
1507
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
1501
1508
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -1569,7 +1576,8 @@ module Google
|
|
|
1569
1576
|
# credentials for each individual channel. The CMS account that the user
|
|
1570
1577
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
1571
1578
|
# @param [String] on_behalf_of_content_owner_channel
|
|
1572
|
-
# This parameter can only be used in a properly authorized request
|
|
1579
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
1580
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
1573
1581
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
1574
1582
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
1575
1583
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -1640,7 +1648,8 @@ module Google
|
|
|
1640
1648
|
# credentials for each individual channel. The CMS account that the user
|
|
1641
1649
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
1642
1650
|
# @param [String] on_behalf_of_content_owner_channel
|
|
1643
|
-
# This parameter can only be used in a properly authorized request
|
|
1651
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
1652
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
1644
1653
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
1645
1654
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
1646
1655
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -1747,7 +1756,7 @@ module Google
|
|
|
1747
1756
|
execute_or_queue_command(command, &block)
|
|
1748
1757
|
end
|
|
1749
1758
|
|
|
1750
|
-
# Deletes a chat message.
|
|
1759
|
+
# Deletes a chat message. A call to this method has a quota cost of 20 units.
|
|
1751
1760
|
# @param [String] id
|
|
1752
1761
|
# @param [String] fields
|
|
1753
1762
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1774,11 +1783,12 @@ module Google
|
|
|
1774
1783
|
execute_or_queue_command(command, &block)
|
|
1775
1784
|
end
|
|
1776
1785
|
|
|
1777
|
-
# Inserts a new resource into this collection.
|
|
1786
|
+
# Inserts a new resource into this collection. A call to this method has a quota
|
|
1787
|
+
# cost of 20 units.
|
|
1778
1788
|
# @param [Array<String>, String] part
|
|
1779
|
-
# The
|
|
1780
|
-
# the write operation
|
|
1781
|
-
#
|
|
1789
|
+
# The `part` parameter serves two purposes. It identifies the properties that
|
|
1790
|
+
# the write operation sets as well as the properties that the API response
|
|
1791
|
+
# includes. Set the parameter value to `snippet`.
|
|
1782
1792
|
# @param [Google::Apis::YoutubeV3::LiveChatMessage] live_chat_message_object
|
|
1783
1793
|
# @param [String] fields
|
|
1784
1794
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1809,22 +1819,24 @@ module Google
|
|
|
1809
1819
|
execute_or_queue_command(command, &block)
|
|
1810
1820
|
end
|
|
1811
1821
|
|
|
1812
|
-
# Retrieves a list of resources, possibly filtered.
|
|
1822
|
+
# Retrieves a list of resources, possibly filtered. A call to this method has a
|
|
1823
|
+
# quota cost of 5 units.
|
|
1813
1824
|
# @param [String] live_chat_id
|
|
1814
|
-
# The
|
|
1825
|
+
# The ID of the live chat for which messages should be returned.
|
|
1815
1826
|
# @param [Array<String>, String] part
|
|
1816
|
-
# The
|
|
1817
|
-
# response
|
|
1827
|
+
# The `part` parameter specifies the `liveChatMessage` resource parts that the
|
|
1828
|
+
# API response includes. Supported values are `id`, `snippet`, and `
|
|
1829
|
+
# authorDetails`.
|
|
1818
1830
|
# @param [String] hl
|
|
1819
1831
|
# Specifies the localization language in which the system messages should be
|
|
1820
1832
|
# returned.
|
|
1821
1833
|
# @param [Fixnum] max_results
|
|
1822
|
-
# The
|
|
1834
|
+
# The `maxResults` parameter specifies the maximum number of items that should
|
|
1823
1835
|
# be returned in the result set. Not used in the streaming RPC.
|
|
1824
1836
|
# @param [String] page_token
|
|
1825
|
-
# The
|
|
1826
|
-
# should be returned. In an API response, the nextPageToken property
|
|
1827
|
-
# other pages that could be retrieved.
|
|
1837
|
+
# The `pageToken` parameter identifies a specific page in the result set that
|
|
1838
|
+
# should be returned. In an API response, the `nextPageToken` property
|
|
1839
|
+
# identifies other pages that could be retrieved.
|
|
1828
1840
|
# @param [Fixnum] profile_image_size
|
|
1829
1841
|
# Specifies the size of the profile image that should be returned for each user.
|
|
1830
1842
|
# @param [String] fields
|
|
@@ -1859,9 +1871,10 @@ module Google
|
|
|
1859
1871
|
execute_or_queue_command(command, &block)
|
|
1860
1872
|
end
|
|
1861
1873
|
|
|
1862
|
-
#
|
|
1874
|
+
# Transitions a durable chat event. A call to this method has a quota cost of 20
|
|
1875
|
+
# units.
|
|
1863
1876
|
# @param [String] id
|
|
1864
|
-
# The ID that uniquely
|
|
1877
|
+
# The ID that uniquely identifies the chat message event to transition.
|
|
1865
1878
|
# @param [String] status
|
|
1866
1879
|
# The status to which the chat event is going to transition.
|
|
1867
1880
|
# @param [String] fields
|
|
@@ -2010,7 +2023,8 @@ module Google
|
|
|
2010
2023
|
# credentials for each individual channel. The CMS account that the user
|
|
2011
2024
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
2012
2025
|
# @param [String] on_behalf_of_content_owner_channel
|
|
2013
|
-
# This parameter can only be used in a properly authorized request
|
|
2026
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
2027
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
2014
2028
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
2015
2029
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
2016
2030
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -2069,7 +2083,8 @@ module Google
|
|
|
2069
2083
|
# credentials for each individual channel. The CMS account that the user
|
|
2070
2084
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
2071
2085
|
# @param [String] on_behalf_of_content_owner_channel
|
|
2072
|
-
# This parameter can only be used in a properly authorized request
|
|
2086
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
2087
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
2073
2088
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
2074
2089
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
2075
2090
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -2137,7 +2152,8 @@ module Google
|
|
|
2137
2152
|
# credentials for each individual channel. The CMS account that the user
|
|
2138
2153
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
2139
2154
|
# @param [String] on_behalf_of_content_owner_channel
|
|
2140
|
-
# This parameter can only be used in a properly authorized request
|
|
2155
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
2156
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
2141
2157
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
2142
2158
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
2143
2159
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -2210,7 +2226,8 @@ module Google
|
|
|
2210
2226
|
# credentials for each individual channel. The CMS account that the user
|
|
2211
2227
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
2212
2228
|
# @param [String] on_behalf_of_content_owner_channel
|
|
2213
|
-
# This parameter can only be used in a properly authorized request
|
|
2229
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
2230
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
2214
2231
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
2215
2232
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
2216
2233
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -2388,7 +2405,8 @@ module Google
|
|
|
2388
2405
|
# credentials for each individual channel. The CMS account that the user
|
|
2389
2406
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
2390
2407
|
# @param [String] on_behalf_of_content_owner_channel
|
|
2391
|
-
# This parameter can only be used in a properly authorized request
|
|
2408
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
2409
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
2392
2410
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
2393
2411
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
2394
2412
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -2461,7 +2479,8 @@ module Google
|
|
|
2461
2479
|
# credentials for each individual channel. The CMS account that the user
|
|
2462
2480
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
2463
2481
|
# @param [String] on_behalf_of_content_owner_channel
|
|
2464
|
-
# This parameter can only be used in a properly authorized request
|
|
2482
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
2483
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
2465
2484
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
2466
2485
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
2467
2486
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -2831,7 +2850,8 @@ module Google
|
|
|
2831
2850
|
# credentials for each individual channel. The CMS account that the user
|
|
2832
2851
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
2833
2852
|
# @param [String] on_behalf_of_content_owner_channel
|
|
2834
|
-
# This parameter can only be used in a properly authorized request
|
|
2853
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
2854
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
2835
2855
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
2836
2856
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
2837
2857
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -2907,7 +2927,8 @@ module Google
|
|
|
2907
2927
|
# credentials for each individual channel. The CMS account that the user
|
|
2908
2928
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
2909
2929
|
# @param [String] on_behalf_of_content_owner_channel
|
|
2910
|
-
# This parameter can only be used in a properly authorized request
|
|
2930
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
2931
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
2911
2932
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
2912
2933
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
2913
2934
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -3242,7 +3263,8 @@ module Google
|
|
|
3242
3263
|
# credentials for each individual channel. The CMS account that the user
|
|
3243
3264
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
3244
3265
|
# @param [String] on_behalf_of_content_owner_channel
|
|
3245
|
-
# This parameter can only be used in a properly authorized request
|
|
3266
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
3267
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
3246
3268
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
3247
3269
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
3248
3270
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -3844,7 +3866,8 @@ module Google
|
|
|
3844
3866
|
# credentials for each individual channel. The CMS account that the user
|
|
3845
3867
|
# authenticates with must be linked to the specified YouTube content owner.
|
|
3846
3868
|
# @param [String] on_behalf_of_content_owner_channel
|
|
3847
|
-
# This parameter can only be used in a properly authorized request
|
|
3869
|
+
# This parameter can only be used in a properly [authorized request](https://
|
|
3870
|
+
# developers.google.com/youtube/data/guides/authentication). *Note:* This
|
|
3848
3871
|
# parameter is intended exclusively for YouTube content partners. The *
|
|
3849
3872
|
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
3850
3873
|
# the channel to which a video is being added. This parameter is required when a
|
|
@@ -3928,8 +3951,11 @@ module Google
|
|
|
3928
3951
|
# @param [Fixnum] max_results
|
|
3929
3952
|
# The *maxResults* parameter specifies the maximum number of items that should
|
|
3930
3953
|
# be returned in the result set. *Note:* This parameter is supported for use in
|
|
3931
|
-
# conjunction with the myRating
|
|
3932
|
-
#
|
|
3954
|
+
# conjunction with the [`myRating`](https://developers.google.com/youtube/data/
|
|
3955
|
+
# reference/rest/v3/videos/list#myRating) and [`chart`](https://developers.
|
|
3956
|
+
# google.com/youtube/data/reference/rest/v3/videos/list#chart) parameters, but
|
|
3957
|
+
# it is not supported for use in conjunction with the [`id`](https://developers.
|
|
3958
|
+
# google.com/youtube/data/reference/rest/v3/videos/list#id) parameter.
|
|
3933
3959
|
# @param [Fixnum] max_width
|
|
3934
3960
|
# Return the player with maximum height specified in
|
|
3935
3961
|
# @param [String] my_rating
|
|
@@ -3949,9 +3975,12 @@ module Google
|
|
|
3949
3975
|
# The *pageToken* parameter identifies a specific page in the result set that
|
|
3950
3976
|
# should be returned. In an API response, the nextPageToken and prevPageToken
|
|
3951
3977
|
# properties identify other pages that could be retrieved. *Note:* This
|
|
3952
|
-
# parameter is supported for use in conjunction with the myRating
|
|
3953
|
-
#
|
|
3954
|
-
#
|
|
3978
|
+
# parameter is supported for use in conjunction with the [`myRating`](https://
|
|
3979
|
+
# developers.google.com/youtube/data/reference/rest/v3/videos/list#myRating) and
|
|
3980
|
+
# [`chart`](https://developers.google.com/youtube/data/reference/rest/v3/videos/
|
|
3981
|
+
# list#chart) parameters, but it is not supported for use in conjunction with
|
|
3982
|
+
# the [`id`](https://developers.google.com/youtube/data/reference/rest/v3/videos/
|
|
3983
|
+
# list#id) parameter.
|
|
3955
3984
|
# @param [String] region_code
|
|
3956
3985
|
# Use a chart that is specific to the specified region
|
|
3957
3986
|
# @param [String] video_category_id
|
|
@@ -4211,22 +4240,24 @@ module Google
|
|
|
4211
4240
|
execute_or_queue_command(command, &block)
|
|
4212
4241
|
end
|
|
4213
4242
|
|
|
4214
|
-
# Allows a user to load live chat through a server-streamed RPC.
|
|
4243
|
+
# Allows a user to load live chat through a server-streamed RPC. A call to this
|
|
4244
|
+
# method has a quota cost of 5 units.
|
|
4215
4245
|
# @param [String] hl
|
|
4216
4246
|
# Specifies the localization language in which the system messages should be
|
|
4217
4247
|
# returned.
|
|
4218
4248
|
# @param [String] live_chat_id
|
|
4219
|
-
# The
|
|
4249
|
+
# The ID of the live chat for which messages should be returned.
|
|
4220
4250
|
# @param [Fixnum] max_results
|
|
4221
|
-
# The
|
|
4251
|
+
# The `maxResults` parameter specifies the maximum number of items that should
|
|
4222
4252
|
# be returned in the result set. Not used in the streaming RPC.
|
|
4223
4253
|
# @param [String] page_token
|
|
4224
|
-
# The
|
|
4225
|
-
# should be returned. In an API response, the nextPageToken property
|
|
4226
|
-
# other pages that could be retrieved.
|
|
4254
|
+
# The `pageToken` parameter identifies a specific page in the result set that
|
|
4255
|
+
# should be returned. In an API response, the `nextPageToken` property
|
|
4256
|
+
# identifies other pages that could be retrieved.
|
|
4227
4257
|
# @param [Array<String>, String] part
|
|
4228
|
-
# The
|
|
4229
|
-
# response
|
|
4258
|
+
# The `part` parameter specifies the `liveChatMessage` resource parts that the
|
|
4259
|
+
# API response includes. Supported values are `id`, `snippet`, and `
|
|
4260
|
+
# authorDetails`.
|
|
4230
4261
|
# @param [Fixnum] profile_image_size
|
|
4231
4262
|
# Specifies the size of the profile image that should be returned for each user.
|
|
4232
4263
|
# @param [String] fields
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.74.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -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.74.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:
|