google-apis-youtube_v3 0.34.0 → 0.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/youtube_v3/gem_version.rb +3 -3
- data/lib/google/apis/youtube_v3/service.rb +7 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e53bf8be48108cb7ce3d63a9b18d26f750e88e0acd0a962c791f29097763bd7
|
4
|
+
data.tar.gz: a4e938796e4728f9f79e31e720ba6147f322cb6edeff8c95b71b62d01f3b1c7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f95aaa177e7294d408e8157c53642d4b68b29840225f5a09d23e0daa9471d698d677fc7f6f2a0b5ab27c0c0206a0e52e8b4b2cdf7f634f798ea9ec08fe8e21f
|
7
|
+
data.tar.gz: 461fe6afa6224d9a808f19e3ed063819b6e7e5f861b0dced27a2cdb7e5d483b471a337aff4556d150461a456905f12aa7b9458111cc3662130ec7e41d0c9f93d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-youtube_v3
|
2
2
|
|
3
|
+
### v0.36.0 (2024-01-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240123
|
6
|
+
* Regenerated using generator version 0.13.1
|
7
|
+
|
8
|
+
### v0.35.0 (2024-01-23)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.13.0
|
11
|
+
|
3
12
|
### v0.34.0 (2023-10-15)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20231011
|
@@ -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.36.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240123"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -33,6 +33,8 @@ module Google
|
|
33
33
|
#
|
34
34
|
# @see https://developers.google.com/youtube/
|
35
35
|
class YouTubeService < Google::Apis::Core::BaseService
|
36
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://youtube.$UNIVERSE_DOMAIN$/"
|
37
|
+
|
36
38
|
# @return [String]
|
37
39
|
# API key. Your API key identifies your project and provides you with API access,
|
38
40
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -44,7 +46,7 @@ module Google
|
|
44
46
|
attr_accessor :quota_user
|
45
47
|
|
46
48
|
def initialize
|
47
|
-
super(
|
49
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
48
50
|
client_name: 'google-apis-youtube_v3',
|
49
51
|
client_version: Google::Apis::YoutubeV3::GEM_VERSION)
|
50
52
|
@batch_path = 'batch'
|
@@ -705,6 +707,8 @@ module Google
|
|
705
707
|
# also contain all of those nested properties.
|
706
708
|
# @param [String] category_id
|
707
709
|
# Return the channels within the specified guide category ID.
|
710
|
+
# @param [String] for_handle
|
711
|
+
# Return the channel associated with a YouTube handle.
|
708
712
|
# @param [String] for_username
|
709
713
|
# Return the channel associated with a YouTube username.
|
710
714
|
# @param [String] hl
|
@@ -755,11 +759,12 @@ module Google
|
|
755
759
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
756
760
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
757
761
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
758
|
-
def list_channels(part, category_id: nil, for_username: nil, hl: nil, id: nil, managed_by_me: nil, max_results: nil, mine: nil, my_subscribers: nil, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
762
|
+
def list_channels(part, category_id: nil, for_handle: nil, for_username: nil, hl: nil, id: nil, managed_by_me: nil, max_results: nil, mine: nil, my_subscribers: nil, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
759
763
|
command = make_simple_command(:get, 'youtube/v3/channels', options)
|
760
764
|
command.response_representation = Google::Apis::YoutubeV3::ListChannelsResponse::Representation
|
761
765
|
command.response_class = Google::Apis::YoutubeV3::ListChannelsResponse
|
762
766
|
command.query['categoryId'] = category_id unless category_id.nil?
|
767
|
+
command.query['forHandle'] = for_handle unless for_handle.nil?
|
763
768
|
command.query['forUsername'] = for_username unless for_username.nil?
|
764
769
|
command.query['hl'] = hl unless hl.nil?
|
765
770
|
command.query['id'] = id unless id.nil?
|
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.36.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:
|
11
|
+
date: 2024-01-28 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.
|
19
|
+
version: 0.12.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.
|
29
|
+
version: 0.12.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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.36.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for YouTube Data API v3 V3
|