Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ProductsResource.ListRequest

Lists products in an unspecified order. Possible errors: * Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<ListProductsResponse>
VisionBaseServiceRequest<ListProductsResponse>
ProjectsResource.LocationsResource.ProductsResource.ListRequest
Implements
IClientServiceRequest<ListProductsResponse>
IClientServiceRequest
Inherited Members
VisionBaseServiceRequest<ListProductsResponse>.Xgafv
VisionBaseServiceRequest<ListProductsResponse>.AccessToken
VisionBaseServiceRequest<ListProductsResponse>.Alt
VisionBaseServiceRequest<ListProductsResponse>.Callback
VisionBaseServiceRequest<ListProductsResponse>.Fields
VisionBaseServiceRequest<ListProductsResponse>.Key
VisionBaseServiceRequest<ListProductsResponse>.OauthToken
VisionBaseServiceRequest<ListProductsResponse>.PrettyPrint
VisionBaseServiceRequest<ListProductsResponse>.QuotaUser
VisionBaseServiceRequest<ListProductsResponse>.UploadType
VisionBaseServiceRequest<ListProductsResponse>.UploadProtocol
ClientServiceRequest<ListProductsResponse>.Execute()
ClientServiceRequest<ListProductsResponse>.ExecuteAsStream()
ClientServiceRequest<ListProductsResponse>.ExecuteAsync()
ClientServiceRequest<ListProductsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListProductsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListProductsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListProductsResponse>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<ListProductsResponse>.GenerateRequestUri()
ClientServiceRequest<ListProductsResponse>.GetBody()
ClientServiceRequest<ListProductsResponse>.GetDefaultETagAction(String)
ClientServiceRequest<ListProductsResponse>.ETagAction
ClientServiceRequest<ListProductsResponse>.ModifyRequest
ClientServiceRequest<ListProductsResponse>.ValidateParameters
ClientServiceRequest<ListProductsResponse>.RequestParameters
ClientServiceRequest<ListProductsResponse>.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.Vision.v1
Assembly: Google.Apis.Vision.v1.dll
Syntax
public class ListRequest : VisionBaseServiceRequest<ListProductsResponse>, IClientServiceRequest<ListProductsResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, String)

Constructs a new List request.

Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type Name Description
IClientService service
System.String parent

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.Vision.v1.Data.ListProductsResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Vision.v1.Data.ListProductsResponse>.MethodName

PageSize

The maximum number of items to return. Default 10, maximum 100.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

PageToken

The next_page_token returned from a previous List request, if any.

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

Parent

Required. The project OR ProductSet from which Products should be listed. Format: projects/PROJECT_ID/locations/LOC_ID

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
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.Vision.v1.Data.ListProductsResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Vision.v1.VisionBaseServiceRequest<Google.Apis.Vision.v1.Data.ListProductsResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top