google-apis-youtube_v3 0.38.0 → 0.40.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/youtube_v3/gem_version.rb +2 -2
- data/lib/google/apis/youtube_v3/service.rb +24 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19341cd6247d9142c1e2bf9267d68360029d722be3ef7082423789a6e8f72c94
|
4
|
+
data.tar.gz: fd79fba85e2c71a50ae90a048eec7b96232c242283b9b11ed0106ebf49d16a38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d224bb5922961ce7776e718bafed439b7f6093b7993c41adc1ec9558d566546101f32a353c54b816e1027b02fa258638857b7746e97ef1f3af230433572edbd
|
7
|
+
data.tar.gz: 9223c91cd2e28a865f75f79de576ac61f501c3ad76ca30ee0d6ffb29f80c45307fb7784b92dea75ce8acfbe59d05b0da492fc5169ce35402cb2cef39435c9760
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
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
|
+
|
7
|
+
### v0.39.0 (2024-03-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240225
|
10
|
+
|
3
11
|
### v0.38.0 (2024-02-23)
|
4
12
|
|
5
13
|
* 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.
|
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 = "
|
25
|
+
REVISION = "20240303"
|
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
|
-
|
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
|
@@ -2492,6 +2502,10 @@ module Google
|
|
2492
2502
|
# @param [String] quota_user
|
2493
2503
|
# Available to use for quota purposes for server-side applications. Can be any
|
2494
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.
|
2495
2509
|
# @param [Google::Apis::RequestOptions] options
|
2496
2510
|
# Request-specific options
|
2497
2511
|
#
|
@@ -2504,8 +2518,14 @@ module Google
|
|
2504
2518
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2505
2519
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2506
2520
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2507
|
-
def update_playlist_image(playlist_image_object = nil, on_behalf_of_content_owner: nil, part: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2508
|
-
|
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
|
2509
2529
|
command.request_representation = Google::Apis::YoutubeV3::PlaylistImage::Representation
|
2510
2530
|
command.request_object = playlist_image_object
|
2511
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.
|
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-
|
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.
|
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: []
|