google-apis-youtube_v3 0.39.0 → 0.41.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: 4e305c157cf595f61a3227de0dcc7a44185b5b3e9dc14a422d62ec1925f9c366
4
- data.tar.gz: 0da690202ffc1f9ae5aceb56d6b7b4cee046fb7a2fa2cc21433de2578c4b2941
3
+ metadata.gz: 95faaf253b1778289221b954671e1b8c50dcb8e2927e570ff68c21a7e6639626
4
+ data.tar.gz: 2b2a3b9332082e41bbfe3e8fee053e6b9dbc0560978198f51bf0b86f536544a1
5
5
  SHA512:
6
- metadata.gz: 99478a0f50cf574039545037fe708e3e18e1b36e5ad8b411bd5bba5e99f658a730204ab4d5743e0b65dd25d6912544f05e0168858167c5e29f06738b4f3ff373
7
- data.tar.gz: eb93b3ec2297a2d56abca7fcc255691a805281cd66f54c870d09c0069dbd256040d4b7eba7b392115a377df84225396a389323edf1ae79cca814118e06e72a73
6
+ metadata.gz: 6bcb64c1984dbcbdcc64075fd44faf57f2ce1b16fa552dc9ff8c28d793fa16f052e7a897e7142ca7a031c29342613b0a7a481a0af88b1b74be62475b5530688f
7
+ data.tar.gz: 2c4223317b475ff5f71469357057fac2a255bf18e415164068fbe2f801e4602a0734d4a79b0453cf2ff6382915f84c9e1b618796f79bc6b0f336e7bddc4a9232
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-youtube_v3
2
2
 
3
+ ### v0.41.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240310
6
+
7
+ ### v0.40.0 (2024-03-10)
8
+
9
+ * Regenerated from discovery document revision 20240303
10
+
3
11
  ### v0.39.0 (2024-03-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20240225
@@ -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.39.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240225"
25
+ REVISION = "20240310"
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
@@ -2502,6 +2502,10 @@ module Google
2502
2502
  # @param [String] quota_user
2503
2503
  # Available to use for quota purposes for server-side applications. Can be any
2504
2504
  # arbitrary string assigned to a user, but should not exceed 40 characters.
2505
+ # @param [IO, String] upload_source
2506
+ # IO stream or filename containing content to upload
2507
+ # @param [String] content_type
2508
+ # Content type of the uploaded content.
2505
2509
  # @param [Google::Apis::RequestOptions] options
2506
2510
  # Request-specific options
2507
2511
  #
@@ -2514,8 +2518,14 @@ module Google
2514
2518
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2515
2519
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2516
2520
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2517
- def update_playlist_image(playlist_image_object = nil, on_behalf_of_content_owner: nil, part: nil, fields: nil, quota_user: nil, options: nil, &block)
2518
- command = make_simple_command(:put, 'youtube/v3/playlistImages', options)
2521
+ def update_playlist_image(playlist_image_object = nil, on_behalf_of_content_owner: nil, part: nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
2522
+ if upload_source.nil?
2523
+ command = make_simple_command(:put, 'youtube/v3/playlistImages', options)
2524
+ else
2525
+ command = make_upload_command(:put, 'youtube/v3/playlistImages', options)
2526
+ command.upload_source = upload_source
2527
+ command.upload_content_type = content_type
2528
+ end
2519
2529
  command.request_representation = Google::Apis::YoutubeV3::PlaylistImage::Representation
2520
2530
  command.request_object = playlist_image_object
2521
2531
  command.response_representation = Google::Apis::YoutubeV3::PlaylistImage::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.39.0
4
+ version: 0.41.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-03-03 00:00:00.000000000 Z
11
+ date: 2024-03-17 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.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.41.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: []