Required. The name of the resource context. See [SearchCatalogsRequest.resource][google.cloud.privatecatalog.v1beta1.SearchCatalogsRequest.resource]
for details.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSearchProductsRequest\u003c/code\u003e class is part of the Cloud Private Catalog v1beta1 API and is used to request the search of products.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, \u003ccode\u003eIMessage\u003c/code\u003e, and \u003ccode\u003eIPageRequest\u003c/code\u003e and is derived from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eIt allows for pagination through properties like \u003ccode\u003ePageSize\u003c/code\u003e and \u003ccode\u003ePageToken\u003c/code\u003e and filtering the results with the \u003ccode\u003eQuery\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResource\u003c/code\u003e property is a mandatory field and represents the name of the resource context, as defined in \u003ccode\u003eSearchCatalogsRequest.resource\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the class is \u003ccode\u003e2.0.0-beta05\u003c/code\u003e, with prior versions available at \u003ccode\u003e2.0.0-beta04\u003c/code\u003e and \u003ccode\u003e1.0.0-beta02\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Cloud Private Catalog v1beta1 API - Class SearchProductsRequest (2.0.0-beta05)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta05 (latest)](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/latest/Google.Cloud.PrivateCatalog.V1Beta1.SearchProductsRequest)\n- [2.0.0-beta04](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/2.0.0-beta04/Google.Cloud.PrivateCatalog.V1Beta1.SearchProductsRequest)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/1.0.0-beta02/Google.Cloud.PrivateCatalog.V1Beta1.SearchProductsRequest) \n\n public sealed class SearchProductsRequest : IMessage\u003cSearchProductsRequest\u003e, IEquatable\u003cSearchProductsRequest\u003e, IDeepCloneable\u003cSearchProductsRequest\u003e, IBufferMessage, IMessage, IPageRequest\n\nReference documentation and code samples for the Cloud Private Catalog v1beta1 API class SearchProductsRequest.\n\nRequest message for \\[PrivateCatalog.SearchProducts\\]\\[google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SearchProductsRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SearchProductsRequest](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/latest/Google.Cloud.PrivateCatalog.V1Beta1.SearchProductsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SearchProductsRequest](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/latest/Google.Cloud.PrivateCatalog.V1Beta1.SearchProductsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SearchProductsRequest](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/latest/Google.Cloud.PrivateCatalog.V1Beta1.SearchProductsRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html), [IPageRequest](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/PagedEnumerableCommon.cs) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.PrivateCatalog.V1Beta1](/dotnet/docs/reference/Google.Cloud.PrivateCatalog.V1Beta1/latest/Google.Cloud.PrivateCatalog.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.PrivateCatalog.V1Beta1.dll\n\nConstructors\n------------\n\n### SearchProductsRequest()\n\n public SearchProductsRequest()\n\n### SearchProductsRequest(SearchProductsRequest)\n\n public SearchProductsRequest(SearchProductsRequest other)\n\nProperties\n----------\n\n### PageSize\n\n public int PageSize { get; set; }\n\nThe maximum number of entries that are requested.\n\n### PageToken\n\n public string PageToken { get; set; }\n\nA pagination token returned from a previous call to SearchProducts that\nindicates where this listing should continue from.\n\n### Query\n\n public string Query { get; set; }\n\nThe query to filter the products.\n\nThe supported queries are:\n\n- List products of all catalogs: empty\n- List products under a catalog: `parent=catalogs/{catalog}`\n- Get a product by name: `name=catalogs/{catalog}/products/{product}`\n\n### Resource\n\n public string Resource { get; set; }\n\nRequired. The name of the resource context. See \\[SearchCatalogsRequest.resource\\]\\[google.cloud.privatecatalog.v1beta1.SearchCatalogsRequest.resource\\]\nfor details."]]