Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, 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 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, 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="#delete">delete(linkingToken, type, part=None, x__xgafv=None)</a></code></p> |
| 79 | <p class="firstline">Deletes a resource.</p> |
| 80 | <p class="toc_element"> |
| 81 | <code><a href="#insert">insert(part, body=None, x__xgafv=None)</a></code></p> |
| 82 | <p class="firstline">Inserts a new resource into this collection.</p> |
| 83 | <p class="toc_element"> |
| 84 | <code><a href="#list">list(part, linkingToken=None, type=None, x__xgafv=None)</a></code></p> |
| 85 | <p class="firstline">Retrieves a list of resources, possibly filtered.</p> |
| 86 | <p class="toc_element"> |
| 87 | <code><a href="#update">update(part, body=None, x__xgafv=None)</a></code></p> |
| 88 | <p class="firstline">Updates an existing resource.</p> |
| 89 | <h3>Method Details</h3> |
| 90 | <div class="method"> |
| 91 | <code class="details" id="delete">delete(linkingToken, type, part=None, x__xgafv=None)</code> |
| 92 | <pre>Deletes a resource. |
| 93 | |
| 94 | Args: |
| 95 | linkingToken: string, Delete the partner links with the given linking token. (required) |
| 96 | type: string, Type of the link to be deleted. (required) |
| 97 | part: string, Do not use. Required for compatibility. (repeated) |
| 98 | x__xgafv: string, V1 error format. |
| 99 | Allowed values |
| 100 | 1 - v1 error format |
| 101 | 2 - v2 error format |
| 102 | </pre> |
| 103 | </div> |
| 104 | |
| 105 | <div class="method"> |
| 106 | <code class="details" id="insert">insert(part, body=None, x__xgafv=None)</code> |
| 107 | <pre>Inserts a new resource into this collection. |
| 108 | |
| 109 | Args: |
| 110 | part: string, The <code><strong>part</strong></code> parameter specifies the |
| 111 | <code>thirdPartyLink</code> resource parts that the API request and |
| 112 | response will include. Supported values are <code>linkingToken</code>, |
| 113 | <code>status</code>, and <code>snippet</code>. (required) (repeated) |
| 114 | body: object, The request body. |
| 115 | The object takes the form of: |
| 116 | |
| 117 | { # A <code><strong>third party account link</strong></code> resource represents |
| 118 | # a link between a YouTube account or a channel and an account on a |
| 119 | # third-party service. |
| 120 | "snippet": { # Basic information about a third party account link, including its type and # The <code>snippet</code> object contains basic details about the third- |
| 121 | # party account link. |
| 122 | # type-specific information. |
| 123 | "channelToStoreLink": { # Information specific to a store on a merchandising platform linked to a # Information specific to a link between a channel and a store on a |
| 124 | # merchandising platform. |
| 125 | # YouTube channel. |
| 126 | "storeName": "A String", # Name of the store. |
| 127 | "storeUrl": "A String", # Landing page of the store. |
| 128 | }, |
| 129 | "type": "A String", # Type of the link named after the entities that are being linked. |
| 130 | }, |
| 131 | "etag": "A String", # Etag of this resource |
| 132 | "kind": "youtube#thirdPartyLink", # Identifies what kind of resource this is. Value: the fixed string |
| 133 | # <code>"youtube#thirdPartyLink"</code>. |
| 134 | "status": { # The <code>third-party link status</code> object contains information about # The <code>status</code> object contains information about the status |
| 135 | # of the link. |
| 136 | # the status of the link. |
| 137 | "linkStatus": "A String", |
| 138 | }, |
| 139 | "linkingToken": "A String", # The <code>linking_token</code> identifies a YouTube account and |
| 140 | # channel with which the third party account is linked. |
| 141 | } |
| 142 | |
| 143 | x__xgafv: string, V1 error format. |
| 144 | Allowed values |
| 145 | 1 - v1 error format |
| 146 | 2 - v2 error format |
| 147 | |
| 148 | Returns: |
| 149 | An object of the form: |
| 150 | |
| 151 | { # A <code><strong>third party account link</strong></code> resource represents |
| 152 | # a link between a YouTube account or a channel and an account on a |
| 153 | # third-party service. |
| 154 | "snippet": { # Basic information about a third party account link, including its type and # The <code>snippet</code> object contains basic details about the third- |
| 155 | # party account link. |
| 156 | # type-specific information. |
| 157 | "channelToStoreLink": { # Information specific to a store on a merchandising platform linked to a # Information specific to a link between a channel and a store on a |
| 158 | # merchandising platform. |
| 159 | # YouTube channel. |
| 160 | "storeName": "A String", # Name of the store. |
| 161 | "storeUrl": "A String", # Landing page of the store. |
| 162 | }, |
| 163 | "type": "A String", # Type of the link named after the entities that are being linked. |
| 164 | }, |
| 165 | "etag": "A String", # Etag of this resource |
| 166 | "kind": "youtube#thirdPartyLink", # Identifies what kind of resource this is. Value: the fixed string |
| 167 | # <code>"youtube#thirdPartyLink"</code>. |
| 168 | "status": { # The <code>third-party link status</code> object contains information about # The <code>status</code> object contains information about the status |
| 169 | # of the link. |
| 170 | # the status of the link. |
| 171 | "linkStatus": "A String", |
| 172 | }, |
| 173 | "linkingToken": "A String", # The <code>linking_token</code> identifies a YouTube account and |
| 174 | # channel with which the third party account is linked. |
| 175 | }</pre> |
| 176 | </div> |
| 177 | |
| 178 | <div class="method"> |
| 179 | <code class="details" id="list">list(part, linkingToken=None, type=None, x__xgafv=None)</code> |
| 180 | <pre>Retrieves a list of resources, possibly filtered. |
| 181 | |
| 182 | Args: |
| 183 | part: string, The <code><strong>part</strong></code> parameter specifies the |
| 184 | <code>thirdPartyLink</code> resource parts that the API response will |
| 185 | include. Supported values are <code>linkingToken</code>, |
| 186 | <code>status</code>, and <code>snippet</code>. (required) (repeated) |
| 187 | linkingToken: string, Get a third party link with the given linking token. |
| 188 | type: string, Get a third party link of the given type. |
| 189 | x__xgafv: string, V1 error format. |
| 190 | Allowed values |
| 191 | 1 - v1 error format |
| 192 | 2 - v2 error format |
| 193 | |
| 194 | Returns: |
| 195 | An object of the form: |
| 196 | |
| 197 | { # A <code><strong>third party account link</strong></code> resource represents |
| 198 | # a link between a YouTube account or a channel and an account on a |
| 199 | # third-party service. |
| 200 | "snippet": { # Basic information about a third party account link, including its type and # The <code>snippet</code> object contains basic details about the third- |
| 201 | # party account link. |
| 202 | # type-specific information. |
| 203 | "channelToStoreLink": { # Information specific to a store on a merchandising platform linked to a # Information specific to a link between a channel and a store on a |
| 204 | # merchandising platform. |
| 205 | # YouTube channel. |
| 206 | "storeName": "A String", # Name of the store. |
| 207 | "storeUrl": "A String", # Landing page of the store. |
| 208 | }, |
| 209 | "type": "A String", # Type of the link named after the entities that are being linked. |
| 210 | }, |
| 211 | "etag": "A String", # Etag of this resource |
| 212 | "kind": "youtube#thirdPartyLink", # Identifies what kind of resource this is. Value: the fixed string |
| 213 | # <code>"youtube#thirdPartyLink"</code>. |
| 214 | "status": { # The <code>third-party link status</code> object contains information about # The <code>status</code> object contains information about the status |
| 215 | # of the link. |
| 216 | # the status of the link. |
| 217 | "linkStatus": "A String", |
| 218 | }, |
| 219 | "linkingToken": "A String", # The <code>linking_token</code> identifies a YouTube account and |
| 220 | # channel with which the third party account is linked. |
| 221 | }</pre> |
| 222 | </div> |
| 223 | |
| 224 | <div class="method"> |
| 225 | <code class="details" id="update">update(part, body=None, x__xgafv=None)</code> |
| 226 | <pre>Updates an existing resource. |
| 227 | |
| 228 | Args: |
| 229 | part: string, The <code><strong>part</strong></code> parameter specifies the |
| 230 | <code>thirdPartyLink</code> resource parts that the API request and |
| 231 | response will include. Supported values are <code>linkingToken</code>, |
| 232 | <code>status</code>, and <code>snippet</code>. (required) (repeated) |
| 233 | body: object, The request body. |
| 234 | The object takes the form of: |
| 235 | |
| 236 | { # A <code><strong>third party account link</strong></code> resource represents |
| 237 | # a link between a YouTube account or a channel and an account on a |
| 238 | # third-party service. |
| 239 | "snippet": { # Basic information about a third party account link, including its type and # The <code>snippet</code> object contains basic details about the third- |
| 240 | # party account link. |
| 241 | # type-specific information. |
| 242 | "channelToStoreLink": { # Information specific to a store on a merchandising platform linked to a # Information specific to a link between a channel and a store on a |
| 243 | # merchandising platform. |
| 244 | # YouTube channel. |
| 245 | "storeName": "A String", # Name of the store. |
| 246 | "storeUrl": "A String", # Landing page of the store. |
| 247 | }, |
| 248 | "type": "A String", # Type of the link named after the entities that are being linked. |
| 249 | }, |
| 250 | "etag": "A String", # Etag of this resource |
| 251 | "kind": "youtube#thirdPartyLink", # Identifies what kind of resource this is. Value: the fixed string |
| 252 | # <code>"youtube#thirdPartyLink"</code>. |
| 253 | "status": { # The <code>third-party link status</code> object contains information about # The <code>status</code> object contains information about the status |
| 254 | # of the link. |
| 255 | # the status of the link. |
| 256 | "linkStatus": "A String", |
| 257 | }, |
| 258 | "linkingToken": "A String", # The <code>linking_token</code> identifies a YouTube account and |
| 259 | # channel with which the third party account is linked. |
| 260 | } |
| 261 | |
| 262 | x__xgafv: string, V1 error format. |
| 263 | Allowed values |
| 264 | 1 - v1 error format |
| 265 | 2 - v2 error format |
| 266 | |
| 267 | Returns: |
| 268 | An object of the form: |
| 269 | |
| 270 | { # A <code><strong>third party account link</strong></code> resource represents |
| 271 | # a link between a YouTube account or a channel and an account on a |
| 272 | # third-party service. |
| 273 | "snippet": { # Basic information about a third party account link, including its type and # The <code>snippet</code> object contains basic details about the third- |
| 274 | # party account link. |
| 275 | # type-specific information. |
| 276 | "channelToStoreLink": { # Information specific to a store on a merchandising platform linked to a # Information specific to a link between a channel and a store on a |
| 277 | # merchandising platform. |
| 278 | # YouTube channel. |
| 279 | "storeName": "A String", # Name of the store. |
| 280 | "storeUrl": "A String", # Landing page of the store. |
| 281 | }, |
| 282 | "type": "A String", # Type of the link named after the entities that are being linked. |
| 283 | }, |
| 284 | "etag": "A String", # Etag of this resource |
| 285 | "kind": "youtube#thirdPartyLink", # Identifies what kind of resource this is. Value: the fixed string |
| 286 | # <code>"youtube#thirdPartyLink"</code>. |
| 287 | "status": { # The <code>third-party link status</code> object contains information about # The <code>status</code> object contains information about the status |
| 288 | # of the link. |
| 289 | # the status of the link. |
| 290 | "linkStatus": "A String", |
| 291 | }, |
| 292 | "linkingToken": "A String", # The <code>linking_token</code> identifies a YouTube account and |
| 293 | # channel with which the third party account is linked. |
| 294 | }</pre> |
| 295 | </div> |
| 296 | |
| 297 | </body></html> |