Modifier and Type | Class and Description |
---|---|
class |
YouTube.ThirdPartyLinks.Delete |
class |
YouTube.ThirdPartyLinks.Insert |
class |
YouTube.ThirdPartyLinks.List |
class |
YouTube.ThirdPartyLinks.Update |
Constructor and Description |
---|
ThirdPartyLinks() |
Modifier and Type | Method and Description |
---|---|
YouTube.ThirdPartyLinks.Delete |
delete(String linkingToken,
String type)
Deletes a resource.
|
YouTube.ThirdPartyLinks.Insert |
insert(List<String> part,
ThirdPartyLink content)
Inserts a new resource into this collection.
|
YouTube.ThirdPartyLinks.List |
list(List<String> part)
Retrieves a list of resources, possibly filtered.
|
YouTube.ThirdPartyLinks.Update |
update(List<String> part,
ThirdPartyLink content)
Updates an existing resource.
|
public YouTube.ThirdPartyLinks.Delete delete(String linkingToken, String type) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.linkingToken
- Delete the partner links with the given linking token.type
- Type of the link to be deleted.IOException
public YouTube.ThirdPartyLinks.Insert insert(List<String> part, ThirdPartyLink content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.part
- The *part* parameter specifies the thirdPartyLink resource parts that the API request and response
will include. Supported values are linkingToken, status, and snippet.content
- the ThirdPartyLink
IOException
public YouTube.ThirdPartyLinks.List list(List<String> part) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.part
- The *part* parameter specifies the thirdPartyLink resource parts that the API response will include.
Supported values are linkingToken, status, and snippet.IOException
public YouTube.ThirdPartyLinks.Update update(List<String> part, ThirdPartyLink content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.part
- The *part* parameter specifies the thirdPartyLink resource parts that the API request and response
will include. Supported values are linkingToken, status, and snippet.content
- the ThirdPartyLink
IOException
Copyright © 2011–2021 Google. All rights reserved.