- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- CreatorFilter
Lists DataAgents that are accessible to the caller in a given project and location.
HTTP request
GET https://geminidataanalytics.googleapis.com/v1alpha/{parent=projects/*/locations/*}/dataAgents:listAccessible
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Parent value for ListAccessibleDataAgentsRequest. |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. |
pageToken |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
filter |
Optional. Filtering results. See AIP-160 for syntax. |
orderBy |
Optional. User specification for how to order the results. |
showDeleted |
Optional. If true, the list results will include soft-deleted DataAgents. Defaults to false. |
creatorFilter |
Optional. Filter for the creator of the agent. |
Request body
The request body must be empty.
Response body
Message for response to listing accessible DataAgents.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"dataAgents": [
{
object ( |
Fields | |
---|---|
dataAgents[] |
The list of accessible DataAgent. |
nextPageToken |
The next page token or empty if none. |
unreachable[] |
Unordered list. Locations that could not be reached. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
CreatorFilter
Filter for the creator of the agent.
Enums | |
---|---|
CREATOR_FILTER_UNSPECIFIED |
Default value. |
NONE |
No creator-specific filter will be applied. All agents will be returned. |
CREATOR_ONLY |
Only agents created by the user calling the API will be returned. |
NOT_CREATOR_ONLY |
Only agents not created by the user calling the API will be returned. |