Generated from protobuf message google.cloud.retail.v2.ListCatalogsRequest
Namespace
Google \ Cloud \ Retail \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The account resource name with an associated location. If the caller does not have permission to list Catalogs under this location, regardless of whether or not this location exists, a PERMISSION_DENIED error is returned.
↳ page_size
int
Maximum number of Catalogs to return. If unspecified, defaults to 50. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT is returned.
Required. The account resource name with an associated location.
If the caller does not have permission to list
Catalogs under this location, regardless
of whether or not this location exists, a PERMISSION_DENIED error is
returned.
Returns
Type
Description
string
setParent
Required. The account resource name with an associated location.
If the caller does not have permission to list
Catalogs under this location, regardless
of whether or not this location exists, a PERMISSION_DENIED error is
returned.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Maximum number of Catalogs to return. If
unspecified, defaults to 50. The maximum allowed value is 1000. Values
above 1000 will be coerced to 1000.
If this field is negative, an INVALID_ARGUMENT is returned.
Returns
Type
Description
int
setPageSize
Maximum number of Catalogs to return. If
unspecified, defaults to 50. The maximum allowed value is 1000. Values
above 1000 will be coerced to 1000.
If this field is negative, an INVALID_ARGUMENT is returned.
When paginating, all other parameters provided to
CatalogService.ListCatalogs
must match the call that provided the page token. Otherwise, an
INVALID_ARGUMENT error is returned.
When paginating, all other parameters provided to
CatalogService.ListCatalogs
must match the call that provided the page token. Otherwise, an
INVALID_ARGUMENT error is returned.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The account resource name with an associated location.
If the caller does not have permission to list
Catalogs under this location, regardless
of whether or not this location exists, a PERMISSION_DENIED error is
returned. Please see
CatalogServiceClient::locationName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Retail V2 Client - Class ListCatalogsRequest (2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/php/docs/reference/cloud-retail/latest/V2.ListCatalogsRequest)\n- [2.3.0](/php/docs/reference/cloud-retail/2.3.0/V2.ListCatalogsRequest)\n- [2.2.1](/php/docs/reference/cloud-retail/2.2.1/V2.ListCatalogsRequest)\n- [2.1.3](/php/docs/reference/cloud-retail/2.1.3/V2.ListCatalogsRequest)\n- [2.0.0](/php/docs/reference/cloud-retail/2.0.0/V2.ListCatalogsRequest)\n- [1.7.0](/php/docs/reference/cloud-retail/1.7.0/V2.ListCatalogsRequest)\n- [1.6.4](/php/docs/reference/cloud-retail/1.6.4/V2.ListCatalogsRequest)\n- [1.5.0](/php/docs/reference/cloud-retail/1.5.0/V2.ListCatalogsRequest)\n- [1.4.2](/php/docs/reference/cloud-retail/1.4.2/V2.ListCatalogsRequest)\n- [1.3.1](/php/docs/reference/cloud-retail/1.3.1/V2.ListCatalogsRequest)\n- [1.2.1](/php/docs/reference/cloud-retail/1.2.1/V2.ListCatalogsRequest)\n- [1.1.1](/php/docs/reference/cloud-retail/1.1.1/V2.ListCatalogsRequest)\n- [1.0.1](/php/docs/reference/cloud-retail/1.0.1/V2.ListCatalogsRequest) \nReference documentation and code samples for the Google Cloud Retail V2 Client class ListCatalogsRequest.\n\nRequest for\n[CatalogService.ListCatalogs](/php/docs/reference/cloud-retail/latest/V2.Client.CatalogServiceClient#_Google_Cloud_Retail_V2_Client_CatalogServiceClient__listCatalogs__)\nmethod.\n\nGenerated from protobuf message `google.cloud.retail.v2.ListCatalogsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Retail \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The account resource name with an associated location.\n\nIf the caller does not have permission to list\n[Catalog](/php/docs/reference/cloud-retail/latest/V2.Catalog)s under this location, regardless\nof whether or not this location exists, a PERMISSION_DENIED error is\nreturned.\n\n### setParent\n\nRequired. The account resource name with an associated location.\n\nIf the caller does not have permission to list\n[Catalog](/php/docs/reference/cloud-retail/latest/V2.Catalog)s under this location, regardless\nof whether or not this location exists, a PERMISSION_DENIED error is\nreturned.\n\n### getPageSize\n\nMaximum number of [Catalog](/php/docs/reference/cloud-retail/latest/V2.Catalog)s to return. If\nunspecified, defaults to 50. The maximum allowed value is 1000. Values\nabove 1000 will be coerced to 1000.\n\nIf this field is negative, an INVALID_ARGUMENT is returned.\n\n### setPageSize\n\nMaximum number of [Catalog](/php/docs/reference/cloud-retail/latest/V2.Catalog)s to return. If\nunspecified, defaults to 50. The maximum allowed value is 1000. Values\nabove 1000 will be coerced to 1000.\n\nIf this field is negative, an INVALID_ARGUMENT is returned.\n\n### getPageToken\n\nA page token\n[ListCatalogsResponse.next_page_token](/php/docs/reference/cloud-retail/latest/V2.ListCatalogsResponse#_Google_Cloud_Retail_V2_ListCatalogsResponse__getNextPageToken__),\nreceived from a previous\n[CatalogService.ListCatalogs](/php/docs/reference/cloud-retail/latest/V2.Client.CatalogServiceClient#_Google_Cloud_Retail_V2_Client_CatalogServiceClient__listCatalogs__)\ncall. Provide this to retrieve the subsequent page.\n\nWhen paginating, all other parameters provided to\n[CatalogService.ListCatalogs](/php/docs/reference/cloud-retail/latest/V2.Client.CatalogServiceClient#_Google_Cloud_Retail_V2_Client_CatalogServiceClient__listCatalogs__)\nmust match the call that provided the page token. Otherwise, an\nINVALID_ARGUMENT error is returned.\n\n### setPageToken\n\nA page token\n[ListCatalogsResponse.next_page_token](/php/docs/reference/cloud-retail/latest/V2.ListCatalogsResponse#_Google_Cloud_Retail_V2_ListCatalogsResponse__getNextPageToken__),\nreceived from a previous\n[CatalogService.ListCatalogs](/php/docs/reference/cloud-retail/latest/V2.Client.CatalogServiceClient#_Google_Cloud_Retail_V2_Client_CatalogServiceClient__listCatalogs__)\ncall. Provide this to retrieve the subsequent page.\n\nWhen paginating, all other parameters provided to\n[CatalogService.ListCatalogs](/php/docs/reference/cloud-retail/latest/V2.Client.CatalogServiceClient#_Google_Cloud_Retail_V2_Client_CatalogServiceClient__listCatalogs__)\nmust match the call that provided the page token. Otherwise, an\nINVALID_ARGUMENT error is returned.\n\n### static::build"]]