- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- EntityType
- EntityTypeOperation
Fetch the entities types for a DataConnector
.
HTTP request
GET https://discoveryengine.googleapis.com/v1alpha/{name=projects/*/locations/*/collections/*/dataConnector}:FetchEntitiesTypes
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Full resource name of If the caller does not have permission to access the If the requested |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. Requested page size for number of entities to return. |
pageToken |
Optional. A page token, provided by a previous call to dataConnector.fetchEntities. Used to fetch the next page in a paginated response. |
Request body
The request body must be empty.
Response body
Response message for DataConnectorService.FetchEntitiesTypes
method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"entityTypes": [
{
object ( |
Fields | |
---|---|
entityTypes[] |
List of entity types |
nextPageToken |
A token that can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
EntityType
The type of an entity and its supported operations.
JSON representation |
---|
{
"name": string,
"operations": [
enum ( |
Fields | |
---|---|
name |
The name of this entity type. |
operations[] |
The operation supported by this entity. |
EntityTypeOperation
Operation enum contains the list of operations supported by the entity type.
Enums | |
---|---|
ENTITY_TYPE_OPERATION_UNSPECIFIED |
Operation unspecified. |
LIST |
This operation means entity type supports LIST method. |
GET |
This operation means entity type supports GET method. |
CREATE |
This operation means entity type supports CREATE method. |
UPDATE |
This operation means entity type supports UPDATE method. |
DELETE |
This operation means entity type supports DELETE method. |