Method: projects.locations.collections.dataStores.controls.list
Stay organized with collections
Save and categorize content based on your preferences.
Lists all Controls by their parent DataStore
.
HTTP request
GET https://discoveryengine.googleapis.com/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/controls
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The data store resource name. Format: projects/{project}/locations/{location}/collections/{collectionId}/dataStores/{dataStoreId} or projects/{project}/locations/{location}/collections/{collectionId}/engines/{engineId} .
|
Query parameters
Parameters |
pageSize |
integer
Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.
|
pageToken |
string
Optional. A page token, received from a previous controls.list call. Provide this to retrieve the subsequent page.
|
filter |
string
Optional. A filter to apply on the list results. Supported features:
- List all the products under the parent branch if
filter is unset. Currently this field is unsupported.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListControlsResponse
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
discoveryengine.controls.list
For more information, see the IAM documentation.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-03 UTC.
[[["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-03-03 UTC."],[[["This endpoint retrieves a list of Controls associated with a specific DataStore, identified by the `parent` path parameter."],["The `parent` path parameter is required and specifies the DataStore resource name, including the project, location, collection, and dataStore ID."],["Optional query parameters `pageSize` and `pageToken` can be used to manage the number of results returned and pagination."],["The request body must be empty when using this endpoint, and a successful response will include a `ListControlsResponse`."],["Accessing this endpoint requires OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the IAM permission `discoveryengine.controls.list` on the `parent` resource."]]],[]]