Class ThirdPartyLinksResource
The "thirdPartyLinks" collection of methods.
Inherited Members
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class ThirdPartyLinksResource
Constructors
ThirdPartyLinksResource(IClientService)
Constructs a new resource.
Declaration
public ThirdPartyLinksResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, TypeEnum)
Deletes a resource.
Declaration
public virtual ThirdPartyLinksResource.DeleteRequest Delete(string linkingToken, ThirdPartyLinksResource.DeleteRequest.TypeEnum type)
Parameters
Type | Name | Description |
---|---|---|
string | linkingToken | Delete the partner links with the given linking token. |
ThirdPartyLinksResource.DeleteRequest.TypeEnum | type | Type of the link to be deleted. |
Returns
Type | Description |
---|---|
ThirdPartyLinksResource.DeleteRequest |
Insert(ThirdPartyLink, Repeatable<string>)
Inserts a new resource into this collection.
Declaration
public virtual ThirdPartyLinksResource.InsertRequest Insert(ThirdPartyLink body, Repeatable<string> part)
Parameters
Type | Name | Description |
---|---|---|
ThirdPartyLink | body | The body of the request. |
Repeatable<string> | part | The part parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet. |
Returns
Type | Description |
---|---|
ThirdPartyLinksResource.InsertRequest |
List(Repeatable<string>)
Retrieves a list of resources, possibly filtered.
Declaration
public virtual ThirdPartyLinksResource.ListRequest List(Repeatable<string> part)
Parameters
Type | Name | Description |
---|---|---|
Repeatable<string> | part | The part parameter specifies the thirdPartyLink resource parts that the API response will include. Supported values are linkingToken, status, and snippet. |
Returns
Type | Description |
---|---|
ThirdPartyLinksResource.ListRequest |
Update(ThirdPartyLink, Repeatable<string>)
Updates an existing resource.
Declaration
public virtual ThirdPartyLinksResource.UpdateRequest Update(ThirdPartyLink body, Repeatable<string> part)
Parameters
Type | Name | Description |
---|---|---|
ThirdPartyLink | body | The body of the request. |
Repeatable<string> | part | The part parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet. |
Returns
Type | Description |
---|---|
ThirdPartyLinksResource.UpdateRequest |