blob: fe65f4d37082d66814f900268fd5b1cba7353f68 [file] [log] [blame]
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="youtube_v3.html">YouTube Data API v3</a> . <a href="youtube_v3.thirdPartyLinks.html">thirdPartyLinks</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
yoshi-code-bot312da312021-09-21 00:22:28 -070081 <code><a href="#delete">delete(linkingToken, type, externalChannelId=None, part=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070082<p class="firstline">Deletes a resource.</p>
83<p class="toc_element">
yoshi-code-bot312da312021-09-21 00:22:28 -070084 <code><a href="#insert">insert(part, body=None, externalChannelId=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070085<p class="firstline">Inserts a new resource into this collection.</p>
86<p class="toc_element">
yoshi-code-bot312da312021-09-21 00:22:28 -070087 <code><a href="#list">list(part, externalChannelId=None, linkingToken=None, type=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070088<p class="firstline">Retrieves a list of resources, possibly filtered.</p>
89<p class="toc_element">
yoshi-code-bot312da312021-09-21 00:22:28 -070090 <code><a href="#update">update(part, body=None, externalChannelId=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070091<p class="firstline">Updates an existing resource.</p>
92<h3>Method Details</h3>
93<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070094 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96</div>
97
98<div class="method">
yoshi-code-bot312da312021-09-21 00:22:28 -070099 <code class="details" id="delete">delete(linkingToken, type, externalChannelId=None, part=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700100 <pre>Deletes a resource.
101
102Args:
103 linkingToken: string, Delete the partner links with the given linking token. (required)
104 type: string, Type of the link to be deleted. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700105 Allowed values
106 linkUnspecified -
107 channelToStoreLink - A link that is connecting (or about to connect) a channel with a store on a merchandising platform in order to enable retail commerce capabilities for that channel on YouTube.
yoshi-code-bot312da312021-09-21 00:22:28 -0700108 externalChannelId: string, Channel ID to which changes should be applied, for delegation.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700109 part: string, Do not use. Required for compatibility. (repeated)
110 x__xgafv: string, V1 error format.
111 Allowed values
112 1 - v1 error format
113 2 - v2 error format
114</pre>
115</div>
116
117<div class="method">
yoshi-code-bot312da312021-09-21 00:22:28 -0700118 <code class="details" id="insert">insert(part, body=None, externalChannelId=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700119 <pre>Inserts a new resource into this collection.
120
121Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700122 part: string, The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet. (required) (repeated)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700123 body: object, The request body.
124 The object takes the form of:
125
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700126{ # A *third party account link* resource represents a link between a YouTube account or a channel and an account on a third-party service.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800127 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource
128 &quot;kind&quot;: &quot;youtube#thirdPartyLink&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#thirdPartyLink&quot;.
129 &quot;linkingToken&quot;: &quot;A String&quot;, # The linking_token identifies a YouTube account and channel with which the third party account is linked.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800130 &quot;snippet&quot;: { # Basic information about a third party account link, including its type and type-specific information. # The snippet object contains basic details about the third- party account link.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800131 &quot;channelToStoreLink&quot;: { # Information specific to a store on a merchandising platform linked to a YouTube channel. # Information specific to a link between a channel and a store on a merchandising platform.
132 &quot;storeName&quot;: &quot;A String&quot;, # Name of the store.
133 &quot;storeUrl&quot;: &quot;A String&quot;, # Landing page of the store.
134 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800135 &quot;type&quot;: &quot;A String&quot;, # Type of the link named after the entities that are being linked.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800136 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800137 &quot;status&quot;: { # The third-party link status object contains information about the status of the link. # The status object contains information about the status of the link.
138 &quot;linkStatus&quot;: &quot;A String&quot;,
139 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800140}
141
yoshi-code-bot312da312021-09-21 00:22:28 -0700142 externalChannelId: string, Channel ID to which changes should be applied, for delegation.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800143 x__xgafv: string, V1 error format.
144 Allowed values
145 1 - v1 error format
146 2 - v2 error format
147
148Returns:
149 An object of the form:
150
151 { # A *third party account link* resource represents a link between a YouTube account or a channel and an account on a third-party service.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800152 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource
153 &quot;kind&quot;: &quot;youtube#thirdPartyLink&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#thirdPartyLink&quot;.
154 &quot;linkingToken&quot;: &quot;A String&quot;, # The linking_token identifies a YouTube account and channel with which the third party account is linked.
155 &quot;snippet&quot;: { # Basic information about a third party account link, including its type and type-specific information. # The snippet object contains basic details about the third- party account link.
156 &quot;channelToStoreLink&quot;: { # Information specific to a store on a merchandising platform linked to a YouTube channel. # Information specific to a link between a channel and a store on a merchandising platform.
157 &quot;storeName&quot;: &quot;A String&quot;, # Name of the store.
158 &quot;storeUrl&quot;: &quot;A String&quot;, # Landing page of the store.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800159 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800160 &quot;type&quot;: &quot;A String&quot;, # Type of the link named after the entities that are being linked.
161 },
162 &quot;status&quot;: { # The third-party link status object contains information about the status of the link. # The status object contains information about the status of the link.
163 &quot;linkStatus&quot;: &quot;A String&quot;,
164 },
165}</pre>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700166</div>
167
168<div class="method">
yoshi-code-bot312da312021-09-21 00:22:28 -0700169 <code class="details" id="list">list(part, externalChannelId=None, linkingToken=None, type=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700170 <pre>Retrieves a list of resources, possibly filtered.
171
172Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700173 part: string, The *part* parameter specifies the thirdPartyLink resource parts that the API response will include. Supported values are linkingToken, status, and snippet. (required) (repeated)
yoshi-code-bot312da312021-09-21 00:22:28 -0700174 externalChannelId: string, Channel ID to which changes should be applied, for delegation.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800175 linkingToken: string, Get a third party link with the given linking token.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700176 type: string, Get a third party link of the given type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700177 Allowed values
178 linkUnspecified -
179 channelToStoreLink - A link that is connecting (or about to connect) a channel with a store on a merchandising platform in order to enable retail commerce capabilities for that channel on YouTube.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700180 x__xgafv: string, V1 error format.
181 Allowed values
182 1 - v1 error format
183 2 - v2 error format
184
185Returns:
186 An object of the form:
187
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700188 { # A *third party account link* resource represents a link between a YouTube account or a channel and an account on a third-party service.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800189 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource
190 &quot;kind&quot;: &quot;youtube#thirdPartyLink&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#thirdPartyLink&quot;.
191 &quot;linkingToken&quot;: &quot;A String&quot;, # The linking_token identifies a YouTube account and channel with which the third party account is linked.
192 &quot;snippet&quot;: { # Basic information about a third party account link, including its type and type-specific information. # The snippet object contains basic details about the third- party account link.
193 &quot;channelToStoreLink&quot;: { # Information specific to a store on a merchandising platform linked to a YouTube channel. # Information specific to a link between a channel and a store on a merchandising platform.
194 &quot;storeName&quot;: &quot;A String&quot;, # Name of the store.
195 &quot;storeUrl&quot;: &quot;A String&quot;, # Landing page of the store.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800196 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800197 &quot;type&quot;: &quot;A String&quot;, # Type of the link named after the entities that are being linked.
198 },
199 &quot;status&quot;: { # The third-party link status object contains information about the status of the link. # The status object contains information about the status of the link.
200 &quot;linkStatus&quot;: &quot;A String&quot;,
201 },
202}</pre>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700203</div>
204
205<div class="method">
yoshi-code-bot312da312021-09-21 00:22:28 -0700206 <code class="details" id="update">update(part, body=None, externalChannelId=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700207 <pre>Updates an existing resource.
208
209Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700210 part: string, The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet. (required) (repeated)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700211 body: object, The request body.
212 The object takes the form of:
213
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700214{ # A *third party account link* resource represents a link between a YouTube account or a channel and an account on a third-party service.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800215 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource
216 &quot;kind&quot;: &quot;youtube#thirdPartyLink&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#thirdPartyLink&quot;.
217 &quot;linkingToken&quot;: &quot;A String&quot;, # The linking_token identifies a YouTube account and channel with which the third party account is linked.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800218 &quot;snippet&quot;: { # Basic information about a third party account link, including its type and type-specific information. # The snippet object contains basic details about the third- party account link.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800219 &quot;channelToStoreLink&quot;: { # Information specific to a store on a merchandising platform linked to a YouTube channel. # Information specific to a link between a channel and a store on a merchandising platform.
220 &quot;storeName&quot;: &quot;A String&quot;, # Name of the store.
221 &quot;storeUrl&quot;: &quot;A String&quot;, # Landing page of the store.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700222 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800223 &quot;type&quot;: &quot;A String&quot;, # Type of the link named after the entities that are being linked.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800224 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800225 &quot;status&quot;: { # The third-party link status object contains information about the status of the link. # The status object contains information about the status of the link.
226 &quot;linkStatus&quot;: &quot;A String&quot;,
227 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800228}
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800229
yoshi-code-bot312da312021-09-21 00:22:28 -0700230 externalChannelId: string, Channel ID to which changes should be applied, for delegation.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800231 x__xgafv: string, V1 error format.
232 Allowed values
233 1 - v1 error format
234 2 - v2 error format
235
236Returns:
237 An object of the form:
238
239 { # A *third party account link* resource represents a link between a YouTube account or a channel and an account on a third-party service.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800240 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource
241 &quot;kind&quot;: &quot;youtube#thirdPartyLink&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#thirdPartyLink&quot;.
242 &quot;linkingToken&quot;: &quot;A String&quot;, # The linking_token identifies a YouTube account and channel with which the third party account is linked.
243 &quot;snippet&quot;: { # Basic information about a third party account link, including its type and type-specific information. # The snippet object contains basic details about the third- party account link.
244 &quot;channelToStoreLink&quot;: { # Information specific to a store on a merchandising platform linked to a YouTube channel. # Information specific to a link between a channel and a store on a merchandising platform.
245 &quot;storeName&quot;: &quot;A String&quot;, # Name of the store.
246 &quot;storeUrl&quot;: &quot;A String&quot;, # Landing page of the store.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800247 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800248 &quot;type&quot;: &quot;A String&quot;, # Type of the link named after the entities that are being linked.
249 },
250 &quot;status&quot;: { # The third-party link status object contains information about the status of the link. # The status object contains information about the status of the link.
251 &quot;linkStatus&quot;: &quot;A String&quot;,
252 },
253}</pre>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700254</div>
255
256</body></html>