Class AccountTypesResource.AccountsResource.PartnerLinksResource
The "partnerLinks" collection of methods.
Inherited Members
Namespace: Google.Apis.DataManager.v1
Assembly: Google.Apis.DataManager.v1.dll
Syntax
public class AccountTypesResource.AccountsResource.PartnerLinksResource
Constructors
PartnerLinksResource(IClientService)
Constructs a new resource.
Declaration
public PartnerLinksResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(PartnerLink, string)
Creates a partner link for the given account. Authorization Headers: This method supports the
following optional headers to define how the API authorizes access for the request: *
login-account: (Optional) The resource name of the account where the Google Account of the
credentials is a user. If not set, defaults to the account of the request. Format:
accountTypes/{loginAccountType}/accounts/{loginAccountId} * linked-account: (Optional) The
resource name of the account with an established product link to the login-account. Format:
accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Declaration
public virtual AccountTypesResource.AccountsResource.PartnerLinksResource.CreateRequest Create(PartnerLink body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| PartnerLink | body | The body of the request. |
| string | parent | Required. The parent, which owns this collection of partner links. Format: accountTypes/{account_type}/accounts/{account} |
Returns
| Type | Description |
|---|---|
| AccountTypesResource.AccountsResource.PartnerLinksResource.CreateRequest |
Delete(string)
Deletes a partner link for the given account. Authorization Headers: This method supports the
following optional headers to define how the API authorizes access for the request: *
login-account: (Optional) The resource name of the account where the Google Account of the
credentials is a user. If not set, defaults to the account of the request. Format:
accountTypes/{loginAccountType}/accounts/{loginAccountId} * linked-account: (Optional) The
resource name of the account with an established product link to the login-account. Format:
accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Declaration
public virtual AccountTypesResource.AccountsResource.PartnerLinksResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the partner link to delete. Format: accountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link} |
Returns
| Type | Description |
|---|---|
| AccountTypesResource.AccountsResource.PartnerLinksResource.DeleteRequest |
Search(string)
Searches for all partner links to and from a given account. Authorization Headers: This method
supports the following optional headers to define how the API authorizes access for the request: *
login-account: (Optional) The resource name of the account where the Google Account of the
credentials is a user. If not set, defaults to the account of the request. Format:
accountTypes/{loginAccountType}/accounts/{loginAccountId} * linked-account: (Optional) The
resource name of the account with an established product link to the login-account. Format:
accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Declaration
public virtual AccountTypesResource.AccountsResource.PartnerLinksResource.SearchRequest Search(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. Account to search for partner links. If no |
Returns
| Type | Description |
|---|---|
| AccountTypesResource.AccountsResource.PartnerLinksResource.SearchRequest |