content  v2.1
Classes | Public Member Functions | List of all members
Google.Apis.ShoppingContent.v2_1.AccountsResource Class Reference

The "accounts" collection of methods. More...

Classes

class  AuthinfoRequest
 Returns information about the authenticated user. More...
 
class  ClaimwebsiteRequest
 Claims the website of a Merchant Center sub-account. More...
 
class  CustombatchRequest
 Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request. More...
 
class  DeleteRequest
 Deletes a Merchant Center sub-account. More...
 
class  GetRequest
 Retrieves a Merchant Center account. More...
 
class  InsertRequest
 Creates a Merchant Center sub-account. More...
 
class  LinkRequest
 Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId. More...
 
class  ListlinksRequest
 Returns the list of accounts linked to your Merchant Center account. More...
 
class  ListRequest
 Lists the sub-accounts in your Merchant Center account. More...
 
class  UpdateRequest
 Updates a Merchant Center account. More...
 

Public Member Functions

 AccountsResource (Google.Apis.Services.IClientService service)
 Constructs a new resource. More...
 
virtual AuthinfoRequest Authinfo ()
 Returns information about the authenticated user. More...
 
virtual ClaimwebsiteRequest Claimwebsite (ulong merchantId, ulong accountId)
 Claims the website of a Merchant Center sub-account. More...
 
virtual CustombatchRequest Custombatch (Google.Apis.ShoppingContent.v2_1.Data.AccountsCustomBatchRequest body)
 Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request. More...
 
virtual DeleteRequest Delete (ulong merchantId, ulong accountId)
 Deletes a Merchant Center sub-account. More...
 
virtual GetRequest Get (ulong merchantId, ulong accountId)
 Retrieves a Merchant Center account. More...
 
virtual InsertRequest Insert (Google.Apis.ShoppingContent.v2_1.Data.Account body, ulong merchantId)
 Creates a Merchant Center sub-account. More...
 
virtual LinkRequest Link (Google.Apis.ShoppingContent.v2_1.Data.AccountsLinkRequest body, ulong merchantId, ulong accountId)
 Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId. More...
 
virtual ListRequest List (ulong merchantId)
 Lists the sub-accounts in your Merchant Center account. More...
 
virtual ListlinksRequest Listlinks (ulong merchantId, ulong accountId)
 Returns the list of accounts linked to your Merchant Center account. More...
 
virtual UpdateRequest Update (Google.Apis.ShoppingContent.v2_1.Data.Account body, ulong merchantId, ulong accountId)
 Updates a Merchant Center account. More...
 

Detailed Description

The "accounts" collection of methods.

Constructor & Destructor Documentation

◆ AccountsResource()

Google.Apis.ShoppingContent.v2_1.AccountsResource.AccountsResource ( Google.Apis.Services.IClientService  service)
inline

Constructs a new resource.

Member Function Documentation

◆ Authinfo()

virtual AuthinfoRequest Google.Apis.ShoppingContent.v2_1.AccountsResource.Authinfo ( )
inlinevirtual

Returns information about the authenticated user.

◆ Claimwebsite()

virtual ClaimwebsiteRequest Google.Apis.ShoppingContent.v2_1.AccountsResource.Claimwebsite ( ulong  merchantId,
ulong  accountId 
)
inlinevirtual

Claims the website of a Merchant Center sub-account.

Parameters
merchantIdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
accountIdThe ID of the account whose website is claimed.

◆ Custombatch()

virtual CustombatchRequest Google.Apis.ShoppingContent.v2_1.AccountsResource.Custombatch ( Google.Apis.ShoppingContent.v2_1.Data.AccountsCustomBatchRequest  body)
inlinevirtual

Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request.

Parameters
bodyThe body of the request.

◆ Delete()

virtual DeleteRequest Google.Apis.ShoppingContent.v2_1.AccountsResource.Delete ( ulong  merchantId,
ulong  accountId 
)
inlinevirtual

Deletes a Merchant Center sub-account.

Parameters
merchantIdThe ID of the managing account. This must be a multi-client account, and accountId must be the ID of a sub-account of this account.
accountIdThe ID of the account.

◆ Get()

virtual GetRequest Google.Apis.ShoppingContent.v2_1.AccountsResource.Get ( ulong  merchantId,
ulong  accountId 
)
inlinevirtual

Retrieves a Merchant Center account.

Parameters
merchantIdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
accountIdThe ID of the account.

◆ Insert()

virtual InsertRequest Google.Apis.ShoppingContent.v2_1.AccountsResource.Insert ( Google.Apis.ShoppingContent.v2_1.Data.Account  body,
ulong  merchantId 
)
inlinevirtual

Creates a Merchant Center sub-account.

Parameters
bodyThe body of the request.
merchantIdThe ID of the managing account. This must be a multi-client account.

◆ Link()

virtual LinkRequest Google.Apis.ShoppingContent.v2_1.AccountsResource.Link ( Google.Apis.ShoppingContent.v2_1.Data.AccountsLinkRequest  body,
ulong  merchantId,
ulong  accountId 
)
inlinevirtual

Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId.

Parameters
bodyThe body of the request.
merchantIdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
accountIdThe ID of the account that should be linked.

◆ List()

virtual ListRequest Google.Apis.ShoppingContent.v2_1.AccountsResource.List ( ulong  merchantId)
inlinevirtual

Lists the sub-accounts in your Merchant Center account.

Parameters
merchantIdThe ID of the managing account. This must be a multi-client account.

◆ Listlinks()

virtual ListlinksRequest Google.Apis.ShoppingContent.v2_1.AccountsResource.Listlinks ( ulong  merchantId,
ulong  accountId 
)
inlinevirtual

Returns the list of accounts linked to your Merchant Center account.

Parameters
merchantIdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
accountIdThe ID of the account for which to list links.

◆ Update()

virtual UpdateRequest Google.Apis.ShoppingContent.v2_1.AccountsResource.Update ( Google.Apis.ShoppingContent.v2_1.Data.Account  body,
ulong  merchantId,
ulong  accountId 
)
inlinevirtual

Updates a Merchant Center account.

Parameters
bodyThe body of the request.
merchantIdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
accountIdThe ID of the account.

The documentation for this class was generated from the following file: