Show / Hide Table of Contents

Class ProductsResource.ListRequest

Finds approved products that match a query, or all approved products if there is no query. Note: This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ProductsListResponse>
AndroidEnterpriseBaseServiceRequest<ProductsListResponse>
ProductsResource.ListRequest
Implements
IClientServiceRequest<ProductsListResponse>
IClientServiceRequest
Inherited Members
AndroidEnterpriseBaseServiceRequest<ProductsListResponse>.Xgafv
AndroidEnterpriseBaseServiceRequest<ProductsListResponse>.AccessToken
AndroidEnterpriseBaseServiceRequest<ProductsListResponse>.Alt
AndroidEnterpriseBaseServiceRequest<ProductsListResponse>.Callback
AndroidEnterpriseBaseServiceRequest<ProductsListResponse>.Fields
AndroidEnterpriseBaseServiceRequest<ProductsListResponse>.Key
AndroidEnterpriseBaseServiceRequest<ProductsListResponse>.OauthToken
AndroidEnterpriseBaseServiceRequest<ProductsListResponse>.PrettyPrint
AndroidEnterpriseBaseServiceRequest<ProductsListResponse>.QuotaUser
AndroidEnterpriseBaseServiceRequest<ProductsListResponse>.UploadType
AndroidEnterpriseBaseServiceRequest<ProductsListResponse>.UploadProtocol
ClientServiceRequest<ProductsListResponse>.Execute()
ClientServiceRequest<ProductsListResponse>.ExecuteAsStream()
ClientServiceRequest<ProductsListResponse>.ExecuteAsync()
ClientServiceRequest<ProductsListResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ProductsListResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ProductsListResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ProductsListResponse>.CreateRequest(bool?)
ClientServiceRequest<ProductsListResponse>.GenerateRequestUri()
ClientServiceRequest<ProductsListResponse>.GetBody()
ClientServiceRequest<ProductsListResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ProductsListResponse>.ETagAction
ClientServiceRequest<ProductsListResponse>.ModifyRequest
ClientServiceRequest<ProductsListResponse>.ValidateParameters
ClientServiceRequest<ProductsListResponse>.ApiVersion
ClientServiceRequest<ProductsListResponse>.RequestParameters
ClientServiceRequest<ProductsListResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AndroidEnterprise.v1
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class ProductsResource.ListRequest : AndroidEnterpriseBaseServiceRequest<ProductsListResponse>, IClientServiceRequest<ProductsListResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, string)

Constructs a new List request.

Declaration
public ListRequest(IClientService service, string enterpriseId)
Parameters
Type Name Description
IClientService service
string enterpriseId

Properties

Approved

Specifies whether to search among all products (false) or among only products that have been approved (true). Only "true" is supported, and should be specified.

Declaration
[RequestParameter("approved", RequestParameterType.Query)]
public virtual bool? Approved { get; set; }
Property Value
Type Description
bool?

EnterpriseId

The ID of the enterprise.

Declaration
[RequestParameter("enterpriseId", RequestParameterType.Path)]
public virtual string EnterpriseId { get; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ProductsListResponse>.HttpMethod

Language

The BCP47 tag for the user's preferred language (e.g. "en-US", "de"). Results are returned in the language best matching the preferred language.

Declaration
[RequestParameter("language", RequestParameterType.Query)]
public virtual string Language { get; set; }
Property Value
Type Description
string

MaxResults

Defines how many results the list operation should return. The default number depends on the resource collection.

Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual long? MaxResults { get; set; }
Property Value
Type Description
long?

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ProductsListResponse>.MethodName

Query

The search query as typed in the Google Play store search box. If omitted, all approved apps will be returned (using the pagination parameters), including apps that are not available in the store (e.g. unpublished apps).

Declaration
[RequestParameter("query", RequestParameterType.Query)]
public virtual string Query { get; set; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ProductsListResponse>.RestPath

Token

Defines the token of the page to return, usually taken from TokenPagination. This can only be used if token paging is enabled.

Declaration
[RequestParameter("token", RequestParameterType.Query)]
public virtual string Token { get; set; }
Property Value
Type Description
string

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
AndroidEnterpriseBaseServiceRequest<ProductsListResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX