google-apis-youtube_v3 0.15.0 → 0.16.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: 149d0bcfef2949e9b76dcaa9d5e66df5a1a47391183d5529421cfd4f52caaee7
|
4
|
+
data.tar.gz: f25b33212be23f1b0258f121801a2b7e2e4304b91d6cf90d5af44dcad43b9d7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0d0f78cf357bd15ca815dfffcb03ad4653cefad082e0e84956064ae1380305eb50a1f191651280ef09ef29167af11f17c570320fbcfa39746bc1d9ac07c4d75
|
7
|
+
data.tar.gz: f04df38762a3d88a0c358a963317cb58dd645e5e5837aa2e5789371cfeb059975d0eec39fa941d371e955a656df68c69613813438fb595506226073e9593e547
|
data/CHANGELOG.md
CHANGED
@@ -4058,6 +4058,43 @@ module Google
|
|
4058
4058
|
end
|
4059
4059
|
end
|
4060
4060
|
|
4061
|
+
#
|
4062
|
+
class LiveChatGiftMembershipReceivedDetails
|
4063
|
+
include Google::Apis::Core::Hashable
|
4064
|
+
|
4065
|
+
# The ID of the membership gifting message that is related to this gift
|
4066
|
+
# membership. This ID will always refer to a message whose type is '
|
4067
|
+
# membershipGiftingEvent'.
|
4068
|
+
# Corresponds to the JSON property `associatedMembershipGiftingMessageId`
|
4069
|
+
# @return [String]
|
4070
|
+
attr_accessor :associated_membership_gifting_message_id
|
4071
|
+
|
4072
|
+
# The ID of the user that made the membership gifting purchase. This matches the
|
4073
|
+
# `snippet.authorChannelId` of the associated membership gifting message.
|
4074
|
+
# Corresponds to the JSON property `gifterChannelId`
|
4075
|
+
# @return [String]
|
4076
|
+
attr_accessor :gifter_channel_id
|
4077
|
+
|
4078
|
+
# The name of the Level at which the viewer is a member. This matches the `
|
4079
|
+
# snippet.membershipGiftingDetails.giftMembershipsLevelName` of the associated
|
4080
|
+
# membership gifting message. The Level names are defined by the YouTube channel
|
4081
|
+
# offering the Membership. In some situations this field isn't filled.
|
4082
|
+
# Corresponds to the JSON property `memberLevelName`
|
4083
|
+
# @return [String]
|
4084
|
+
attr_accessor :member_level_name
|
4085
|
+
|
4086
|
+
def initialize(**args)
|
4087
|
+
update!(**args)
|
4088
|
+
end
|
4089
|
+
|
4090
|
+
# Update properties of this object
|
4091
|
+
def update!(**args)
|
4092
|
+
@associated_membership_gifting_message_id = args[:associated_membership_gifting_message_id] if args.key?(:associated_membership_gifting_message_id)
|
4093
|
+
@gifter_channel_id = args[:gifter_channel_id] if args.key?(:gifter_channel_id)
|
4094
|
+
@member_level_name = args[:member_level_name] if args.key?(:member_level_name)
|
4095
|
+
end
|
4096
|
+
end
|
4097
|
+
|
4061
4098
|
#
|
4062
4099
|
class LiveChatMemberMilestoneChatDetails
|
4063
4100
|
include Google::Apis::Core::Hashable
|
@@ -4094,6 +4131,33 @@ module Google
|
|
4094
4131
|
end
|
4095
4132
|
end
|
4096
4133
|
|
4134
|
+
#
|
4135
|
+
class LiveChatMembershipGiftingDetails
|
4136
|
+
include Google::Apis::Core::Hashable
|
4137
|
+
|
4138
|
+
# The number of gift memberships purchased by the user.
|
4139
|
+
# Corresponds to the JSON property `giftMembershipsCount`
|
4140
|
+
# @return [Fixnum]
|
4141
|
+
attr_accessor :gift_memberships_count
|
4142
|
+
|
4143
|
+
# The name of the level of the gift memberships purchased by the user. The Level
|
4144
|
+
# names are defined by the YouTube channel offering the Membership. In some
|
4145
|
+
# situations this field isn't filled.
|
4146
|
+
# Corresponds to the JSON property `giftMembershipsLevelName`
|
4147
|
+
# @return [String]
|
4148
|
+
attr_accessor :gift_memberships_level_name
|
4149
|
+
|
4150
|
+
def initialize(**args)
|
4151
|
+
update!(**args)
|
4152
|
+
end
|
4153
|
+
|
4154
|
+
# Update properties of this object
|
4155
|
+
def update!(**args)
|
4156
|
+
@gift_memberships_count = args[:gift_memberships_count] if args.key?(:gift_memberships_count)
|
4157
|
+
@gift_memberships_level_name = args[:gift_memberships_level_name] if args.key?(:gift_memberships_level_name)
|
4158
|
+
end
|
4159
|
+
end
|
4160
|
+
|
4097
4161
|
# A *liveChatMessage* resource represents a chat message in a YouTube Live Chat.
|
4098
4162
|
class LiveChatMessage
|
4099
4163
|
include Google::Apis::Core::Hashable
|
@@ -4120,7 +4184,7 @@ module Google
|
|
4120
4184
|
# @return [String]
|
4121
4185
|
attr_accessor :kind
|
4122
4186
|
|
4123
|
-
# Next ID:
|
4187
|
+
# Next ID: 33
|
4124
4188
|
# Corresponds to the JSON property `snippet`
|
4125
4189
|
# @return [Google::Apis::YoutubeV3::LiveChatMessageSnippet]
|
4126
4190
|
attr_accessor :snippet
|
@@ -4317,7 +4381,7 @@ module Google
|
|
4317
4381
|
end
|
4318
4382
|
end
|
4319
4383
|
|
4320
|
-
# Next ID:
|
4384
|
+
# Next ID: 33
|
4321
4385
|
class LiveChatMessageSnippet
|
4322
4386
|
include Google::Apis::Core::Hashable
|
4323
4387
|
|
@@ -4325,6 +4389,8 @@ module Google
|
|
4325
4389
|
# textMessageEvent - the user that wrote the message fanFundingEvent - the user
|
4326
4390
|
# that funded the broadcast newSponsorEvent - the user that just became a
|
4327
4391
|
# sponsor memberMilestoneChatEvent - the member that sent the message
|
4392
|
+
# membershipGiftingEvent - the user that made the purchase
|
4393
|
+
# giftMembershipReceivedEvent - the user that received the gift membership
|
4328
4394
|
# messageDeletedEvent - the moderator that took the action messageRetractedEvent
|
4329
4395
|
# - the author that retracted their message userBannedEvent - the moderator that
|
4330
4396
|
# took the action superChatEvent - the user that made the purchase
|
@@ -4346,6 +4412,12 @@ module Google
|
|
4346
4412
|
# @return [Google::Apis::YoutubeV3::LiveChatFanFundingEventDetails]
|
4347
4413
|
attr_accessor :fan_funding_event_details
|
4348
4414
|
|
4415
|
+
# Details about the Gift Membership Received event, this is only set if the type
|
4416
|
+
# is 'giftMembershipReceivedEvent'.
|
4417
|
+
# Corresponds to the JSON property `giftMembershipReceivedDetails`
|
4418
|
+
# @return [Google::Apis::YoutubeV3::LiveChatGiftMembershipReceivedDetails]
|
4419
|
+
attr_accessor :gift_membership_received_details
|
4420
|
+
|
4349
4421
|
# Whether the message has display content that should be displayed to users.
|
4350
4422
|
# Corresponds to the JSON property `hasDisplayContent`
|
4351
4423
|
# @return [Boolean]
|
@@ -4363,6 +4435,12 @@ module Google
|
|
4363
4435
|
# @return [Google::Apis::YoutubeV3::LiveChatMemberMilestoneChatDetails]
|
4364
4436
|
attr_accessor :member_milestone_chat_details
|
4365
4437
|
|
4438
|
+
# Details about the Membership Gifting event, this is only set if the type is '
|
4439
|
+
# membershipGiftingEvent'.
|
4440
|
+
# Corresponds to the JSON property `membershipGiftingDetails`
|
4441
|
+
# @return [Google::Apis::YoutubeV3::LiveChatMembershipGiftingDetails]
|
4442
|
+
attr_accessor :membership_gifting_details
|
4443
|
+
|
4366
4444
|
#
|
4367
4445
|
# Corresponds to the JSON property `messageDeletedDetails`
|
4368
4446
|
# @return [Google::Apis::YoutubeV3::LiveChatMessageDeletedDetails]
|
@@ -4422,9 +4500,11 @@ module Google
|
|
4422
4500
|
@author_channel_id = args[:author_channel_id] if args.key?(:author_channel_id)
|
4423
4501
|
@display_message = args[:display_message] if args.key?(:display_message)
|
4424
4502
|
@fan_funding_event_details = args[:fan_funding_event_details] if args.key?(:fan_funding_event_details)
|
4503
|
+
@gift_membership_received_details = args[:gift_membership_received_details] if args.key?(:gift_membership_received_details)
|
4425
4504
|
@has_display_content = args[:has_display_content] if args.key?(:has_display_content)
|
4426
4505
|
@live_chat_id = args[:live_chat_id] if args.key?(:live_chat_id)
|
4427
4506
|
@member_milestone_chat_details = args[:member_milestone_chat_details] if args.key?(:member_milestone_chat_details)
|
4507
|
+
@membership_gifting_details = args[:membership_gifting_details] if args.key?(:membership_gifting_details)
|
4428
4508
|
@message_deleted_details = args[:message_deleted_details] if args.key?(:message_deleted_details)
|
4429
4509
|
@message_retracted_details = args[:message_retracted_details] if args.key?(:message_retracted_details)
|
4430
4510
|
@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.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220312"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -496,12 +496,24 @@ module Google
|
|
496
496
|
include Google::Apis::Core::JsonObjectSupport
|
497
497
|
end
|
498
498
|
|
499
|
+
class LiveChatGiftMembershipReceivedDetails
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
499
505
|
class LiveChatMemberMilestoneChatDetails
|
500
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
507
|
|
502
508
|
include Google::Apis::Core::JsonObjectSupport
|
503
509
|
end
|
504
510
|
|
511
|
+
class LiveChatMembershipGiftingDetails
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
505
517
|
class LiveChatMessage
|
506
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
519
|
|
@@ -2154,6 +2166,15 @@ module Google
|
|
2154
2166
|
end
|
2155
2167
|
end
|
2156
2168
|
|
2169
|
+
class LiveChatGiftMembershipReceivedDetails
|
2170
|
+
# @private
|
2171
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2172
|
+
property :associated_membership_gifting_message_id, as: 'associatedMembershipGiftingMessageId'
|
2173
|
+
property :gifter_channel_id, as: 'gifterChannelId'
|
2174
|
+
property :member_level_name, as: 'memberLevelName'
|
2175
|
+
end
|
2176
|
+
end
|
2177
|
+
|
2157
2178
|
class LiveChatMemberMilestoneChatDetails
|
2158
2179
|
# @private
|
2159
2180
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2163,6 +2184,14 @@ module Google
|
|
2163
2184
|
end
|
2164
2185
|
end
|
2165
2186
|
|
2187
|
+
class LiveChatMembershipGiftingDetails
|
2188
|
+
# @private
|
2189
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2190
|
+
property :gift_memberships_count, as: 'giftMembershipsCount'
|
2191
|
+
property :gift_memberships_level_name, as: 'giftMembershipsLevelName'
|
2192
|
+
end
|
2193
|
+
end
|
2194
|
+
|
2166
2195
|
class LiveChatMessage
|
2167
2196
|
# @private
|
2168
2197
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2231,10 +2260,14 @@ module Google
|
|
2231
2260
|
property :display_message, as: 'displayMessage'
|
2232
2261
|
property :fan_funding_event_details, as: 'fanFundingEventDetails', class: Google::Apis::YoutubeV3::LiveChatFanFundingEventDetails, decorator: Google::Apis::YoutubeV3::LiveChatFanFundingEventDetails::Representation
|
2233
2262
|
|
2263
|
+
property :gift_membership_received_details, as: 'giftMembershipReceivedDetails', class: Google::Apis::YoutubeV3::LiveChatGiftMembershipReceivedDetails, decorator: Google::Apis::YoutubeV3::LiveChatGiftMembershipReceivedDetails::Representation
|
2264
|
+
|
2234
2265
|
property :has_display_content, as: 'hasDisplayContent'
|
2235
2266
|
property :live_chat_id, as: 'liveChatId'
|
2236
2267
|
property :member_milestone_chat_details, as: 'memberMilestoneChatDetails', class: Google::Apis::YoutubeV3::LiveChatMemberMilestoneChatDetails, decorator: Google::Apis::YoutubeV3::LiveChatMemberMilestoneChatDetails::Representation
|
2237
2268
|
|
2269
|
+
property :membership_gifting_details, as: 'membershipGiftingDetails', class: Google::Apis::YoutubeV3::LiveChatMembershipGiftingDetails, decorator: Google::Apis::YoutubeV3::LiveChatMembershipGiftingDetails::Representation
|
2270
|
+
|
2238
2271
|
property :message_deleted_details, as: 'messageDeletedDetails', class: Google::Apis::YoutubeV3::LiveChatMessageDeletedDetails, decorator: Google::Apis::YoutubeV3::LiveChatMessageDeletedDetails::Representation
|
2239
2272
|
|
2240
2273
|
property :message_retracted_details, as: 'messageRetractedDetails', class: Google::Apis::YoutubeV3::LiveChatMessageRetractedDetails, decorator: Google::Apis::YoutubeV3::LiveChatMessageRetractedDetails::Representation
|
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.16.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-03-
|
11
|
+
date: 2022-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-youtube_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.16.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: []
|