google-apis-youtube_v3 0.15.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 397db2830e03a8d4910f0b468cc9a72448024d3d191825753da6e4bc7cb2d1df
|
4
|
+
data.tar.gz: ebd51d15b2ea76432d7b74e325cba63ea33a1d6f6ecde98205b98171014d20ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1428f639b2b040bff450d53181f8707a9261cf935634cce87955685165c1ebcb43ba3d86815a01b82506df800a222fe08a6cc19611181a6ecab0b63ef92d1b1
|
7
|
+
data.tar.gz: 77f95e51362d1ae81a1c0c18e3e85c5919e7da5b072c2d349a4a7831dc416af5ff32c1e2339108c56fa0d0e7f588aabe77308edecb6f4835d536e8bcccb614f1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-youtube_v3
|
2
2
|
|
3
|
+
### v0.18.0 (2022-06-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220608
|
6
|
+
* Regenerated using generator version 0.5.0
|
7
|
+
|
8
|
+
### v0.17.0 (2022-03-22)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220320
|
11
|
+
|
12
|
+
### v0.16.0 (2022-03-15)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220312
|
15
|
+
|
3
16
|
### v0.15.0 (2022-03-01)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20220227
|
@@ -1911,6 +1911,11 @@ module Google
|
|
1911
1911
|
class ChannelToStoreLinkDetails
|
1912
1912
|
include Google::Apis::Core::Hashable
|
1913
1913
|
|
1914
|
+
# Google Merchant Center id of the store.
|
1915
|
+
# Corresponds to the JSON property `merchantId`
|
1916
|
+
# @return [Fixnum]
|
1917
|
+
attr_accessor :merchant_id
|
1918
|
+
|
1914
1919
|
# Name of the store.
|
1915
1920
|
# Corresponds to the JSON property `storeName`
|
1916
1921
|
# @return [String]
|
@@ -1927,6 +1932,7 @@ module Google
|
|
1927
1932
|
|
1928
1933
|
# Update properties of this object
|
1929
1934
|
def update!(**args)
|
1935
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
1930
1936
|
@store_name = args[:store_name] if args.key?(:store_name)
|
1931
1937
|
@store_url = args[:store_url] if args.key?(:store_url)
|
1932
1938
|
end
|
@@ -2855,6 +2861,53 @@ module Google
|
|
2855
2861
|
end
|
2856
2862
|
end
|
2857
2863
|
|
2864
|
+
# Note that there may be a 5-second end-point resolution issue. For instance, if
|
2865
|
+
# a cuepoint comes in for 22:03:27, we may stuff the cuepoint into 22:03:25 or
|
2866
|
+
# 22:03:30, depending. This is an artifact of HLS.
|
2867
|
+
class Cuepoint
|
2868
|
+
include Google::Apis::Core::Hashable
|
2869
|
+
|
2870
|
+
#
|
2871
|
+
# Corresponds to the JSON property `cueType`
|
2872
|
+
# @return [String]
|
2873
|
+
attr_accessor :cue_type
|
2874
|
+
|
2875
|
+
# The duration of this cuepoint.
|
2876
|
+
# Corresponds to the JSON property `durationSecs`
|
2877
|
+
# @return [Fixnum]
|
2878
|
+
attr_accessor :duration_secs
|
2879
|
+
|
2880
|
+
# The identifier for cuepoint resource.
|
2881
|
+
# Corresponds to the JSON property `id`
|
2882
|
+
# @return [String]
|
2883
|
+
attr_accessor :id
|
2884
|
+
|
2885
|
+
# The time when the cuepoint should be inserted by offset to the broadcast
|
2886
|
+
# actual start time.
|
2887
|
+
# Corresponds to the JSON property `insertionOffsetTimeMs`
|
2888
|
+
# @return [Fixnum]
|
2889
|
+
attr_accessor :insertion_offset_time_ms
|
2890
|
+
|
2891
|
+
# The wall clock time at which the cuepoint should be inserted. Only one of
|
2892
|
+
# insertion_offset_time_ms and walltime_ms may be set at a time.
|
2893
|
+
# Corresponds to the JSON property `walltimeMs`
|
2894
|
+
# @return [Fixnum]
|
2895
|
+
attr_accessor :walltime_ms
|
2896
|
+
|
2897
|
+
def initialize(**args)
|
2898
|
+
update!(**args)
|
2899
|
+
end
|
2900
|
+
|
2901
|
+
# Update properties of this object
|
2902
|
+
def update!(**args)
|
2903
|
+
@cue_type = args[:cue_type] if args.key?(:cue_type)
|
2904
|
+
@duration_secs = args[:duration_secs] if args.key?(:duration_secs)
|
2905
|
+
@id = args[:id] if args.key?(:id)
|
2906
|
+
@insertion_offset_time_ms = args[:insertion_offset_time_ms] if args.key?(:insertion_offset_time_ms)
|
2907
|
+
@walltime_ms = args[:walltime_ms] if args.key?(:walltime_ms)
|
2908
|
+
end
|
2909
|
+
end
|
2910
|
+
|
2858
2911
|
#
|
2859
2912
|
class Entity
|
2860
2913
|
include Google::Apis::Core::Hashable
|
@@ -4058,6 +4111,43 @@ module Google
|
|
4058
4111
|
end
|
4059
4112
|
end
|
4060
4113
|
|
4114
|
+
#
|
4115
|
+
class LiveChatGiftMembershipReceivedDetails
|
4116
|
+
include Google::Apis::Core::Hashable
|
4117
|
+
|
4118
|
+
# The ID of the membership gifting message that is related to this gift
|
4119
|
+
# membership. This ID will always refer to a message whose type is '
|
4120
|
+
# membershipGiftingEvent'.
|
4121
|
+
# Corresponds to the JSON property `associatedMembershipGiftingMessageId`
|
4122
|
+
# @return [String]
|
4123
|
+
attr_accessor :associated_membership_gifting_message_id
|
4124
|
+
|
4125
|
+
# The ID of the user that made the membership gifting purchase. This matches the
|
4126
|
+
# `snippet.authorChannelId` of the associated membership gifting message.
|
4127
|
+
# Corresponds to the JSON property `gifterChannelId`
|
4128
|
+
# @return [String]
|
4129
|
+
attr_accessor :gifter_channel_id
|
4130
|
+
|
4131
|
+
# The name of the Level at which the viewer is a member. This matches the `
|
4132
|
+
# snippet.membershipGiftingDetails.giftMembershipsLevelName` of the associated
|
4133
|
+
# membership gifting message. The Level names are defined by the YouTube channel
|
4134
|
+
# offering the Membership. In some situations this field isn't filled.
|
4135
|
+
# Corresponds to the JSON property `memberLevelName`
|
4136
|
+
# @return [String]
|
4137
|
+
attr_accessor :member_level_name
|
4138
|
+
|
4139
|
+
def initialize(**args)
|
4140
|
+
update!(**args)
|
4141
|
+
end
|
4142
|
+
|
4143
|
+
# Update properties of this object
|
4144
|
+
def update!(**args)
|
4145
|
+
@associated_membership_gifting_message_id = args[:associated_membership_gifting_message_id] if args.key?(:associated_membership_gifting_message_id)
|
4146
|
+
@gifter_channel_id = args[:gifter_channel_id] if args.key?(:gifter_channel_id)
|
4147
|
+
@member_level_name = args[:member_level_name] if args.key?(:member_level_name)
|
4148
|
+
end
|
4149
|
+
end
|
4150
|
+
|
4061
4151
|
#
|
4062
4152
|
class LiveChatMemberMilestoneChatDetails
|
4063
4153
|
include Google::Apis::Core::Hashable
|
@@ -4094,6 +4184,33 @@ module Google
|
|
4094
4184
|
end
|
4095
4185
|
end
|
4096
4186
|
|
4187
|
+
#
|
4188
|
+
class LiveChatMembershipGiftingDetails
|
4189
|
+
include Google::Apis::Core::Hashable
|
4190
|
+
|
4191
|
+
# The number of gift memberships purchased by the user.
|
4192
|
+
# Corresponds to the JSON property `giftMembershipsCount`
|
4193
|
+
# @return [Fixnum]
|
4194
|
+
attr_accessor :gift_memberships_count
|
4195
|
+
|
4196
|
+
# The name of the level of the gift memberships purchased by the user. The Level
|
4197
|
+
# names are defined by the YouTube channel offering the Membership. In some
|
4198
|
+
# situations this field isn't filled.
|
4199
|
+
# Corresponds to the JSON property `giftMembershipsLevelName`
|
4200
|
+
# @return [String]
|
4201
|
+
attr_accessor :gift_memberships_level_name
|
4202
|
+
|
4203
|
+
def initialize(**args)
|
4204
|
+
update!(**args)
|
4205
|
+
end
|
4206
|
+
|
4207
|
+
# Update properties of this object
|
4208
|
+
def update!(**args)
|
4209
|
+
@gift_memberships_count = args[:gift_memberships_count] if args.key?(:gift_memberships_count)
|
4210
|
+
@gift_memberships_level_name = args[:gift_memberships_level_name] if args.key?(:gift_memberships_level_name)
|
4211
|
+
end
|
4212
|
+
end
|
4213
|
+
|
4097
4214
|
# A *liveChatMessage* resource represents a chat message in a YouTube Live Chat.
|
4098
4215
|
class LiveChatMessage
|
4099
4216
|
include Google::Apis::Core::Hashable
|
@@ -4120,7 +4237,7 @@ module Google
|
|
4120
4237
|
# @return [String]
|
4121
4238
|
attr_accessor :kind
|
4122
4239
|
|
4123
|
-
# Next ID:
|
4240
|
+
# Next ID: 33
|
4124
4241
|
# Corresponds to the JSON property `snippet`
|
4125
4242
|
# @return [Google::Apis::YoutubeV3::LiveChatMessageSnippet]
|
4126
4243
|
attr_accessor :snippet
|
@@ -4317,7 +4434,7 @@ module Google
|
|
4317
4434
|
end
|
4318
4435
|
end
|
4319
4436
|
|
4320
|
-
# Next ID:
|
4437
|
+
# Next ID: 33
|
4321
4438
|
class LiveChatMessageSnippet
|
4322
4439
|
include Google::Apis::Core::Hashable
|
4323
4440
|
|
@@ -4325,6 +4442,8 @@ module Google
|
|
4325
4442
|
# textMessageEvent - the user that wrote the message fanFundingEvent - the user
|
4326
4443
|
# that funded the broadcast newSponsorEvent - the user that just became a
|
4327
4444
|
# sponsor memberMilestoneChatEvent - the member that sent the message
|
4445
|
+
# membershipGiftingEvent - the user that made the purchase
|
4446
|
+
# giftMembershipReceivedEvent - the user that received the gift membership
|
4328
4447
|
# messageDeletedEvent - the moderator that took the action messageRetractedEvent
|
4329
4448
|
# - the author that retracted their message userBannedEvent - the moderator that
|
4330
4449
|
# took the action superChatEvent - the user that made the purchase
|
@@ -4346,6 +4465,12 @@ module Google
|
|
4346
4465
|
# @return [Google::Apis::YoutubeV3::LiveChatFanFundingEventDetails]
|
4347
4466
|
attr_accessor :fan_funding_event_details
|
4348
4467
|
|
4468
|
+
# Details about the Gift Membership Received event, this is only set if the type
|
4469
|
+
# is 'giftMembershipReceivedEvent'.
|
4470
|
+
# Corresponds to the JSON property `giftMembershipReceivedDetails`
|
4471
|
+
# @return [Google::Apis::YoutubeV3::LiveChatGiftMembershipReceivedDetails]
|
4472
|
+
attr_accessor :gift_membership_received_details
|
4473
|
+
|
4349
4474
|
# Whether the message has display content that should be displayed to users.
|
4350
4475
|
# Corresponds to the JSON property `hasDisplayContent`
|
4351
4476
|
# @return [Boolean]
|
@@ -4363,6 +4488,12 @@ module Google
|
|
4363
4488
|
# @return [Google::Apis::YoutubeV3::LiveChatMemberMilestoneChatDetails]
|
4364
4489
|
attr_accessor :member_milestone_chat_details
|
4365
4490
|
|
4491
|
+
# Details about the Membership Gifting event, this is only set if the type is '
|
4492
|
+
# membershipGiftingEvent'.
|
4493
|
+
# Corresponds to the JSON property `membershipGiftingDetails`
|
4494
|
+
# @return [Google::Apis::YoutubeV3::LiveChatMembershipGiftingDetails]
|
4495
|
+
attr_accessor :membership_gifting_details
|
4496
|
+
|
4366
4497
|
#
|
4367
4498
|
# Corresponds to the JSON property `messageDeletedDetails`
|
4368
4499
|
# @return [Google::Apis::YoutubeV3::LiveChatMessageDeletedDetails]
|
@@ -4422,9 +4553,11 @@ module Google
|
|
4422
4553
|
@author_channel_id = args[:author_channel_id] if args.key?(:author_channel_id)
|
4423
4554
|
@display_message = args[:display_message] if args.key?(:display_message)
|
4424
4555
|
@fan_funding_event_details = args[:fan_funding_event_details] if args.key?(:fan_funding_event_details)
|
4556
|
+
@gift_membership_received_details = args[:gift_membership_received_details] if args.key?(:gift_membership_received_details)
|
4425
4557
|
@has_display_content = args[:has_display_content] if args.key?(:has_display_content)
|
4426
4558
|
@live_chat_id = args[:live_chat_id] if args.key?(:live_chat_id)
|
4427
4559
|
@member_milestone_chat_details = args[:member_milestone_chat_details] if args.key?(:member_milestone_chat_details)
|
4560
|
+
@membership_gifting_details = args[:membership_gifting_details] if args.key?(:membership_gifting_details)
|
4428
4561
|
@message_deleted_details = args[:message_deleted_details] if args.key?(:message_deleted_details)
|
4429
4562
|
@message_retracted_details = args[:message_retracted_details] if args.key?(:message_retracted_details)
|
4430
4563
|
@new_sponsor_details = args[:new_sponsor_details] if args.key?(:new_sponsor_details)
|
@@ -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.18.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220608"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -352,6 +352,12 @@ module Google
|
|
352
352
|
include Google::Apis::Core::JsonObjectSupport
|
353
353
|
end
|
354
354
|
|
355
|
+
class Cuepoint
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
355
361
|
class Entity
|
356
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
363
|
|
@@ -496,12 +502,24 @@ module Google
|
|
496
502
|
include Google::Apis::Core::JsonObjectSupport
|
497
503
|
end
|
498
504
|
|
505
|
+
class LiveChatGiftMembershipReceivedDetails
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
509
|
+
end
|
510
|
+
|
499
511
|
class LiveChatMemberMilestoneChatDetails
|
500
512
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
513
|
|
502
514
|
include Google::Apis::Core::JsonObjectSupport
|
503
515
|
end
|
504
516
|
|
517
|
+
class LiveChatMembershipGiftingDetails
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
505
523
|
class LiveChatMessage
|
506
524
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
525
|
|
@@ -1652,6 +1670,7 @@ module Google
|
|
1652
1670
|
class ChannelToStoreLinkDetails
|
1653
1671
|
# @private
|
1654
1672
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1673
|
+
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
1655
1674
|
property :store_name, as: 'storeName'
|
1656
1675
|
property :store_url, as: 'storeUrl'
|
1657
1676
|
end
|
@@ -1852,6 +1871,17 @@ module Google
|
|
1852
1871
|
end
|
1853
1872
|
end
|
1854
1873
|
|
1874
|
+
class Cuepoint
|
1875
|
+
# @private
|
1876
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1877
|
+
property :cue_type, as: 'cueType'
|
1878
|
+
property :duration_secs, as: 'durationSecs'
|
1879
|
+
property :id, as: 'id'
|
1880
|
+
property :insertion_offset_time_ms, :numeric_string => true, as: 'insertionOffsetTimeMs'
|
1881
|
+
property :walltime_ms, :numeric_string => true, as: 'walltimeMs'
|
1882
|
+
end
|
1883
|
+
end
|
1884
|
+
|
1855
1885
|
class Entity
|
1856
1886
|
# @private
|
1857
1887
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2154,6 +2184,15 @@ module Google
|
|
2154
2184
|
end
|
2155
2185
|
end
|
2156
2186
|
|
2187
|
+
class LiveChatGiftMembershipReceivedDetails
|
2188
|
+
# @private
|
2189
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2190
|
+
property :associated_membership_gifting_message_id, as: 'associatedMembershipGiftingMessageId'
|
2191
|
+
property :gifter_channel_id, as: 'gifterChannelId'
|
2192
|
+
property :member_level_name, as: 'memberLevelName'
|
2193
|
+
end
|
2194
|
+
end
|
2195
|
+
|
2157
2196
|
class LiveChatMemberMilestoneChatDetails
|
2158
2197
|
# @private
|
2159
2198
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2163,6 +2202,14 @@ module Google
|
|
2163
2202
|
end
|
2164
2203
|
end
|
2165
2204
|
|
2205
|
+
class LiveChatMembershipGiftingDetails
|
2206
|
+
# @private
|
2207
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2208
|
+
property :gift_memberships_count, as: 'giftMembershipsCount'
|
2209
|
+
property :gift_memberships_level_name, as: 'giftMembershipsLevelName'
|
2210
|
+
end
|
2211
|
+
end
|
2212
|
+
|
2166
2213
|
class LiveChatMessage
|
2167
2214
|
# @private
|
2168
2215
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2231,10 +2278,14 @@ module Google
|
|
2231
2278
|
property :display_message, as: 'displayMessage'
|
2232
2279
|
property :fan_funding_event_details, as: 'fanFundingEventDetails', class: Google::Apis::YoutubeV3::LiveChatFanFundingEventDetails, decorator: Google::Apis::YoutubeV3::LiveChatFanFundingEventDetails::Representation
|
2233
2280
|
|
2281
|
+
property :gift_membership_received_details, as: 'giftMembershipReceivedDetails', class: Google::Apis::YoutubeV3::LiveChatGiftMembershipReceivedDetails, decorator: Google::Apis::YoutubeV3::LiveChatGiftMembershipReceivedDetails::Representation
|
2282
|
+
|
2234
2283
|
property :has_display_content, as: 'hasDisplayContent'
|
2235
2284
|
property :live_chat_id, as: 'liveChatId'
|
2236
2285
|
property :member_milestone_chat_details, as: 'memberMilestoneChatDetails', class: Google::Apis::YoutubeV3::LiveChatMemberMilestoneChatDetails, decorator: Google::Apis::YoutubeV3::LiveChatMemberMilestoneChatDetails::Representation
|
2237
2286
|
|
2287
|
+
property :membership_gifting_details, as: 'membershipGiftingDetails', class: Google::Apis::YoutubeV3::LiveChatMembershipGiftingDetails, decorator: Google::Apis::YoutubeV3::LiveChatMembershipGiftingDetails::Representation
|
2288
|
+
|
2238
2289
|
property :message_deleted_details, as: 'messageDeletedDetails', class: Google::Apis::YoutubeV3::LiveChatMessageDeletedDetails, decorator: Google::Apis::YoutubeV3::LiveChatMessageDeletedDetails::Representation
|
2239
2290
|
|
2240
2291
|
property :message_retracted_details, as: 'messageRetractedDetails', class: Google::Apis::YoutubeV3::LiveChatMessageRetractedDetails, decorator: Google::Apis::YoutubeV3::LiveChatMessageRetractedDetails::Representation
|
@@ -3819,6 +3819,86 @@ module Google
|
|
3819
3819
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3820
3820
|
execute_or_queue_command(command, &block)
|
3821
3821
|
end
|
3822
|
+
|
3823
|
+
# Insert cuepoints in a broadcast
|
3824
|
+
# @param [String] id
|
3825
|
+
# Broadcast to insert ads to, or equivalently `external_video_id` for internal
|
3826
|
+
# use.
|
3827
|
+
# @param [String] on_behalf_of_content_owner
|
3828
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
3829
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
3830
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
3831
|
+
# of the content owner specified in the parameter value. This parameter is
|
3832
|
+
# intended for YouTube content partners that own and manage many different
|
3833
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
3834
|
+
# to all their video and channel data, without having to provide authentication
|
3835
|
+
# credentials for each individual channel. The CMS account that the user
|
3836
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
3837
|
+
# @param [String] on_behalf_of_content_owner_channel
|
3838
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
3839
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
3840
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
3841
|
+
# the channel to which a video is being added. This parameter is required when a
|
3842
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
3843
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
3844
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
3845
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
3846
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
3847
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
3848
|
+
# parameter is intended for YouTube content partners that own and manage many
|
3849
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
3850
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
3851
|
+
# without having to provide authentication credentials for each separate channel.
|
3852
|
+
# @param [Array<String>, String] part
|
3853
|
+
# The *part* parameter specifies a comma-separated list of one or more
|
3854
|
+
# liveBroadcast resource properties that the API response will include. The part
|
3855
|
+
# names that you can include in the parameter value are id, snippet,
|
3856
|
+
# contentDetails, and status.
|
3857
|
+
# @param [String] resource_cue_type
|
3858
|
+
# @param [Fixnum] resource_duration_secs
|
3859
|
+
# The duration of this cuepoint.
|
3860
|
+
# @param [String] resource_id
|
3861
|
+
# The identifier for cuepoint resource.
|
3862
|
+
# @param [Fixnum] resource_insertion_offset_time_ms
|
3863
|
+
# The time when the cuepoint should be inserted by offset to the broadcast
|
3864
|
+
# actual start time.
|
3865
|
+
# @param [Fixnum] resource_walltime_ms
|
3866
|
+
# The wall clock time at which the cuepoint should be inserted. Only one of
|
3867
|
+
# insertion_offset_time_ms and walltime_ms may be set at a time.
|
3868
|
+
# @param [String] fields
|
3869
|
+
# Selector specifying which fields to include in a partial response.
|
3870
|
+
# @param [String] quota_user
|
3871
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3872
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3873
|
+
# @param [Google::Apis::RequestOptions] options
|
3874
|
+
# Request-specific options
|
3875
|
+
#
|
3876
|
+
# @yield [result, err] Result & error if block supplied
|
3877
|
+
# @yieldparam result [Google::Apis::YoutubeV3::Cuepoint] parsed result object
|
3878
|
+
# @yieldparam err [StandardError] error object if request failed
|
3879
|
+
#
|
3880
|
+
# @return [Google::Apis::YoutubeV3::Cuepoint]
|
3881
|
+
#
|
3882
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3883
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3884
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3885
|
+
def create_youtube_v3_live_broadcast_cuepoint(id: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, part: nil, resource_cue_type: nil, resource_duration_secs: nil, resource_id: nil, resource_insertion_offset_time_ms: nil, resource_walltime_ms: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3886
|
+
command = make_simple_command(:post, 'youtube/v3/liveBroadcasts/cuepoint', options)
|
3887
|
+
command.response_representation = Google::Apis::YoutubeV3::Cuepoint::Representation
|
3888
|
+
command.response_class = Google::Apis::YoutubeV3::Cuepoint
|
3889
|
+
command.query['id'] = id unless id.nil?
|
3890
|
+
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
3891
|
+
command.query['onBehalfOfContentOwnerChannel'] = on_behalf_of_content_owner_channel unless on_behalf_of_content_owner_channel.nil?
|
3892
|
+
command.query['part'] = part unless part.nil?
|
3893
|
+
command.query['resource.cueType'] = resource_cue_type unless resource_cue_type.nil?
|
3894
|
+
command.query['resource.durationSecs'] = resource_duration_secs unless resource_duration_secs.nil?
|
3895
|
+
command.query['resource.id'] = resource_id unless resource_id.nil?
|
3896
|
+
command.query['resource.insertionOffsetTimeMs'] = resource_insertion_offset_time_ms unless resource_insertion_offset_time_ms.nil?
|
3897
|
+
command.query['resource.walltimeMs'] = resource_walltime_ms unless resource_walltime_ms.nil?
|
3898
|
+
command.query['fields'] = fields unless fields.nil?
|
3899
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3900
|
+
execute_or_queue_command(command, &block)
|
3901
|
+
end
|
3822
3902
|
|
3823
3903
|
protected
|
3824
3904
|
|
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.18.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: 2022-
|
11
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.5'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.5'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.18.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.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for YouTube Data API v3 V3
|