Class AccountsResource.ListRequest
Lists the sub-accounts in your Merchant Center account.
Inheritance
System.Object
AccountsResource.ListRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class ListRequest : ShoppingContentBaseServiceRequest<AccountsListResponse>, IClientServiceRequest<AccountsListResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, UInt64)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, ulong merchantId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
System.UInt64 | merchantId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.AccountsListResponse>.HttpMethod
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 |
---|---|
System.Nullable<System.UInt64> |
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 |
---|---|
System.Nullable<System.Int64> |
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 |
---|---|
System.UInt64 |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.AccountsListResponse>.MethodName
PageToken
The token returned by the previous request.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.AccountsListResponse>.RestPath
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 |
---|---|
System.Nullable<AccountsResource.ListRequest.ViewEnum> |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.ShoppingContent.v2_1.ShoppingContentBaseServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.AccountsListResponse>.InitParameters()