Class SearchProductsRequest (1.0.0-beta02)

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

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
Int32

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