google-apis-youtube_v3 0.10.0 → 0.14.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 +16 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/youtube_v3/gem_version.rb +2 -2
- data/lib/google/apis/youtube_v3/service.rb +19 -5
- 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: c9fc6b4079dc8e913d0406c4f54965781836879b80a9e4bd9fefe8dfd381282c
|
4
|
+
data.tar.gz: 3a0befbb8f20c1ced3afa0324616f074217357653b489f04a736adf47ff198cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34617cad334ca19ae3c370bb05738d5af96a4e81d1fa030d78a94e7d65a091987e83e1ee6b884969290436f513a4e6c0a168d2f1ce90520032bf459aaa5c239c
|
7
|
+
data.tar.gz: c2bb734322863ec34ed9171e69ba606b2e09e6098141c700e5a88514bc7c5c57579ddac0bd7aa93a4094076680ad206cd97da4e37980da2a585e1c9c53240f4c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-youtube_v3
|
2
2
|
|
3
|
+
### v0.14.0 (2021-12-14)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.13.0 (2021-10-21)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.12.0 (2021-09-17)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210915
|
14
|
+
|
15
|
+
### v0.11.0 (2021-09-08)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210906
|
18
|
+
|
3
19
|
### v0.10.0 (2021-09-01)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210828
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/youtube_v3"
|
|
51
51
|
client = Google::Apis::YoutubeV3::YouTubeService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Youtube service in particular.)
|
67
67
|
|
@@ -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.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210915"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -3003,6 +3003,7 @@ module Google
|
|
3003
3003
|
# POST method.
|
3004
3004
|
# @param [Array<String>, String] part
|
3005
3005
|
# @param [Google::Apis::YoutubeV3::TestItem] test_item_object
|
3006
|
+
# @param [String] external_channel_id
|
3006
3007
|
# @param [String] fields
|
3007
3008
|
# Selector specifying which fields to include in a partial response.
|
3008
3009
|
# @param [String] quota_user
|
@@ -3020,12 +3021,13 @@ module Google
|
|
3020
3021
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3021
3022
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3022
3023
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3023
|
-
def insert_test(part, test_item_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3024
|
+
def insert_test(part, test_item_object = nil, external_channel_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3024
3025
|
command = make_simple_command(:post, 'youtube/v3/tests', options)
|
3025
3026
|
command.request_representation = Google::Apis::YoutubeV3::TestItem::Representation
|
3026
3027
|
command.request_object = test_item_object
|
3027
3028
|
command.response_representation = Google::Apis::YoutubeV3::TestItem::Representation
|
3028
3029
|
command.response_class = Google::Apis::YoutubeV3::TestItem
|
3030
|
+
command.query['externalChannelId'] = external_channel_id unless external_channel_id.nil?
|
3029
3031
|
command.query['part'] = part unless part.nil?
|
3030
3032
|
command.query['fields'] = fields unless fields.nil?
|
3031
3033
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -3037,6 +3039,8 @@ module Google
|
|
3037
3039
|
# Delete the partner links with the given linking token.
|
3038
3040
|
# @param [String] type
|
3039
3041
|
# Type of the link to be deleted.
|
3042
|
+
# @param [String] external_channel_id
|
3043
|
+
# Channel ID to which changes should be applied, for delegation.
|
3040
3044
|
# @param [Array<String>, String] part
|
3041
3045
|
# Do not use. Required for compatibility.
|
3042
3046
|
# @param [String] fields
|
@@ -3056,8 +3060,9 @@ module Google
|
|
3056
3060
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3057
3061
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3058
3062
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3059
|
-
def delete_third_party_link(linking_token, type, part: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3063
|
+
def delete_third_party_link(linking_token, type, external_channel_id: nil, part: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3060
3064
|
command = make_simple_command(:delete, 'youtube/v3/thirdPartyLinks', options)
|
3065
|
+
command.query['externalChannelId'] = external_channel_id unless external_channel_id.nil?
|
3061
3066
|
command.query['linkingToken'] = linking_token unless linking_token.nil?
|
3062
3067
|
command.query['part'] = part unless part.nil?
|
3063
3068
|
command.query['type'] = type unless type.nil?
|
@@ -3072,6 +3077,8 @@ module Google
|
|
3072
3077
|
# request and response will include. Supported values are linkingToken, status,
|
3073
3078
|
# and snippet.
|
3074
3079
|
# @param [Google::Apis::YoutubeV3::ThirdPartyLink] third_party_link_object
|
3080
|
+
# @param [String] external_channel_id
|
3081
|
+
# Channel ID to which changes should be applied, for delegation.
|
3075
3082
|
# @param [String] fields
|
3076
3083
|
# Selector specifying which fields to include in a partial response.
|
3077
3084
|
# @param [String] quota_user
|
@@ -3089,12 +3096,13 @@ module Google
|
|
3089
3096
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3090
3097
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3091
3098
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3092
|
-
def insert_third_party_link(part, third_party_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3099
|
+
def insert_third_party_link(part, third_party_link_object = nil, external_channel_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3093
3100
|
command = make_simple_command(:post, 'youtube/v3/thirdPartyLinks', options)
|
3094
3101
|
command.request_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
3095
3102
|
command.request_object = third_party_link_object
|
3096
3103
|
command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
3097
3104
|
command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
|
3105
|
+
command.query['externalChannelId'] = external_channel_id unless external_channel_id.nil?
|
3098
3106
|
command.query['part'] = part unless part.nil?
|
3099
3107
|
command.query['fields'] = fields unless fields.nil?
|
3100
3108
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -3105,6 +3113,8 @@ module Google
|
|
3105
3113
|
# @param [Array<String>, String] part
|
3106
3114
|
# The *part* parameter specifies the thirdPartyLink resource parts that the API
|
3107
3115
|
# response will include. Supported values are linkingToken, status, and snippet.
|
3116
|
+
# @param [String] external_channel_id
|
3117
|
+
# Channel ID to which changes should be applied, for delegation.
|
3108
3118
|
# @param [String] linking_token
|
3109
3119
|
# Get a third party link with the given linking token.
|
3110
3120
|
# @param [String] type
|
@@ -3126,10 +3136,11 @@ module Google
|
|
3126
3136
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3127
3137
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3128
3138
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3129
|
-
def list_third_party_links(part, linking_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3139
|
+
def list_third_party_links(part, external_channel_id: nil, linking_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3130
3140
|
command = make_simple_command(:get, 'youtube/v3/thirdPartyLinks', options)
|
3131
3141
|
command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
3132
3142
|
command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
|
3143
|
+
command.query['externalChannelId'] = external_channel_id unless external_channel_id.nil?
|
3133
3144
|
command.query['linkingToken'] = linking_token unless linking_token.nil?
|
3134
3145
|
command.query['part'] = part unless part.nil?
|
3135
3146
|
command.query['type'] = type unless type.nil?
|
@@ -3144,6 +3155,8 @@ module Google
|
|
3144
3155
|
# request and response will include. Supported values are linkingToken, status,
|
3145
3156
|
# and snippet.
|
3146
3157
|
# @param [Google::Apis::YoutubeV3::ThirdPartyLink] third_party_link_object
|
3158
|
+
# @param [String] external_channel_id
|
3159
|
+
# Channel ID to which changes should be applied, for delegation.
|
3147
3160
|
# @param [String] fields
|
3148
3161
|
# Selector specifying which fields to include in a partial response.
|
3149
3162
|
# @param [String] quota_user
|
@@ -3161,12 +3174,13 @@ module Google
|
|
3161
3174
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3162
3175
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3163
3176
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3164
|
-
def update_third_party_link(part, third_party_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3177
|
+
def update_third_party_link(part, third_party_link_object = nil, external_channel_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3165
3178
|
command = make_simple_command(:put, 'youtube/v3/thirdPartyLinks', options)
|
3166
3179
|
command.request_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
3167
3180
|
command.request_object = third_party_link_object
|
3168
3181
|
command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
3169
3182
|
command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
|
3183
|
+
command.query['externalChannelId'] = external_channel_id unless external_channel_id.nil?
|
3170
3184
|
command.query['part'] = part unless part.nil?
|
3171
3185
|
command.query['fields'] = fields unless fields.nil?
|
3172
3186
|
command.query['quotaUser'] = quota_user unless quota_user.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.14.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: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.14.0
|
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: []
|
65
65
|
require_paths:
|
@@ -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.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for YouTube Data API v3 V3
|