google-apis-youtube_v3 0.11.0 → 0.12.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 +4 -0
- data/lib/google/apis/youtube_v3/gem_version.rb +2 -2
- data/lib/google/apis/youtube_v3/service.rb +16 -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: a805d2f6aa41499224ff499a7e75e642ede2059ae5ecc3d66355c7ed5c7d4571
|
4
|
+
data.tar.gz: 49558ce06265ced49ff706adf90e8a89796188cc9913c54ae4dbb66ad4a706c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 642e7554f0ce017bffd6d6d1911939cd8dc07109413430fb1d12daa469834e88b1794fe15603361d46a35f751ea3efbc4bac5ea60a45c79f52c643d25fce3905
|
7
|
+
data.tar.gz: 6e25b81358ea31330fec0e6029b2c795b280cbaecaeb266d88642ab0c5b32f0bed142e461f502d3784895b5e3e1fd487cfa695f05b29b5de0ea16765681076f7
|
data/CHANGELOG.md
CHANGED
@@ -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.12.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
|
@@ -3039,6 +3039,8 @@ module Google
|
|
3039
3039
|
# Delete the partner links with the given linking token.
|
3040
3040
|
# @param [String] type
|
3041
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.
|
3042
3044
|
# @param [Array<String>, String] part
|
3043
3045
|
# Do not use. Required for compatibility.
|
3044
3046
|
# @param [String] fields
|
@@ -3058,8 +3060,9 @@ module Google
|
|
3058
3060
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3059
3061
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3060
3062
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3061
|
-
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)
|
3062
3064
|
command = make_simple_command(:delete, 'youtube/v3/thirdPartyLinks', options)
|
3065
|
+
command.query['externalChannelId'] = external_channel_id unless external_channel_id.nil?
|
3063
3066
|
command.query['linkingToken'] = linking_token unless linking_token.nil?
|
3064
3067
|
command.query['part'] = part unless part.nil?
|
3065
3068
|
command.query['type'] = type unless type.nil?
|
@@ -3074,6 +3077,8 @@ module Google
|
|
3074
3077
|
# request and response will include. Supported values are linkingToken, status,
|
3075
3078
|
# and snippet.
|
3076
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.
|
3077
3082
|
# @param [String] fields
|
3078
3083
|
# Selector specifying which fields to include in a partial response.
|
3079
3084
|
# @param [String] quota_user
|
@@ -3091,12 +3096,13 @@ module Google
|
|
3091
3096
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3092
3097
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3093
3098
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3094
|
-
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)
|
3095
3100
|
command = make_simple_command(:post, 'youtube/v3/thirdPartyLinks', options)
|
3096
3101
|
command.request_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
3097
3102
|
command.request_object = third_party_link_object
|
3098
3103
|
command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
3099
3104
|
command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
|
3105
|
+
command.query['externalChannelId'] = external_channel_id unless external_channel_id.nil?
|
3100
3106
|
command.query['part'] = part unless part.nil?
|
3101
3107
|
command.query['fields'] = fields unless fields.nil?
|
3102
3108
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -3107,6 +3113,8 @@ module Google
|
|
3107
3113
|
# @param [Array<String>, String] part
|
3108
3114
|
# The *part* parameter specifies the thirdPartyLink resource parts that the API
|
3109
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.
|
3110
3118
|
# @param [String] linking_token
|
3111
3119
|
# Get a third party link with the given linking token.
|
3112
3120
|
# @param [String] type
|
@@ -3128,10 +3136,11 @@ module Google
|
|
3128
3136
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3129
3137
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3130
3138
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3131
|
-
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)
|
3132
3140
|
command = make_simple_command(:get, 'youtube/v3/thirdPartyLinks', options)
|
3133
3141
|
command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
3134
3142
|
command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
|
3143
|
+
command.query['externalChannelId'] = external_channel_id unless external_channel_id.nil?
|
3135
3144
|
command.query['linkingToken'] = linking_token unless linking_token.nil?
|
3136
3145
|
command.query['part'] = part unless part.nil?
|
3137
3146
|
command.query['type'] = type unless type.nil?
|
@@ -3146,6 +3155,8 @@ module Google
|
|
3146
3155
|
# request and response will include. Supported values are linkingToken, status,
|
3147
3156
|
# and snippet.
|
3148
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.
|
3149
3160
|
# @param [String] fields
|
3150
3161
|
# Selector specifying which fields to include in a partial response.
|
3151
3162
|
# @param [String] quota_user
|
@@ -3163,12 +3174,13 @@ module Google
|
|
3163
3174
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3164
3175
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3165
3176
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3166
|
-
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)
|
3167
3178
|
command = make_simple_command(:put, 'youtube/v3/thirdPartyLinks', options)
|
3168
3179
|
command.request_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
3169
3180
|
command.request_object = third_party_link_object
|
3170
3181
|
command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
3171
3182
|
command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
|
3183
|
+
command.query['externalChannelId'] = external_channel_id unless external_channel_id.nil?
|
3172
3184
|
command.query['part'] = part unless part.nil?
|
3173
3185
|
command.query['fields'] = fields unless fields.nil?
|
3174
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.12.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: 2021-09-
|
11
|
+
date: 2021-09-20 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/master/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.12.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-youtube_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|