1<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">
78  <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81  <code><a href="#delete">delete(linkingToken, type, externalChannelId=None, part=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Deletes a resource.</p>
83<p class="toc_element">
84  <code><a href="#insert">insert(part, body=None, externalChannelId=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Inserts a new resource into this collection.</p>
86<p class="toc_element">
87  <code><a href="#list">list(part, externalChannelId=None, linkingToken=None, type=None, x__xgafv=None)</a></code></p>
88<p class="firstline">Retrieves a list of resources, possibly filtered.</p>
89<p class="toc_element">
90  <code><a href="#update">update(part, body=None, externalChannelId=None, x__xgafv=None)</a></code></p>
91<p class="firstline">Updates an existing resource.</p>
92<h3>Method Details</h3>
93<div class="method">
94    <code class="details" id="close">close()</code>
95  <pre>Close httplib2 connections.</pre>
96</div>
97
98<div class="method">
99    <code class="details" id="delete">delete(linkingToken, type, externalChannelId=None, part=None, x__xgafv=None)</code>
100  <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)
105    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.
108  externalChannelId: string, Channel ID to which changes should be applied, for delegation.
109  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">
118    <code class="details" id="insert">insert(part, body=None, externalChannelId=None, x__xgafv=None)</code>
119  <pre>Inserts a new resource into this collection.
120
121Args:
122  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)
123  body: object, The request body.
124    The object takes the form of:
125
126{ # A *third party account link* resource represents a link between a YouTube account or a channel and an account on a third-party service.
127  &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.
130  &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.
131    &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    },
135    &quot;type&quot;: &quot;A String&quot;, # Type of the link named after the entities that are being linked.
136  },
137  &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  },
140}
141
142  externalChannelId: string, Channel ID to which changes should be applied, for delegation.
143  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.
152  &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.
159    },
160    &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>
166</div>
167
168<div class="method">
169    <code class="details" id="list">list(part, externalChannelId=None, linkingToken=None, type=None, x__xgafv=None)</code>
170  <pre>Retrieves a list of resources, possibly filtered.
171
172Args:
173  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)
174  externalChannelId: string, Channel ID to which changes should be applied, for delegation.
175  linkingToken: string, Get a third party link with the given linking token.
176  type: string, Get a third party link of the given type.
177    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.
180  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
188    { # A *third party account link* resource represents a link between a YouTube account or a channel and an account on a third-party service.
189  &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.
196    },
197    &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>
203</div>
204
205<div class="method">
206    <code class="details" id="update">update(part, body=None, externalChannelId=None, x__xgafv=None)</code>
207  <pre>Updates an existing resource.
208
209Args:
210  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)
211  body: object, The request body.
212    The object takes the form of:
213
214{ # A *third party account link* resource represents a link between a YouTube account or a channel and an account on a third-party service.
215  &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.
218  &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.
219    &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.
222    },
223    &quot;type&quot;: &quot;A String&quot;, # Type of the link named after the entities that are being linked.
224  },
225  &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  },
228}
229
230  externalChannelId: string, Channel ID to which changes should be applied, for delegation.
231  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.
240  &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.
247    },
248    &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>
254</div>
255
256</body></html>