Class AccountsResource.ListRequest
Lists the sub-accounts in your Merchant Center account.
Inheritance
AccountsResource.ListRequest
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class AccountsResource.ListRequest : ShoppingContentBaseServiceRequest<AccountsListResponse>, IClientServiceRequest<AccountsListResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, ulong)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, ulong merchantId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ulong | merchantId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Label
If view is set to "css", only return accounts that are assigned label with given ID.
Declaration
[RequestParameter("label", RequestParameterType.Query)]
public virtual ulong? Label { get; set; }
Property Value
Type | Description |
---|---|
ulong? |
MaxResults
The maximum number of accounts to return in the response, used for paging.
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual long? MaxResults { get; set; }
Property Value
Type | Description |
---|---|
long? |
MerchantId
The ID of the managing account. This must be a multi-client account.
Declaration
[RequestParameter("merchantId", RequestParameterType.Path)]
public virtual ulong MerchantId { get; }
Property Value
Type | Description |
---|---|
ulong |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
If set, only the accounts with the given name (case sensitive) will be returned.
Declaration
[RequestParameter("name", RequestParameterType.Query)]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PageToken
The token returned by the previous request.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
View
Controls which fields will be populated. Acceptable values are: "merchant" and "css". The default value is "merchant".
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual AccountsResource.ListRequest.ViewEnum? View { get; set; }
Property Value
Type | Description |
---|---|
AccountsResource.ListRequest.ViewEnum? |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()