Generated from protobuf message google.cloud.discoveryengine.v1.ListDataStoresRequest
Namespace
Google \ Cloud \ DiscoveryEngine \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent branch resource name, such as projects/{project}/locations/{location}/collections/{collection_id}. If the caller does not have permission to list DataStores under this location, regardless of whether or not this data store exists, a PERMISSION_DENIED error is returned.
↳ page_size
int
Maximum number of DataStores to return. If unspecified, defaults to 10. The maximum allowed value is 50. Values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT is returned.
Filter by solution type . For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH'
getParent
Required. The parent branch resource name, such as
projects/{project}/locations/{location}/collections/{collection_id}.
If the caller does not have permission to list
DataStores under this
location, regardless of whether or not this data store exists, a
PERMISSION_DENIED error is returned.
Returns
Type
Description
string
setParent
Required. The parent branch resource name, such as
projects/{project}/locations/{location}/collections/{collection_id}.
If the caller does not have permission to list
DataStores under this
location, regardless of whether or not this data store exists, a
PERMISSION_DENIED error is returned.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Maximum number of DataStores
to return. If unspecified, defaults to 10. The maximum allowed value is 50.
Values above 50 will be coerced to 50.
If this field is negative, an INVALID_ARGUMENT is returned.
Returns
Type
Description
int
setPageSize
Maximum number of DataStores
to return. If unspecified, defaults to 10. The maximum allowed value is 50.
Values above 50 will be coerced to 50.
If this field is negative, an INVALID_ARGUMENT is returned.
When paginating, all other parameters provided to
DataStoreService.ListDataStores
must match the call that provided the page token. Otherwise, an
INVALID_ARGUMENT error is returned.
When paginating, all other parameters provided to
DataStoreService.ListDataStores
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
getFilter
Filter by solution type .
For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH'
Returns
Type
Description
string
setFilter
Filter by solution type .
For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH'
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The parent branch resource name, such as
projects/{project}/locations/{location}/collections/{collection_id}.
If the caller does not have permission to list
DataStores under this
location, regardless of whether or not this data store exists, a
PERMISSION_DENIED error is returned. Please see
DataStoreServiceClient::collectionName() 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-04 UTC."],[],[],null,["# Google Cloud Discovery Engine V1 Client - Class ListDataStoresRequest (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/php/docs/reference/cloud-discoveryengine/latest/V1.ListDataStoresRequest)\n- [1.6.1](/php/docs/reference/cloud-discoveryengine/1.6.1/V1.ListDataStoresRequest)\n- [1.5.1](/php/docs/reference/cloud-discoveryengine/1.5.1/V1.ListDataStoresRequest)\n- [1.4.0](/php/docs/reference/cloud-discoveryengine/1.4.0/V1.ListDataStoresRequest)\n- [1.3.3](/php/docs/reference/cloud-discoveryengine/1.3.3/V1.ListDataStoresRequest)\n- [1.2.0](/php/docs/reference/cloud-discoveryengine/1.2.0/V1.ListDataStoresRequest)\n- [1.1.0](/php/docs/reference/cloud-discoveryengine/1.1.0/V1.ListDataStoresRequest)\n- [1.0.0](/php/docs/reference/cloud-discoveryengine/1.0.0/V1.ListDataStoresRequest)\n- [0.11.3](/php/docs/reference/cloud-discoveryengine/0.11.3/V1.ListDataStoresRequest)\n- [0.8.0](/php/docs/reference/cloud-discoveryengine/0.8.0/V1.ListDataStoresRequest)\n- [0.7.1](/php/docs/reference/cloud-discoveryengine/0.7.1/V1.ListDataStoresRequest)\n- [0.6.0](/php/docs/reference/cloud-discoveryengine/0.6.0/V1.ListDataStoresRequest)\n- [0.5.0](/php/docs/reference/cloud-discoveryengine/0.5.0/V1.ListDataStoresRequest)\n- [0.4.0](/php/docs/reference/cloud-discoveryengine/0.4.0/V1.ListDataStoresRequest)\n- [0.3.0](/php/docs/reference/cloud-discoveryengine/0.3.0/V1.ListDataStoresRequest)\n- [0.2.0](/php/docs/reference/cloud-discoveryengine/0.2.0/V1.ListDataStoresRequest)\n- [0.1.1](/php/docs/reference/cloud-discoveryengine/0.1.1/V1.ListDataStoresRequest) \nReference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ListDataStoresRequest.\n\nRequest message for\n[DataStoreService.ListDataStores](/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DataStoreServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DataStoreServiceClient__listDataStores__)\nmethod.\n\nGenerated from protobuf message `google.cloud.discoveryengine.v1.ListDataStoresRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DiscoveryEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The parent branch resource name, such as\n`projects/{project}/locations/{location}/collections/{collection_id}`.\n\nIf the caller does not have permission to list\n[DataStore](/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore)s under this\nlocation, regardless of whether or not this data store exists, a\nPERMISSION_DENIED error is returned.\n\n### setParent\n\nRequired. The parent branch resource name, such as\n`projects/{project}/locations/{location}/collections/{collection_id}`.\n\nIf the caller does not have permission to list\n[DataStore](/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore)s under this\nlocation, regardless of whether or not this data store exists, a\nPERMISSION_DENIED error is returned.\n\n### getPageSize\n\nMaximum number of [DataStore](/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore)s\nto return. If unspecified, defaults to 10. The maximum allowed value is 50.\n\nValues above 50 will be coerced to 50.\nIf this field is negative, an INVALID_ARGUMENT is returned.\n\n### setPageSize\n\nMaximum number of [DataStore](/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore)s\nto return. If unspecified, defaults to 10. The maximum allowed value is 50.\n\nValues above 50 will be coerced to 50.\nIf this field is negative, an INVALID_ARGUMENT is returned.\n\n### getPageToken\n\nA page token\n[ListDataStoresResponse.next_page_token](/php/docs/reference/cloud-discoveryengine/latest/V1.ListDataStoresResponse#_Google_Cloud_DiscoveryEngine_V1_ListDataStoresResponse__getNextPageToken__),\nreceived from a previous\n[DataStoreService.ListDataStores](/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DataStoreServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DataStoreServiceClient__listDataStores__)\ncall. Provide this to retrieve the subsequent page.\n\nWhen paginating, all other parameters provided to\n[DataStoreService.ListDataStores](/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DataStoreServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DataStoreServiceClient__listDataStores__)\nmust match the call that provided the page token. Otherwise, an\nINVALID_ARGUMENT error is returned.\n\n### setPageToken\n\nA page token\n[ListDataStoresResponse.next_page_token](/php/docs/reference/cloud-discoveryengine/latest/V1.ListDataStoresResponse#_Google_Cloud_DiscoveryEngine_V1_ListDataStoresResponse__getNextPageToken__),\nreceived from a previous\n[DataStoreService.ListDataStores](/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DataStoreServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DataStoreServiceClient__listDataStores__)\ncall. Provide this to retrieve the subsequent page.\n\nWhen paginating, all other parameters provided to\n[DataStoreService.ListDataStores](/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DataStoreServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DataStoreServiceClient__listDataStores__)\nmust match the call that provided the page token. Otherwise, an\nINVALID_ARGUMENT error is returned.\n\n### getFilter\n\nFilter by solution type .\n\nFor example: `filter = 'solution_type:SOLUTION_TYPE_SEARCH'`\n\n### setFilter\n\nFilter by solution type .\n\nFor example: `filter = 'solution_type:SOLUTION_TYPE_SEARCH'`\n\n### static::build"]]