Show / Hide Table of Contents

Class AccountsResource.ListRequest

Lists the sub-accounts in your Merchant Center account.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<AccountsListResponse>
ShoppingContentBaseServiceRequest<AccountsListResponse>
AccountsResource.ListRequest
Implements
IClientServiceRequest<AccountsListResponse>
IClientServiceRequest
Inherited Members
ShoppingContentBaseServiceRequest<AccountsListResponse>.Xgafv
ShoppingContentBaseServiceRequest<AccountsListResponse>.AccessToken
ShoppingContentBaseServiceRequest<AccountsListResponse>.Alt
ShoppingContentBaseServiceRequest<AccountsListResponse>.Callback
ShoppingContentBaseServiceRequest<AccountsListResponse>.Fields
ShoppingContentBaseServiceRequest<AccountsListResponse>.Key
ShoppingContentBaseServiceRequest<AccountsListResponse>.OauthToken
ShoppingContentBaseServiceRequest<AccountsListResponse>.PrettyPrint
ShoppingContentBaseServiceRequest<AccountsListResponse>.QuotaUser
ShoppingContentBaseServiceRequest<AccountsListResponse>.UploadType
ShoppingContentBaseServiceRequest<AccountsListResponse>.UploadProtocol
ClientServiceRequest<AccountsListResponse>.Execute()
ClientServiceRequest<AccountsListResponse>.ExecuteAsStream()
ClientServiceRequest<AccountsListResponse>.ExecuteAsync()
ClientServiceRequest<AccountsListResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<AccountsListResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<AccountsListResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<AccountsListResponse>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<AccountsListResponse>.GenerateRequestUri()
ClientServiceRequest<AccountsListResponse>.GetBody()
ClientServiceRequest<AccountsListResponse>.GetDefaultETagAction(String)
ClientServiceRequest<AccountsListResponse>.ETagAction
ClientServiceRequest<AccountsListResponse>.ModifyRequest
ClientServiceRequest<AccountsListResponse>.ValidateParameters
ClientServiceRequest<AccountsListResponse>.RequestParameters
ClientServiceRequest<AccountsListResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top