google-apis-youtube_v3 0.40.0 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b8cff53181045e285478bb8b1b5f7471c49cd23f33a43d8f2e950deced004ae
|
4
|
+
data.tar.gz: 0d83876dcc8ccb5eab810c745afc23835939d27522236da1511e68d99d024280
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4312e24ae9c6f8b54482017cb9aa81c1716c57e87da64330779377a10febb299537da6845424bbdf7bb67269ab058ade8c89a11c56dea80e7650407241f455c5
|
7
|
+
data.tar.gz: dec54f459c71aae6b728af99e9a57881d3924324705f62da54a71c8f8e9496280036b3d79683440126663bcbc6cb4f8416f08ae64d27e0f20abcee510462e0af
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-youtube_v3
|
2
2
|
|
3
|
+
### v0.42.0 (2024-05-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240514
|
6
|
+
* Regenerated using generator version 0.15.0
|
7
|
+
|
8
|
+
### v0.41.0 (2024-03-17)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240310
|
11
|
+
|
3
12
|
### v0.40.0 (2024-03-10)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240303
|
@@ -4440,6 +4440,11 @@ module Google
|
|
4440
4440
|
class LiveChatMessageListResponse
|
4441
4441
|
include Google::Apis::Core::Hashable
|
4442
4442
|
|
4443
|
+
# A *liveChatMessage* resource represents a chat message in a YouTube Live Chat.
|
4444
|
+
# Corresponds to the JSON property `activePollItem`
|
4445
|
+
# @return [Google::Apis::YoutubeV3::LiveChatMessage]
|
4446
|
+
attr_accessor :active_poll_item
|
4447
|
+
|
4443
4448
|
# Etag of this resource.
|
4444
4449
|
# Corresponds to the JSON property `etag`
|
4445
4450
|
# @return [String]
|
@@ -4498,6 +4503,7 @@ module Google
|
|
4498
4503
|
|
4499
4504
|
# Update properties of this object
|
4500
4505
|
def update!(**args)
|
4506
|
+
@active_poll_item = args[:active_poll_item] if args.key?(:active_poll_item)
|
4501
4507
|
@etag = args[:etag] if args.key?(:etag)
|
4502
4508
|
@event_id = args[:event_id] if args.key?(:event_id)
|
4503
4509
|
@items = args[:items] if args.key?(:items)
|
@@ -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.42.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240514"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2337,6 +2337,8 @@ module Google
|
|
2337
2337
|
class LiveChatMessageListResponse
|
2338
2338
|
# @private
|
2339
2339
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2340
|
+
property :active_poll_item, as: 'activePollItem', class: Google::Apis::YoutubeV3::LiveChatMessage, decorator: Google::Apis::YoutubeV3::LiveChatMessage::Representation
|
2341
|
+
|
2340
2342
|
property :etag, as: 'etag'
|
2341
2343
|
property :event_id, as: 'eventId'
|
2342
2344
|
collection :items, as: 'items', class: Google::Apis::YoutubeV3::LiveChatMessage, decorator: Google::Apis::YoutubeV3::LiveChatMessage::Representation
|
@@ -1856,6 +1856,39 @@ module Google
|
|
1856
1856
|
execute_or_queue_command(command, &block)
|
1857
1857
|
end
|
1858
1858
|
|
1859
|
+
# Transition a durable chat event.
|
1860
|
+
# @param [String] id
|
1861
|
+
# The ID that uniquely identify the chat message event to transition.
|
1862
|
+
# @param [String] status
|
1863
|
+
# The status to which the chat event is going to transition.
|
1864
|
+
# @param [String] fields
|
1865
|
+
# Selector specifying which fields to include in a partial response.
|
1866
|
+
# @param [String] quota_user
|
1867
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1868
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1869
|
+
# @param [Google::Apis::RequestOptions] options
|
1870
|
+
# Request-specific options
|
1871
|
+
#
|
1872
|
+
# @yield [result, err] Result & error if block supplied
|
1873
|
+
# @yieldparam result [Google::Apis::YoutubeV3::LiveChatMessage] parsed result object
|
1874
|
+
# @yieldparam err [StandardError] error object if request failed
|
1875
|
+
#
|
1876
|
+
# @return [Google::Apis::YoutubeV3::LiveChatMessage]
|
1877
|
+
#
|
1878
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1879
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1880
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1881
|
+
def transition_live_chat_message(id: nil, status: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1882
|
+
command = make_simple_command(:post, 'youtube/v3/liveChat/messages/transition', options)
|
1883
|
+
command.response_representation = Google::Apis::YoutubeV3::LiveChatMessage::Representation
|
1884
|
+
command.response_class = Google::Apis::YoutubeV3::LiveChatMessage
|
1885
|
+
command.query['id'] = id unless id.nil?
|
1886
|
+
command.query['status'] = status unless status.nil?
|
1887
|
+
command.query['fields'] = fields unless fields.nil?
|
1888
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1889
|
+
execute_or_queue_command(command, &block)
|
1890
|
+
end
|
1891
|
+
|
1859
1892
|
# Deletes a chat moderator.
|
1860
1893
|
# @param [String] id
|
1861
1894
|
# @param [String] fields
|
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.42.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-19 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.15.0
|
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.15.0
|
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.42.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: []
|