Cloud Private Catalog v1beta1 API - Class SearchProductsRequest (2.0.0-beta03)

public sealed class SearchProductsRequest : IMessage<SearchProductsRequest>, IEquatable<SearchProductsRequest>, IDeepCloneable<SearchProductsRequest>, IBufferMessage, IMessage, IPageRequest

Reference documentation and code samples for the Cloud Private Catalog v1beta1 API class SearchProductsRequest.

Request message for [PrivateCatalog.SearchProducts][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts].

Inheritance

object > SearchProductsRequest

Namespace

Google.Cloud.PrivateCatalog.V1Beta1

Assembly

Google.Cloud.PrivateCatalog.V1Beta1.dll

Constructors

SearchProductsRequest()

public SearchProductsRequest()

SearchProductsRequest(SearchProductsRequest)

public SearchProductsRequest(SearchProductsRequest other)
Parameter
NameDescription
otherSearchProductsRequest

Properties

PageSize

public int PageSize { get; set; }

The maximum number of entries that are requested.

Property Value
TypeDescription
int

PageToken

public string PageToken { get; set; }

A pagination token returned from a previous call to SearchProducts that indicates where this listing should continue from.

Property Value
TypeDescription
string

Query

public string Query { get; set; }

The query to filter the products.

The supported queries are:

  • List products of all catalogs: empty
  • List products under a catalog: parent=catalogs/{catalog}
  • Get a product by name: name=catalogs/{catalog}/products/{product}
Property Value
TypeDescription
string

Resource

public string Resource { get; set; }

Required. The name of the resource context. See [SearchCatalogsRequest.resource][google.cloud.privatecatalog.v1beta1.SearchCatalogsRequest.resource] for details.

Property Value
TypeDescription
string