google-apis-youtube_v3 0.38.0 → 0.39.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: 1b31f725362a228a875ab21824cd9514e03f02dfb3e2a356942ec3fcf0a75b0f
4
- data.tar.gz: cdd2e519af7673de846d5aeddd6d2fc4fbb67dbc96d29363e2eb0e833f2dbb55
3
+ metadata.gz: 4e305c157cf595f61a3227de0dcc7a44185b5b3e9dc14a422d62ec1925f9c366
4
+ data.tar.gz: 0da690202ffc1f9ae5aceb56d6b7b4cee046fb7a2fa2cc21433de2578c4b2941
5
5
  SHA512:
6
- metadata.gz: 50981ac18ad647e34ad3a00b50a24eef3cb6208f2f44b181f3d733e2fe1ace57f2ea11234edfe15bde920cd56ca4279420cc7dc99da20069105d309eefc1f008
7
- data.tar.gz: 19bcf9273574fb78509152c78c2d4aef435182fa091d032a0d76c164665c9ecc86854d1a47fc4caf6769ed9e2f947d43e92525325972dda0f17c3aee242e4d8c
6
+ metadata.gz: 99478a0f50cf574039545037fe708e3e18e1b36e5ad8b411bd5bba5e99f658a730204ab4d5743e0b65dd25d6912544f05e0168858167c5e29f06738b4f3ff373
7
+ data.tar.gz: eb93b3ec2297a2d56abca7fcc255691a805281cd66f54c870d09c0069dbd256040d4b7eba7b392115a377df84225396a389323edf1ae79cca814118e06e72a73
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-youtube_v3
2
2
 
3
+ ### v0.39.0 (2024-03-03)
4
+
5
+ * Regenerated from discovery document revision 20240225
6
+
3
7
  ### v0.38.0 (2024-02-23)
4
8
 
5
9
  * Regenerated using generator version 0.14.0
@@ -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.38.0"
19
+ GEM_VERSION = "0.39.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 = "20240213"
25
+ REVISION = "20240225"
26
26
  end
27
27
  end
28
28
  end
@@ -2374,6 +2374,10 @@ module Google
2374
2374
  # @param [String] quota_user
2375
2375
  # Available to use for quota purposes for server-side applications. Can be any
2376
2376
  # arbitrary string assigned to a user, but should not exceed 40 characters.
2377
+ # @param [IO, String] upload_source
2378
+ # IO stream or filename containing content to upload
2379
+ # @param [String] content_type
2380
+ # Content type of the uploaded content.
2377
2381
  # @param [Google::Apis::RequestOptions] options
2378
2382
  # Request-specific options
2379
2383
  #
@@ -2386,8 +2390,14 @@ module Google
2386
2390
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2387
2391
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2388
2392
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2389
- def insert_playlist_image(playlist_image_object = nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, part: nil, fields: nil, quota_user: nil, options: nil, &block)
2390
- command = make_simple_command(:post, 'youtube/v3/playlistImages', options)
2393
+ def insert_playlist_image(playlist_image_object = nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, part: nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
2394
+ if upload_source.nil?
2395
+ command = make_simple_command(:post, 'youtube/v3/playlistImages', options)
2396
+ else
2397
+ command = make_upload_command(:post, 'youtube/v3/playlistImages', options)
2398
+ command.upload_source = upload_source
2399
+ command.upload_content_type = content_type
2400
+ end
2391
2401
  command.request_representation = Google::Apis::YoutubeV3::PlaylistImage::Representation
2392
2402
  command.request_object = playlist_image_object
2393
2403
  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.38.0
4
+ version: 0.39.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-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-03 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.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.39.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: []