Class FoldersResource.ProductsResource.SearchRequest
Search Product resources that consumers have access to, within the scope of the consumer cloud resource hierarchy context.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudPrivateCatalog.v1beta1
Assembly: Google.Apis.CloudPrivateCatalog.v1beta1.dll
Syntax
public class SearchRequest : CloudPrivateCatalogBaseServiceRequest<GoogleCloudPrivatecatalogV1beta1SearchProductsResponse>, IClientServiceRequest<GoogleCloudPrivatecatalogV1beta1SearchProductsResponse>, IClientServiceRequest
Constructors
SearchRequest(IClientService, String)
Constructs a new Search request.
Declaration
public SearchRequest(IClientService service, string resource)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
System.String | resource |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
PageSize
The maximum number of entries that are requested.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
PageToken
A pagination token returned from a previous call to SearchProducts that indicates where this listing should continue from. This field is optional.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Query
The query to filter the products.
The supported queries are: * List products of all catalogs: empty * List products under a catalog:
parent=catalogs/{catalog_id}
* Get a product by name:
name=catalogs/{catalog_id}/products/{product_id}
Declaration
[RequestParameter("query", RequestParameterType.Query)]
public virtual string Query { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Resource
Required. The name of the resource context. See SearchCatalogsRequest.resource for details.
Declaration
[RequestParameter("resource", RequestParameterType.Path)]
public virtual string Resource { 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
Methods
InitParameters()
Initializes Search parameter list.
Declaration
protected override void InitParameters()