google-apis-youtube_v3 0.37.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: 3d9e9645982b3edc8a8c62242f2bb0f11f82c98afe5abdb1e85c3fd296d6df03
4
- data.tar.gz: 635be64f4709a9620b0d42234c919f03b12fe4ef808a906686c68bfc5c5aa044
3
+ metadata.gz: 4e305c157cf595f61a3227de0dcc7a44185b5b3e9dc14a422d62ec1925f9c366
4
+ data.tar.gz: 0da690202ffc1f9ae5aceb56d6b7b4cee046fb7a2fa2cc21433de2578c4b2941
5
5
  SHA512:
6
- metadata.gz: 9a4ab6e701a6ba9724bf3389afbded9fca15ec37456ecd8ea411ae3165748a6022d90c4c6ec68fb373dfaf065d4185b60ce3a8d10b37a9c8984fe6376b4e1017
7
- data.tar.gz: c2f2703d2c4c560dd39f56c70ec5183953e63a24b59ae6e0d6816503bc191632e587c44d5311eb9fb8347f5acb6ddbe5fc8033eabe7fe3901e7697d1e7e71c58
6
+ metadata.gz: 99478a0f50cf574039545037fe708e3e18e1b36e5ad8b411bd5bba5e99f658a730204ab4d5743e0b65dd25d6912544f05e0168858167c5e29f06738b4f3ff373
7
+ data.tar.gz: eb93b3ec2297a2d56abca7fcc255691a805281cd66f54c870d09c0069dbd256040d4b7eba7b392115a377df84225396a389323edf1ae79cca814118e06e72a73
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.38.0 (2024-02-23)
8
+
9
+ * Regenerated using generator version 0.14.0
10
+
3
11
  ### v0.37.0 (2024-02-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20240213
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://developers.google.com/youtube/) may provide
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -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.37.0"
19
+ GEM_VERSION = "0.39.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
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.37.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-18 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.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.12.0
29
+ version: 0.14.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.37.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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for YouTube Data API v3 V3