google-apis-youtube_v3 0.39.0 → 0.40.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: 19341cd6247d9142c1e2bf9267d68360029d722be3ef7082423789a6e8f72c94
4
+ data.tar.gz: fd79fba85e2c71a50ae90a048eec7b96232c242283b9b11ed0106ebf49d16a38
5
5
  SHA512:
6
- metadata.gz: 99478a0f50cf574039545037fe708e3e18e1b36e5ad8b411bd5bba5e99f658a730204ab4d5743e0b65dd25d6912544f05e0168858167c5e29f06738b4f3ff373
7
- data.tar.gz: eb93b3ec2297a2d56abca7fcc255691a805281cd66f54c870d09c0069dbd256040d4b7eba7b392115a377df84225396a389323edf1ae79cca814118e06e72a73
6
+ metadata.gz: 2d224bb5922961ce7776e718bafed439b7f6093b7993c41adc1ec9558d566546101f32a353c54b816e1027b02fa258638857b7746e97ef1f3af230433572edbd
7
+ data.tar.gz: 9223c91cd2e28a865f75f79de576ac61f501c3ad76ca30ee0d6ffb29f80c45307fb7784b92dea75ce8acfbe59d05b0da492fc5169ce35402cb2cef39435c9760
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-youtube_v3
2
2
 
3
+ ### v0.40.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240303
6
+
3
7
  ### v0.39.0 (2024-03-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20240225
@@ -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.40.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 = "20240303"
26
26
  end
27
27
  end
28
28
  end
@@ -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.40.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-10 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.40.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: []