Methods
-
▼
▲
dialogflow.projects.answerRecords.patch
Parameters
:
updateMask
Description
:
Required. The mask to control which fields get updated.
Location
:
query
Type
:
string
Format
:
google-fieldmask
name
Description
:
The unique identifier of this answer record. Format: `projects//locations//answerRecords/`.
Required
:
Yes
Type
:
string
Location
:
path
Pattern
:
^projects/[^/]+/answerRecords/[^/]+$
-
▼
▲
dialogflow.projects.answerRecords.list
Parameters
:
filter
Description
:
Optional. Filters to restrict results to specific answer records. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * conversation_id with equals(=) operator Examples: * `conversation_id=bar` matches answer records in the `projects/foo/locations/global/conversations/bar` conversation (assuming the parent is `projects/foo/locations/global`). For more information about filtering, see [API Filtering](https://aip.dev/160).
Type
:
string
Location
:
query
pageSize
Location
:
query
Description
:
Optional. The maximum number of records to return in a single page. The server may return fewer records than this. If unspecified, we use 10. The maximum is 100.
Type
:
integer
Format
:
int32
parent
Required
:
Yes
Type
:
string
Pattern
:
^projects/[^/]+$
Description
:
Required. The project to list all answer records for in reverse chronological order. Format: `projects//locations/`.
Location
:
path
pageToken
Description
:
Optional. The ListAnswerRecordsResponse.next_page_token value returned from a previous list request used to continue listing on the next page.
Location
:
query
Type
:
string
-
▼
▲
dialogflow.projects.conversationModels.evaluations.list
Parameters
:
pageToken
parent
Location
:
path
Description
:
Required. The conversation model resource name. Format: `projects//conversationModels/`
Pattern
:
^projects/[^/]+/conversationModels/[^/]+$
Required
:
Yes
Type
:
string
pageSize
Type
:
integer
Description
:
Optional. Maximum number of evaluations to return in a single page. By default 100 and at most 1000.
Format
:
int32
Location
:
query
-
▼
▲
dialogflow.projects.conversationModels.evaluations.get
-
▼
▲
dialogflow.projects.conversationModels.undeploy
-
▼
▲
dialogflow.projects.conversationModels.list
Parameters
:
pageSize
Description
:
Optional. Maximum number of conversation models to return in a single page. By default 100 and at most 1000.
Format
:
int32
Location
:
query
Type
:
integer
pageToken
parent
Description
:
Required. The project to list all conversation models for. Format: `projects/`
Pattern
:
^projects/[^/]+$
Type
:
string
Required
:
Yes
Location
:
path
-
▼
▲
dialogflow.projects.conversationModels.create
-
▼
▲
dialogflow.projects.conversationModels.deploy
-
▼
▲
dialogflow.projects.conversationModels.delete
-
▼
▲
dialogflow.projects.conversationModels.get
-
▼
▲
dialogflow.projects.operations.cancel
-
▼
▲
dialogflow.projects.operations.list
Parameters
:
returnPartialSuccess
Description
:
When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
Type
:
boolean
Location
:
query
filter
pageSize
pageToken
name
Pattern
:
^projects/[^/]+$
Required
:
Yes
Description
:
The name of the operation's parent resource.
Type
:
string
Location
:
path
-
▼
▲
dialogflow.projects.operations.get
-
▼
▲
dialogflow.projects.locations.getAgent
-
▼
▲
dialogflow.projects.locations.getEncryptionSpec
-
▼
▲
dialogflow.projects.locations.list
Parameters
:
extraLocationTypes
Repeated
:
Yes
Type
:
string
Location
:
query
Description
:
Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
pageSize
Location
:
query
Description
:
The maximum number of results to return. If not set, the service selects a default.
Type
:
integer
Format
:
int32
name
Description
:
The resource that owns the locations collection, if applicable.
Required
:
Yes
Pattern
:
^projects/[^/]+$
Location
:
path
Type
:
string
filter
Location
:
query
Type
:
string
Description
:
A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
pageToken
Type
:
string
Location
:
query
Description
:
A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
-
▼
▲
dialogflow.projects.locations.get
-
▼
▲
dialogflow.projects.locations.deleteAgent
-
▼
▲
dialogflow.projects.locations.setAgent
Parameters
:
parent
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+$
Type
:
string
Description
:
Required. The project of this agent. Format: `projects/`.
Required
:
Yes
updateMask
Location
:
query
Format
:
google-fieldmask
Description
:
Optional. The mask to control which fields get updated.
Type
:
string
-
▼
▲
dialogflow.projects.locations.sipTrunks.patch
Parameters
:
name
Description
:
Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`.
Pattern
:
^projects/[^/]+/locations/[^/]+/sipTrunks/[^/]+$
Location
:
path
Type
:
string
Required
:
Yes
updateMask
Type
:
string
Location
:
query
Format
:
google-fieldmask
Description
:
Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.
-
▼
▲
dialogflow.projects.locations.sipTrunks.delete
-
▼
▲
dialogflow.projects.locations.sipTrunks.create
-
▼
▲
dialogflow.projects.locations.sipTrunks.get
-
▼
▲
dialogflow.projects.locations.sipTrunks.list
Parameters
:
pageToken
parent
Required
:
Yes
Description
:
Required. The location to list SIP trunks from. Format: `projects//locations/`.
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+$
Type
:
string
pageSize
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Format
:
int32
Type
:
integer
Location
:
query
-
▼
▲
dialogflow.projects.locations.conversationDatasets.list
Parameters
:
pageSize
Description
:
Optional. Maximum number of conversation datasets to return in a single page. By default 100 and at most 1000.
Type
:
integer
Format
:
int32
Location
:
query
parent
Pattern
:
^projects/[^/]+/locations/[^/]+$
Type
:
string
Location
:
path
Required
:
Yes
Description
:
Required. The project and location name to list all conversation datasets for. Format: `projects//locations/`
pageToken
-
▼
▲
dialogflow.projects.locations.conversationDatasets.get
-
▼
▲
dialogflow.projects.locations.conversationDatasets.create
-
▼
▲
dialogflow.projects.locations.conversationDatasets.delete
-
▼
▲
dialogflow.projects.locations.conversationDatasets.importConversationData
-
▼
▲
dialogflow.projects.locations.conversationModels.evaluations.get
Parameters
:
name
Required
:
Yes
Description
:
Required. The conversation model evaluation resource name. Format: `projects//conversationModels//evaluations/`
Location
:
path
Type
:
string
Pattern
:
^projects/[^/]+/locations/[^/]+/conversationModels/[^/]+/evaluations/[^/]+$
-
▼
▲
dialogflow.projects.locations.conversationModels.evaluations.create
-
▼
▲
dialogflow.projects.locations.conversationModels.evaluations.list
Parameters
:
parent
Description
:
Required. The conversation model resource name. Format: `projects//conversationModels/`
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+/conversationModels/[^/]+$
Type
:
string
Location
:
path
pageToken
pageSize
Description
:
Optional. Maximum number of evaluations to return in a single page. By default 100 and at most 1000.
Location
:
query
Type
:
integer
Format
:
int32
-
▼
▲
dialogflow.projects.locations.conversationModels.create
-
▼
▲
dialogflow.projects.locations.conversationModels.undeploy
-
▼
▲
dialogflow.projects.locations.conversationModels.list
Parameters
:
pageSize
Location
:
query
Format
:
int32
Description
:
Optional. Maximum number of conversation models to return in a single page. By default 100 and at most 1000.
Type
:
integer
parent
Pattern
:
^projects/[^/]+/locations/[^/]+$
Type
:
string
Description
:
Required. The project to list all conversation models for. Format: `projects/`
Location
:
path
Required
:
Yes
pageToken
-
▼
▲
dialogflow.projects.locations.conversationModels.get
-
▼
▲
dialogflow.projects.locations.conversationModels.delete
-
▼
▲
dialogflow.projects.locations.conversationModels.deploy
-
▼
▲
dialogflow.projects.locations.conversationProfiles.get
-
▼
▲
dialogflow.projects.locations.conversationProfiles.delete
-
▼
▲
dialogflow.projects.locations.conversationProfiles.clearSuggestionFeatureConfig
Parameters
:
conversationProfile
Type
:
string
Pattern
:
^projects/[^/]+/locations/[^/]+/conversationProfiles/[^/]+$
Description
:
Required. The Conversation Profile to add or update the suggestion feature config. Format: `projects//locations//conversationProfiles/`.
Required
:
Yes
Location
:
path
-
▼
▲
dialogflow.projects.locations.conversationProfiles.setSuggestionFeatureConfig
Parameters
:
conversationProfile
Description
:
Required. The Conversation Profile to add or update the suggestion feature config. Format: `projects//locations//conversationProfiles/`.
Pattern
:
^projects/[^/]+/locations/[^/]+/conversationProfiles/[^/]+$
Location
:
path
Required
:
Yes
Type
:
string
-
▼
▲
dialogflow.projects.locations.conversationProfiles.list
Parameters
:
parent
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+$
Description
:
Required. The project to list all conversation profiles from. Format: `projects//locations/`.
Location
:
path
Type
:
string
pageToken
pageSize
Type
:
integer
Format
:
int32
Location
:
query
Description
:
The maximum number of items to return in a single page. By default 100 and at most 1000.
-
▼
▲
dialogflow.projects.locations.conversationProfiles.patch
Parameters
:
name
Location
:
path
Type
:
string
Pattern
:
^projects/[^/]+/locations/[^/]+/conversationProfiles/[^/]+$
Required
:
Yes
Description
:
The unique identifier of this conversation profile. Format: `projects//locations//conversationProfiles/`.
updateMask
Type
:
string
Description
:
Required. The mask to control which fields to update.
Format
:
google-fieldmask
Location
:
query
-
▼
▲
dialogflow.projects.locations.conversationProfiles.create
-
▼
▲
dialogflow.projects.locations.agent.search
Parameters
:
parent
Required
:
Yes
Type
:
string
Description
:
Required. The project to list agents from. Format: `projects/`.
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+$
pageToken
pageSize
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Format
:
int32
Type
:
integer
Location
:
query
-
▼
▲
dialogflow.projects.locations.agent.import
-
▼
▲
dialogflow.projects.locations.agent.train
-
▼
▲
dialogflow.projects.locations.agent.updateFulfillment
Parameters
:
updateMask
Location
:
query
Description
:
Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.
Type
:
string
Format
:
google-fieldmask
name
Location
:
path
Description
:
Required. The unique identifier of the fulfillment. Supported formats: - `projects//agent/fulfillment` - `projects//locations//agent/fulfillment` This field is not used for Fulfillment in an Environment.
Type
:
string
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/fulfillment$
-
▼
▲
dialogflow.projects.locations.agent.restore
-
▼
▲
dialogflow.projects.locations.agent.getValidationResult
Parameters
:
parent
Pattern
:
^projects/[^/]+/locations/[^/]+$
Location
:
path
Description
:
Required. The project that the agent is associated with. Format: `projects/`.
Type
:
string
Required
:
Yes
languageCode
Location
:
query
Description
:
Optional. The language for which you want a validation result. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
Type
:
string
-
▼
▲
dialogflow.projects.locations.agent.export
-
▼
▲
dialogflow.projects.locations.agent.getFulfillment
-
▼
▲
dialogflow.projects.locations.agent.environments.patch
-
▼
▲
dialogflow.projects.locations.agent.environments.get
Parameters
:
name
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+$
Required
:
Yes
Type
:
string
Description
:
Required. The name of the environment. Supported formats: - `projects//agent/environments/` - `projects//locations//agent/environments/` The environment ID for the default environment is `-`.
-
▼
▲
dialogflow.projects.locations.agent.environments.getHistory
Parameters
:
pageToken
pageSize
Type
:
integer
Format
:
int32
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Location
:
query
parent
Required
:
Yes
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+$
Description
:
Required. The name of the environment to retrieve history for. Supported formats: - `projects//agent/environments/` - `projects//locations//agent/environments/` The environment ID for the default environment is `-`.
Type
:
string
-
▼
▲
dialogflow.projects.locations.agent.environments.list
Parameters
:
parent
Required
:
Yes
Type
:
string
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/agent$
Description
:
Required. The agent to list all environments from. Format: - `projects//agent` - `projects//locations//agent`
pageToken
pageSize
Format
:
int32
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Location
:
query
Type
:
integer
-
▼
▲
dialogflow.projects.locations.agent.environments.create
Parameters
:
environmentId
parent
Pattern
:
^projects/[^/]+/locations/[^/]+/agent$
Required
:
Yes
Type
:
string
Description
:
Required. The agent to create an environment for. Supported formats: - `projects//agent` - `projects//locations//agent`
Location
:
path
-
▼
▲
dialogflow.projects.locations.agent.environments.delete
Parameters
:
name
Description
:
Required. The name of the environment to delete. / Format: - `projects//agent/environments/` - `projects//locations//agent/environments/` The environment ID for the default environment is `-`.
Location
:
path
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+$
Type
:
string
-
▼
▲
dialogflow.projects.locations.agent.environments.intents.list
Parameters
:
pageToken
parent
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+$
Type
:
string
Description
:
Required. The agent to list all intents from. Format: `projects//agent` or `projects//locations//agent`. Alternatively, you can specify the environment to list intents for. Format: `projects//agent/environments/` or `projects//locations//agent/environments/`. Note: training phrases of the intents will not be returned for non-draft environment.
Location
:
path
languageCode
Type
:
string
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
Location
:
query
intentView
pageSize
Format
:
int32
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Type
:
integer
Location
:
query
-
▼
▲
dialogflow.projects.locations.agent.environments.users.sessions.detectIntent
Parameters
:
session
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$
Required
:
Yes
Type
:
string
Location
:
path
Description
:
Required. The name of the session this query is sent to. Format: `projects//agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment (`Environment ID` might be referred to as environment name at some places). If `User ID` is not specified, we are using "-". It's up to the API caller to choose an appropriate `Session ID` and `User Id`. They can be a random number or some type of user and session identifiers (preferably hashed). The length of the `Session ID` and `User ID` must not exceed 36 characters. For more information, see the [API interactions guide](https://cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
-
▼
▲
dialogflow.projects.locations.agent.environments.users.sessions.deleteContexts
Parameters
:
parent
Description
:
Required. The name of the session to delete all contexts from. Format: `projects//agent/sessions/` or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$
Required
:
Yes
Type
:
string
-
▼
▲
dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.patch
Parameters
:
updateMask
Type
:
string
Format
:
google-fieldmask
Description
:
Optional. The mask to control which fields get updated.
Location
:
query
name
Description
:
Required. The unique identifier of this session entity type. Format: `projects//agent/sessions//entityTypes/`, or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$
Type
:
string
Required
:
Yes
-
▼
▲
dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.delete
Parameters
:
name
Type
:
string
Required
:
Yes
Location
:
path
Description
:
Required. The name of the entity type to delete. Format: `projects//agent/sessions//entityTypes/` or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$
-
▼
▲
dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.create
Parameters
:
parent
Required
:
Yes
Type
:
string
Description
:
Required. The session to create a session entity type for. Format: `projects//agent/sessions/` or `projects//agent/environments//users// sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$
-
▼
▲
dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.get
Parameters
:
name
Type
:
string
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$
Description
:
Required. The name of the session entity type. Format: `projects//agent/sessions//entityTypes/` or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Location
:
path
-
▼
▲
dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.list
Parameters
:
pageToken
parent
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$
Required
:
Yes
Type
:
string
Location
:
path
Description
:
Required. The session to list all session entity types from. Format: `projects//agent/sessions/` or `projects//agent/environments//users// sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
pageSize
Type
:
integer
Location
:
query
Format
:
int32
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
-
▼
▲
dialogflow.projects.locations.agent.environments.users.sessions.contexts.list
Parameters
:
parent
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$
Description
:
Required. The session to list all contexts from. Format: `projects//agent/sessions/` or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Type
:
string
Location
:
path
pageSize
Format
:
int32
Type
:
integer
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Location
:
query
pageToken
-
▼
▲
dialogflow.projects.locations.agent.environments.users.sessions.contexts.delete
Parameters
:
name
Required
:
Yes
Location
:
path
Type
:
string
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$
Description
:
Required. The name of the context to delete. Format: `projects//agent/sessions//contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
-
▼
▲
dialogflow.projects.locations.agent.environments.users.sessions.contexts.patch
Parameters
:
name
Type
:
string
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$
Location
:
path
Required
:
Yes
Description
:
Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
updateMask
Location
:
query
Format
:
google-fieldmask
Description
:
Optional. The mask to control which fields get updated.
Type
:
string
-
▼
▲
dialogflow.projects.locations.agent.environments.users.sessions.contexts.get
Parameters
:
name
Required
:
Yes
Description
:
Required. The name of the context. Format: `projects//agent/sessions//contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$
Type
:
string
-
▼
▲
dialogflow.projects.locations.agent.environments.users.sessions.contexts.create
Parameters
:
parent
Type
:
string
Required
:
Yes
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$
Description
:
Required. The session to create a context for. Format: `projects//agent/sessions/` or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
-
▼
▲
dialogflow.projects.locations.agent.intents.patch
Parameters
:
updateMask
Description
:
Optional. The mask to control which fields get updated.
Format
:
google-fieldmask
Location
:
query
Type
:
string
name
Location
:
path
Required
:
Yes
Description
:
Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format: `projects//agent/intents/`.
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/intents/[^/]+$
Type
:
string
intentView
languageCode
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
Type
:
string
Location
:
query
-
▼
▲
dialogflow.projects.locations.agent.intents.delete
Parameters
:
name
Required
:
Yes
Type
:
string
Description
:
Required. The name of the intent to delete. If this intent has direct or indirect followup intents, we also delete them. Format: `projects//agent/intents/`.
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/intents/[^/]+$
-
▼
▲
dialogflow.projects.locations.agent.intents.batchDelete
-
▼
▲
dialogflow.projects.locations.agent.intents.create
Parameters
:
intentView
languageCode
Type
:
string
Location
:
query
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
parent
Pattern
:
^projects/[^/]+/locations/[^/]+/agent$
Required
:
Yes
Type
:
string
Description
:
Required. The agent to create a intent for. Format: `projects//agent`.
Location
:
path
-
▼
▲
dialogflow.projects.locations.agent.intents.batchUpdate
-
▼
▲
dialogflow.projects.locations.agent.intents.list
Parameters
:
pageToken
languageCode
Type
:
string
Location
:
query
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
pageSize
Type
:
integer
Location
:
query
Format
:
int32
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
intentView
parent
Description
:
Required. The agent to list all intents from. Format: `projects//agent` or `projects//locations//agent`. Alternatively, you can specify the environment to list intents for. Format: `projects//agent/environments/` or `projects//locations//agent/environments/`. Note: training phrases of the intents will not be returned for non-draft environment.
Type
:
string
Location
:
path
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+/agent$
-
▼
▲
dialogflow.projects.locations.agent.intents.get
Parameters
:
intentView
name
Location
:
path
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/intents/[^/]+$
Description
:
Required. The name of the intent. Format: `projects//agent/intents/`.
Type
:
string
languageCode
Location
:
query
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
Type
:
string
-
▼
▲
dialogflow.projects.locations.agent.entityTypes.entities.batchCreate
-
▼
▲
dialogflow.projects.locations.agent.entityTypes.entities.batchDelete
-
▼
▲
dialogflow.projects.locations.agent.entityTypes.entities.batchUpdate
-
▼
▲
dialogflow.projects.locations.agent.entityTypes.batchDelete
-
▼
▲
dialogflow.projects.locations.agent.entityTypes.patch
Parameters
:
name
Required
:
Yes
Type
:
string
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/entityTypes/[^/]+$
Description
:
The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: `projects//agent/entityTypes/`.
Location
:
path
languageCode
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
Location
:
query
Type
:
string
updateMask
Location
:
query
Format
:
google-fieldmask
Type
:
string
Description
:
Optional. The mask to control which fields get updated.
-
▼
▲
dialogflow.projects.locations.agent.entityTypes.batchUpdate
-
▼
▲
dialogflow.projects.locations.agent.entityTypes.delete
-
▼
▲
dialogflow.projects.locations.agent.entityTypes.list
Parameters
:
languageCode
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
Type
:
string
Location
:
query
pageToken
pageSize
Location
:
query
Format
:
int32
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Type
:
integer
parent
Type
:
string
Location
:
path
Description
:
Required. The agent to list all entity types from. Format: `projects//agent`.
Pattern
:
^projects/[^/]+/locations/[^/]+/agent$
Required
:
Yes
-
▼
▲
dialogflow.projects.locations.agent.entityTypes.create
Parameters
:
parent
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/agent$
Description
:
Required. The agent to create a entity type for. Format: `projects//agent`.
Type
:
string
Required
:
Yes
languageCode
Location
:
query
Type
:
string
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
-
▼
▲
dialogflow.projects.locations.agent.entityTypes.get
Parameters
:
name
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/entityTypes/[^/]+$
Required
:
Yes
Location
:
path
Type
:
string
Description
:
Required. The name of the entity type. Format: `projects//agent/entityTypes/`.
languageCode
Type
:
string
Location
:
query
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
-
▼
▲
dialogflow.projects.locations.agent.sessions.entityTypes.create
Parameters
:
parent
Location
:
path
Description
:
Required. The session to create a session entity type for. Format: `projects//agent/sessions/` or `projects//agent/environments//users// sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Required
:
Yes
Type
:
string
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$
-
▼
▲
dialogflow.projects.locations.agent.sessions.entityTypes.delete
Parameters
:
name
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$
Required
:
Yes
Description
:
Required. The name of the entity type to delete. Format: `projects//agent/sessions//entityTypes/` or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Type
:
string
Location
:
path
-
▼
▲
dialogflow.projects.locations.agent.sessions.entityTypes.list
Parameters
:
pageToken
pageSize
Type
:
integer
Format
:
int32
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Location
:
query
parent
Description
:
Required. The session to list all session entity types from. Format: `projects//agent/sessions/` or `projects//agent/environments//users// sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Location
:
path
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$
Type
:
string
-
▼
▲
dialogflow.projects.locations.agent.sessions.entityTypes.get
Parameters
:
name
Type
:
string
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$
Required
:
Yes
Location
:
path
Description
:
Required. The name of the session entity type. Format: `projects//agent/sessions//entityTypes/` or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
-
▼
▲
dialogflow.projects.locations.agent.sessions.entityTypes.patch
Parameters
:
name
Type
:
string
Location
:
path
Description
:
Required. The unique identifier of this session entity type. Format: `projects//agent/sessions//entityTypes/`, or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$
Required
:
Yes
updateMask
Format
:
google-fieldmask
Location
:
query
Description
:
Optional. The mask to control which fields get updated.
Type
:
string
-
▼
▲
dialogflow.projects.locations.agent.sessions.contexts.patch
Parameters
:
name
Description
:
Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$
Location
:
path
Type
:
string
Required
:
Yes
updateMask
Location
:
query
Description
:
Optional. The mask to control which fields get updated.
Type
:
string
Format
:
google-fieldmask
-
▼
▲
dialogflow.projects.locations.agent.sessions.contexts.delete
Parameters
:
name
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$
Type
:
string
Description
:
Required. The name of the context to delete. Format: `projects//agent/sessions//contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Location
:
path
Required
:
Yes
-
▼
▲
dialogflow.projects.locations.agent.sessions.contexts.list
Parameters
:
parent
Type
:
string
Description
:
Required. The session to list all contexts from. Format: `projects//agent/sessions/` or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Required
:
Yes
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$
pageToken
pageSize
Format
:
int32
Type
:
integer
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Location
:
query
-
▼
▲
dialogflow.projects.locations.agent.sessions.contexts.get
Parameters
:
name
Type
:
string
Location
:
path
Description
:
Required. The name of the context. Format: `projects//agent/sessions//contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$
Required
:
Yes
-
▼
▲
dialogflow.projects.locations.agent.sessions.contexts.create
Parameters
:
parent
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$
Description
:
Required. The session to create a context for. Format: `projects//agent/sessions/` or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Location
:
path
Required
:
Yes
Type
:
string
-
▼
▲
dialogflow.projects.locations.agent.sessions.detectIntent
Parameters
:
session
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$
Location
:
path
Description
:
Required. The name of the session this query is sent to. Format: `projects//agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment (`Environment ID` might be referred to as environment name at some places). If `User ID` is not specified, we are using "-". It's up to the API caller to choose an appropriate `Session ID` and `User Id`. They can be a random number or some type of user and session identifiers (preferably hashed). The length of the `Session ID` and `User ID` must not exceed 36 characters. For more information, see the [API interactions guide](https://cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
Required
:
Yes
Type
:
string
-
▼
▲
dialogflow.projects.locations.agent.sessions.deleteContexts
Parameters
:
parent
Required
:
Yes
Location
:
path
Type
:
string
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/sessions/[^/]+$
Description
:
Required. The name of the session to delete all contexts from. Format: `projects//agent/sessions/` or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
-
▼
▲
dialogflow.projects.locations.agent.versions.list
Parameters
:
parent
Required
:
Yes
Description
:
Required. The agent to list all versions from. Supported formats: - `projects//agent` - `projects//locations//agent`
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/agent$
Type
:
string
pageToken
pageSize
Format
:
int32
Type
:
integer
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Location
:
query
-
▼
▲
dialogflow.projects.locations.agent.versions.patch
Parameters
:
name
Description
:
Output only. The unique identifier of this agent version. Supported formats: - `projects//agent/versions/` - `projects//locations//agent/versions/`
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/versions/[^/]+$
Required
:
Yes
Type
:
string
Location
:
path
updateMask
Location
:
query
Description
:
Required. The mask to control which fields get updated.
Type
:
string
Format
:
google-fieldmask
-
▼
▲
dialogflow.projects.locations.agent.versions.get
Parameters
:
name
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/versions/[^/]+$
Required
:
Yes
Type
:
string
Location
:
path
Description
:
Required. The name of the version. Supported formats: - `projects//agent/versions/` - `projects//locations//agent/versions/`
-
▼
▲
dialogflow.projects.locations.agent.versions.create
-
▼
▲
dialogflow.projects.locations.agent.versions.delete
Parameters
:
name
Pattern
:
^projects/[^/]+/locations/[^/]+/agent/versions/[^/]+$
Location
:
path
Type
:
string
Required
:
Yes
Description
:
Required. The name of the version to delete. Supported formats: - `projects//agent/versions/` - `projects//locations//agent/versions/`
-
▼
▲
dialogflow.projects.locations.conversations.create
Parameters
:
conversationId
Description
:
Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression formula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is responsible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.
Location
:
query
Type
:
string
parent
Pattern
:
^projects/[^/]+/locations/[^/]+$
Type
:
string
Description
:
Required. Resource identifier of the project creating the conversation. Format: `projects//locations/`.
Location
:
path
Required
:
Yes
-
▼
▲
dialogflow.projects.locations.conversations.complete
-
▼
▲
dialogflow.projects.locations.conversations.get
-
▼
▲
dialogflow.projects.locations.conversations.list
Parameters
:
filter
Location
:
query
Type
:
string
Description
:
Optional. A filter expression that filters conversations listed in the response. Only `lifecycle_state` can be filtered on in this way. For example, the following expression only returns `COMPLETED` conversations: `lifecycle_state = "COMPLETED"` For more information about filtering, see [API Filtering](https://aip.dev/160).
parent
Required
:
Yes
Description
:
Required. The project from which to list all conversation. Format: `projects//locations/`.
Type
:
string
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+$
pageSize
Type
:
integer
Format
:
int32
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Location
:
query
pageToken
-
▼
▲
dialogflow.projects.locations.conversations.ingestContextReferences
Parameters
:
conversation
Location
:
path
Type
:
string
Required
:
Yes
Description
:
Required. Resource identifier of the conversation to ingest context information for. Format: `projects//locations//conversations/`.
Pattern
:
^projects/[^/]+/locations/[^/]+/conversations/[^/]+$
-
▼
▲
dialogflow.projects.locations.conversations.suggestions.generate
Parameters
:
conversation
Location
:
path
Type
:
string
Required
:
Yes
Description
:
Required. The conversation for which the suggestions are generated. Format: `projects//locations//conversations/`. The conversation must be created with a conversation profile which has generators configured in it to be able to get suggestions.
Pattern
:
^projects/[^/]+/locations/[^/]+/conversations/[^/]+$
-
▼
▲
dialogflow.projects.locations.conversations.suggestions.suggestConversationSummary
-
▼
▲
dialogflow.projects.locations.conversations.suggestions.searchKnowledge
Parameters
:
conversation
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+/conversations/[^/]+$
Description
:
Optional. The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`.
Location
:
path
Type
:
string
-
▼
▲
dialogflow.projects.locations.conversations.participants.patch
Parameters
:
updateMask
Location
:
query
Description
:
Required. The mask to specify which fields to update.
Format
:
google-fieldmask
Type
:
string
name
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$
Type
:
string
Required
:
Yes
Description
:
Optional. The unique identifier of this participant. Format: `projects//locations//conversations//participants/`.
-
▼
▲
dialogflow.projects.locations.conversations.participants.get
-
▼
▲
dialogflow.projects.locations.conversations.participants.analyzeContent
Parameters
:
participant
Location
:
path
Type
:
string
Pattern
:
^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$
Required
:
Yes
Description
:
Required. The name of the participant this text comes from. Format: `projects//locations//conversations//participants/`.
-
▼
▲
dialogflow.projects.locations.conversations.participants.create
-
▼
▲
dialogflow.projects.locations.conversations.participants.list
Parameters
:
parent
Type
:
string
Required
:
Yes
Description
:
Required. The conversation to list all participants from. Format: `projects//locations//conversations/`.
Pattern
:
^projects/[^/]+/locations/[^/]+/conversations/[^/]+$
Location
:
path
pageToken
pageSize
Format
:
int32
Type
:
integer
Location
:
query
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
-
▼
▲
dialogflow.projects.locations.conversations.participants.suggestions.suggestArticles
Parameters
:
parent
Required
:
Yes
Type
:
string
Description
:
Required. The name of the participant to fetch suggestion for. Format: `projects//locations//conversations//participants/`.
Pattern
:
^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$
Location
:
path
-
▼
▲
dialogflow.projects.locations.conversations.participants.suggestions.suggestFaqAnswers
Parameters
:
parent
Description
:
Required. The name of the participant to fetch suggestion for. Format: `projects//locations//conversations//participants/`.
Type
:
string
Location
:
path
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$
-
▼
▲
dialogflow.projects.locations.conversations.participants.suggestions.suggestKnowledgeAssist
Parameters
:
parent
Type
:
string
Location
:
path
Description
:
Required. The name of the participant to fetch suggestions for. Format: `projects//locations//conversations//participants/`.
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$
-
▼
▲
dialogflow.projects.locations.conversations.participants.suggestions.suggestSmartReplies
Parameters
:
parent
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$
Required
:
Yes
Description
:
Required. The name of the participant to fetch suggestion for. Format: `projects//locations//conversations//participants/`.
Type
:
string
-
▼
▲
dialogflow.projects.locations.conversations.messages.list
Parameters
:
pageToken
parent
Location
:
path
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+/conversations/[^/]+$
Type
:
string
Description
:
Required. The name of the conversation to list messages for. Format: `projects//locations//conversations/`
filter
Description
:
Optional. Filter on message fields. Currently predicates on `create_time` and `create_time_epoch_microseconds` are supported. `create_time` only support milliseconds accuracy. E.g., `create_time_epoch_microseconds > 1551790877964485` or `create_time > 2017-01-15T01:30:15.01Z`. For more information about filtering, see [API Filtering](https://aip.dev/160).
Location
:
query
Type
:
string
pageSize
Type
:
integer
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Location
:
query
Format
:
int32
-
▼
▲
dialogflow.projects.locations.suggestions.searchKnowledge
-
▼
▲
dialogflow.projects.locations.suggestions.generateStatelessSummary
-
▼
▲
dialogflow.projects.locations.knowledgeBases.patch
Parameters
:
name
Required
:
Yes
Description
:
The knowledge base resource name. The name must be empty when creating a knowledge base. Format: `projects//locations//knowledgeBases/`.
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+$
Type
:
string
updateMask
Format
:
google-fieldmask
Type
:
string
Description
:
Optional. Not specified means `update all`. Currently, only `display_name` can be updated, an InvalidArgument will be returned for attempting to update other fields.
Location
:
query
-
▼
▲
dialogflow.projects.locations.knowledgeBases.delete
Parameters
:
name
Description
:
Required. The name of the knowledge base to delete. Format: `projects//locations//knowledgeBases/`.
Type
:
string
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+$
Required
:
Yes
force
Type
:
boolean
Location
:
query
Description
:
Optional. Force deletes the knowledge base. When set to true, any documents in the knowledge base are also deleted.
-
▼
▲
dialogflow.projects.locations.knowledgeBases.get
-
▼
▲
dialogflow.projects.locations.knowledgeBases.list
Parameters
:
pageSize
Format
:
int32
Location
:
query
Description
:
The maximum number of items to return in a single page. By default 10 and at most 100.
Type
:
integer
parent
Type
:
string
Description
:
Required. The project to list of knowledge bases for. Format: `projects//locations/`.
Location
:
path
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+$
pageToken
filter
Location
:
query
Type
:
string
Description
:
The filter expression used to filter knowledge bases returned by the list method. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * display_name with has(:) operator * language_code with equals(=) operator Examples: * 'language_code=en-us' matches knowledge bases with en-us language code. * 'display_name:articles' matches knowledge bases whose display name contains "articles". * 'display_name:"Best Articles"' matches knowledge bases whose display name contains "Best Articles". * 'language_code=en-gb AND display_name=articles' matches all knowledge bases whose display name contains "articles" and whose language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op and will result in no filtering. For more information about filtering, see [API Filtering](https://aip.dev/160).
-
▼
▲
dialogflow.projects.locations.knowledgeBases.create
-
▼
▲
dialogflow.projects.locations.knowledgeBases.documents.get
-
▼
▲
dialogflow.projects.locations.knowledgeBases.documents.reload
-
▼
▲
dialogflow.projects.locations.knowledgeBases.documents.delete
-
▼
▲
dialogflow.projects.locations.knowledgeBases.documents.export
-
▼
▲
dialogflow.projects.locations.knowledgeBases.documents.patch
Parameters
:
updateMask
Format
:
google-fieldmask
Type
:
string
Location
:
query
Description
:
Optional. Not specified means `update all`. Currently, only `display_name` can be updated, an InvalidArgument will be returned for attempting to update other fields.
name
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$
Type
:
string
Description
:
Optional. The document resource name. The name must be empty when creating a document. Format: `projects//locations//knowledgeBases//documents/`.
Location
:
path
-
▼
▲
dialogflow.projects.locations.knowledgeBases.documents.import
-
▼
▲
dialogflow.projects.locations.knowledgeBases.documents.list
Parameters
:
parent
Location
:
path
Description
:
Required. The knowledge base to list all documents for. Format: `projects//locations//knowledgeBases/`.
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+$
Type
:
string
pageSize
Format
:
int32
Type
:
integer
Location
:
query
Description
:
The maximum number of items to return in a single page. By default 10 and at most 100.
pageToken
filter
Location
:
query
Type
:
string
Description
:
The filter expression used to filter documents returned by the list method. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * knowledge_types with has(:) operator * display_name with has(:) operator * state with equals(=) operator Examples: * "knowledge_types:FAQ" matches documents with FAQ knowledge type. * "display_name:customer" matches documents whose display name contains "customer". * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ AND state=ACTIVE" matches all active FAQ documents. For more information about filtering, see [API Filtering](https://aip.dev/160).
-
▼
▲
dialogflow.projects.locations.knowledgeBases.documents.create
-
▼
▲
dialogflow.projects.locations.statelessSuggestion.generate
-
▼
▲
dialogflow.projects.locations.generators.list
Parameters
:
pageSize
Format
:
int32
Location
:
query
Description
:
Optional. Maximum number of conversation models to return in a single page. Default to 10.
Type
:
integer
pageToken
parent
Location
:
path
Description
:
Required. The project/location to list generators for. Format: `projects//locations/`
Type
:
string
Pattern
:
^projects/[^/]+/locations/[^/]+$
Required
:
Yes
-
▼
▲
dialogflow.projects.locations.generators.delete
-
▼
▲
dialogflow.projects.locations.generators.get
-
▼
▲
dialogflow.projects.locations.generators.create
Parameters
:
parent
Required
:
Yes
Description
:
Required. The project/location to create generator for. Format: `projects//locations/`
Type
:
string
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+$
generatorId
Location
:
query
Type
:
string
Description
:
Optional. The ID to use for the generator, which will become the final component of the generator's resource name. The generator ID must be compliant with the regression formula `a-zA-Z*` with the characters length in range of [3,64]. If the field is not provided, an Id will be auto-generated. If the field is provided, the caller is responsible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.
-
▼
▲
dialogflow.projects.locations.generators.patch
Parameters
:
name
Location
:
path
Description
:
Output only. Identifier. The resource name of the generator. Format: `projects//locations//generators/`
Pattern
:
^projects/[^/]+/locations/[^/]+/generators/[^/]+$
Required
:
Yes
Type
:
string
updateMask
Location
:
query
Description
:
Optional. The list of fields to update.
Type
:
string
Format
:
google-fieldmask
-
▼
▲
dialogflow.projects.locations.generators.evaluations.delete
-
▼
▲
dialogflow.projects.locations.generators.evaluations.get
-
▼
▲
dialogflow.projects.locations.generators.evaluations.list
Parameters
:
parent
Type
:
string
Required
:
Yes
Description
:
Required. The generator resource name. Format: `projects//locations//generators/` Wildcard value `-` is supported on generator_id to list evaluations across all generators under same project.
Pattern
:
^projects/[^/]+/locations/[^/]+/generators/[^/]+$
Location
:
path
pageSize
Location
:
query
Type
:
integer
Description
:
Optional. Maximum number of evaluations to return in a single page. By default 100 and at most 1000.
Format
:
int32
pageToken
-
▼
▲
dialogflow.projects.locations.generators.evaluations.create
-
▼
▲
dialogflow.projects.locations.tools.create
Parameters
:
parent
Type
:
string
Location
:
path
Description
:
Required. The project/location to create tool for. Format: `projects//locations/`
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+$
toolId
Description
:
Optional. The ID to use for the tool, which will become the final component of the tool's resource name. The tool ID must be compliant with the regression formula `a-zA-Z*` with the characters length in range of [3,64]. If the field is not provide, an Id will be auto-generated. If the field is provided, the caller is responsible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.
Type
:
string
Location
:
query
-
▼
▲
dialogflow.projects.locations.tools.list
Parameters
:
parent
Description
:
Required. The project/location to list tools for. Format: `projects//locations/`
Pattern
:
^projects/[^/]+/locations/[^/]+$
Location
:
path
Required
:
Yes
Type
:
string
pageSize
Location
:
query
Description
:
Optional. Maximum number of conversation models to return in a single page. Default to 10.
Type
:
integer
Format
:
int32
pageToken
-
▼
▲
dialogflow.projects.locations.tools.get
-
▼
▲
dialogflow.projects.locations.tools.delete
-
▼
▲
dialogflow.projects.locations.tools.patch
Parameters
:
updateMask
Format
:
google-fieldmask
Location
:
query
Description
:
Optional. The list of fields to update.
Type
:
string
name
Pattern
:
^projects/[^/]+/locations/[^/]+/tools/[^/]+$
Description
:
Output only. Identifier. The resource name of the tool. Format: `projects//locations//tools/`.
Type
:
string
Required
:
Yes
Location
:
path
-
▼
▲
dialogflow.projects.locations.answerRecords.list
Parameters
:
parent
Type
:
string
Description
:
Required. The project to list all answer records for in reverse chronological order. Format: `projects//locations/`.
Location
:
path
Required
:
Yes
Pattern
:
^projects/[^/]+/locations/[^/]+$
pageToken
Type
:
string
Location
:
query
Description
:
Optional. The ListAnswerRecordsResponse.next_page_token value returned from a previous list request used to continue listing on the next page.
pageSize
Type
:
integer
Format
:
int32
Location
:
query
Description
:
Optional. The maximum number of records to return in a single page. The server may return fewer records than this. If unspecified, we use 10. The maximum is 100.
filter
Location
:
query
Description
:
Optional. Filters to restrict results to specific answer records. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * conversation_id with equals(=) operator Examples: * `conversation_id=bar` matches answer records in the `projects/foo/locations/global/conversations/bar` conversation (assuming the parent is `projects/foo/locations/global`). For more information about filtering, see [API Filtering](https://aip.dev/160).
Type
:
string
-
▼
▲
dialogflow.projects.locations.answerRecords.patch
Parameters
:
name
Pattern
:
^projects/[^/]+/locations/[^/]+/answerRecords/[^/]+$
Type
:
string
Required
:
Yes
Description
:
The unique identifier of this answer record. Format: `projects//locations//answerRecords/`.
Location
:
path
updateMask
Format
:
google-fieldmask
Location
:
query
Type
:
string
Description
:
Required. The mask to control which fields get updated.
-
▼
▲
dialogflow.projects.locations.operations.get
-
▼
▲
dialogflow.projects.locations.operations.list
Parameters
:
pageSize
filter
pageToken
name
Required
:
Yes
Type
:
string
Description
:
The name of the operation's parent resource.
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+$
returnPartialSuccess
Location
:
query
Description
:
When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
Type
:
boolean
-
▼
▲
dialogflow.projects.locations.operations.cancel
-
▼
▲
dialogflow.projects.locations.encryptionSpec.initialize
Parameters
:
name
Description
:
Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec
Type
:
string
Location
:
path
Pattern
:
^projects/[^/]+/locations/[^/]+/encryptionSpec$
Required
:
Yes
-
▼
▲
dialogflow.projects.suggestions.generateStatelessSummary
-
▼
▲
dialogflow.projects.suggestions.searchKnowledge
-
▼
▲
dialogflow.projects.conversationDatasets.get
-
▼
▲
dialogflow.projects.conversationDatasets.importConversationData
-
▼
▲
dialogflow.projects.conversationDatasets.list
Parameters
:
pageToken
parent
Pattern
:
^projects/[^/]+$
Description
:
Required. The project and location name to list all conversation datasets for. Format: `projects//locations/`
Type
:
string
Location
:
path
Required
:
Yes
pageSize
Type
:
integer
Format
:
int32
Location
:
query
Description
:
Optional. Maximum number of conversation datasets to return in a single page. By default 100 and at most 1000.
-
▼
▲
dialogflow.projects.generators.list
Parameters
:
pageToken
pageSize
Location
:
query
Description
:
Optional. Maximum number of conversation models to return in a single page. Default to 10.
Format
:
int32
Type
:
integer
parent
Location
:
path
Required
:
Yes
Pattern
:
^projects/[^/]+$
Type
:
string
Description
:
Required. The project/location to list generators for. Format: `projects//locations/`
-
▼
▲
dialogflow.projects.generators.create
Parameters
:
parent
Location
:
path
Type
:
string
Required
:
Yes
Pattern
:
^projects/[^/]+$
Description
:
Required. The project/location to create generator for. Format: `projects//locations/`
generatorId
Location
:
query
Description
:
Optional. The ID to use for the generator, which will become the final component of the generator's resource name. The generator ID must be compliant with the regression formula `a-zA-Z*` with the characters length in range of [3,64]. If the field is not provided, an Id will be auto-generated. If the field is provided, the caller is responsible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.
Type
:
string
-
▼
▲
dialogflow.projects.conversations.create
Parameters
:
parent
Type
:
string
Required
:
Yes
Description
:
Required. Resource identifier of the project creating the conversation. Format: `projects//locations/`.
Pattern
:
^projects/[^/]+$
Location
:
path
conversationId
Type
:
string
Description
:
Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression formula `a-zA-Z*` with the characters length in range of [3,64]. If the field is provided, the caller is responsible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.
Location
:
query
-
▼
▲
dialogflow.projects.conversations.list
Parameters
:
pageSize
Format
:
int32
Location
:
query
Type
:
integer
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
pageToken
parent
Required
:
Yes
Location
:
path
Type
:
string
Description
:
Required. The project from which to list all conversation. Format: `projects//locations/`.
Pattern
:
^projects/[^/]+$
filter
Location
:
query
Description
:
Optional. A filter expression that filters conversations listed in the response. Only `lifecycle_state` can be filtered on in this way. For example, the following expression only returns `COMPLETED` conversations: `lifecycle_state = "COMPLETED"` For more information about filtering, see [API Filtering](https://aip.dev/160).
Type
:
string
-
▼
▲
dialogflow.projects.conversations.get
-
▼
▲
dialogflow.projects.conversations.complete
-
▼
▲
dialogflow.projects.conversations.participants.create
-
▼
▲
dialogflow.projects.conversations.participants.get
-
▼
▲
dialogflow.projects.conversations.participants.analyzeContent
-
▼
▲
dialogflow.projects.conversations.participants.list
Parameters
:
pageToken
parent
Pattern
:
^projects/[^/]+/conversations/[^/]+$
Description
:
Required. The conversation to list all participants from. Format: `projects//locations//conversations/`.
Required
:
Yes
Location
:
path
Type
:
string
pageSize
Location
:
query
Format
:
int32
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Type
:
integer
-
▼
▲
dialogflow.projects.conversations.participants.patch
Parameters
:
name
Type
:
string
Required
:
Yes
Location
:
path
Pattern
:
^projects/[^/]+/conversations/[^/]+/participants/[^/]+$
Description
:
Optional. The unique identifier of this participant. Format: `projects//locations//conversations//participants/`.
updateMask
Type
:
string
Description
:
Required. The mask to specify which fields to update.
Format
:
google-fieldmask
Location
:
query
-
▼
▲
dialogflow.projects.conversations.participants.suggestions.suggestFaqAnswers
Parameters
:
parent
Required
:
Yes
Location
:
path
Type
:
string
Description
:
Required. The name of the participant to fetch suggestion for. Format: `projects//locations//conversations//participants/`.
Pattern
:
^projects/[^/]+/conversations/[^/]+/participants/[^/]+$
-
▼
▲
dialogflow.projects.conversations.participants.suggestions.suggestArticles
Parameters
:
parent
Description
:
Required. The name of the participant to fetch suggestion for. Format: `projects//locations//conversations//participants/`.
Required
:
Yes
Pattern
:
^projects/[^/]+/conversations/[^/]+/participants/[^/]+$
Location
:
path
Type
:
string
-
▼
▲
dialogflow.projects.conversations.participants.suggestions.suggestSmartReplies
Parameters
:
parent
Type
:
string
Description
:
Required. The name of the participant to fetch suggestion for. Format: `projects//locations//conversations//participants/`.
Pattern
:
^projects/[^/]+/conversations/[^/]+/participants/[^/]+$
Required
:
Yes
Location
:
path
-
▼
▲
dialogflow.projects.conversations.participants.suggestions.suggestKnowledgeAssist
Parameters
:
parent
Description
:
Required. The name of the participant to fetch suggestions for. Format: `projects//locations//conversations//participants/`.
Pattern
:
^projects/[^/]+/conversations/[^/]+/participants/[^/]+$
Location
:
path
Required
:
Yes
Type
:
string
-
▼
▲
dialogflow.projects.conversations.messages.list
Parameters
:
pageSize
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Format
:
int32
Location
:
query
Type
:
integer
filter
Location
:
query
Type
:
string
Description
:
Optional. Filter on message fields. Currently predicates on `create_time` and `create_time_epoch_microseconds` are supported. `create_time` only support milliseconds accuracy. E.g., `create_time_epoch_microseconds > 1551790877964485` or `create_time > 2017-01-15T01:30:15.01Z`. For more information about filtering, see [API Filtering](https://aip.dev/160).
parent
Location
:
path
Pattern
:
^projects/[^/]+/conversations/[^/]+$
Description
:
Required. The name of the conversation to list messages for. Format: `projects//locations//conversations/`
Required
:
Yes
Type
:
string
pageToken
-
▼
▲
dialogflow.projects.conversations.suggestions.generate
Parameters
:
conversation
Location
:
path
Pattern
:
^projects/[^/]+/conversations/[^/]+$
Description
:
Required. The conversation for which the suggestions are generated. Format: `projects//locations//conversations/`. The conversation must be created with a conversation profile which has generators configured in it to be able to get suggestions.
Type
:
string
Required
:
Yes
-
▼
▲
dialogflow.projects.conversations.suggestions.suggestConversationSummary
-
▼
▲
dialogflow.projects.conversations.suggestions.searchKnowledge
Parameters
:
conversation
Required
:
Yes
Description
:
Optional. The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`.
Type
:
string
Pattern
:
^projects/[^/]+/conversations/[^/]+$
Location
:
path
-
▼
▲
dialogflow.projects.conversationProfiles.patch
Parameters
:
updateMask
Description
:
Required. The mask to control which fields to update.
Format
:
google-fieldmask
Type
:
string
Location
:
query
name
Pattern
:
^projects/[^/]+/conversationProfiles/[^/]+$
Location
:
path
Type
:
string
Description
:
The unique identifier of this conversation profile. Format: `projects//locations//conversationProfiles/`.
Required
:
Yes
-
▼
▲
dialogflow.projects.conversationProfiles.get
-
▼
▲
dialogflow.projects.conversationProfiles.delete
-
▼
▲
dialogflow.projects.conversationProfiles.list
Parameters
:
pageSize
Format
:
int32
Location
:
query
Description
:
The maximum number of items to return in a single page. By default 100 and at most 1000.
Type
:
integer
pageToken
parent
Description
:
Required. The project to list all conversation profiles from. Format: `projects//locations/`.
Location
:
path
Pattern
:
^projects/[^/]+$
Type
:
string
Required
:
Yes
-
▼
▲
dialogflow.projects.conversationProfiles.create
-
▼
▲
dialogflow.projects.conversationProfiles.clearSuggestionFeatureConfig
Parameters
:
conversationProfile
Required
:
Yes
Description
:
Required. The Conversation Profile to add or update the suggestion feature config. Format: `projects//locations//conversationProfiles/`.
Pattern
:
^projects/[^/]+/conversationProfiles/[^/]+$
Location
:
path
Type
:
string
-
▼
▲
dialogflow.projects.conversationProfiles.setSuggestionFeatureConfig
Parameters
:
conversationProfile
Location
:
path
Type
:
string
Pattern
:
^projects/[^/]+/conversationProfiles/[^/]+$
Required
:
Yes
Description
:
Required. The Conversation Profile to add or update the suggestion feature config. Format: `projects//locations//conversationProfiles/`.
-
▼
▲
dialogflow.projects.agent.restore
-
▼
▲
dialogflow.projects.agent.train
-
▼
▲
dialogflow.projects.agent.search
Parameters
:
pageSize
Location
:
query
Format
:
int32
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Type
:
integer
parent
Pattern
:
^projects/[^/]+$
Type
:
string
Required
:
Yes
Location
:
path
Description
:
Required. The project to list agents from. Format: `projects/`.
pageToken
-
▼
▲
dialogflow.projects.agent.import
-
▼
▲
dialogflow.projects.agent.getValidationResult
Parameters
:
languageCode
Location
:
query
Description
:
Optional. The language for which you want a validation result. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
Type
:
string
parent
Description
:
Required. The project that the agent is associated with. Format: `projects/`.
Pattern
:
^projects/[^/]+$
Type
:
string
Required
:
Yes
Location
:
path
-
▼
▲
dialogflow.projects.agent.getFulfillment
-
▼
▲
dialogflow.projects.agent.export
-
▼
▲
dialogflow.projects.agent.updateFulfillment
Parameters
:
updateMask
Format
:
google-fieldmask
Type
:
string
Description
:
Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.
Location
:
query
name
Pattern
:
^projects/[^/]+/agent/fulfillment$
Description
:
Required. The unique identifier of the fulfillment. Supported formats: - `projects//agent/fulfillment` - `projects//locations//agent/fulfillment` This field is not used for Fulfillment in an Environment.
Type
:
string
Required
:
Yes
Location
:
path
-
▼
▲
dialogflow.projects.agent.intents.create
Parameters
:
languageCode
Location
:
query
Type
:
string
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
parent
Required
:
Yes
Location
:
path
Pattern
:
^projects/[^/]+/agent$
Description
:
Required. The agent to create a intent for. Format: `projects//agent`.
Type
:
string
intentView
-
▼
▲
dialogflow.projects.agent.intents.get
Parameters
:
languageCode
Type
:
string
Location
:
query
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
intentView
name
Type
:
string
Required
:
Yes
Pattern
:
^projects/[^/]+/agent/intents/[^/]+$
Location
:
path
Description
:
Required. The name of the intent. Format: `projects//agent/intents/`.
-
▼
▲
dialogflow.projects.agent.intents.list
Parameters
:
pageToken
languageCode
Type
:
string
Location
:
query
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
pageSize
Format
:
int32
Type
:
integer
Location
:
query
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
intentView
parent
Required
:
Yes
Pattern
:
^projects/[^/]+/agent$
Location
:
path
Description
:
Required. The agent to list all intents from. Format: `projects//agent` or `projects//locations//agent`. Alternatively, you can specify the environment to list intents for. Format: `projects//agent/environments/` or `projects//locations//agent/environments/`. Note: training phrases of the intents will not be returned for non-draft environment.
Type
:
string
-
▼
▲
dialogflow.projects.agent.intents.batchUpdate
-
▼
▲
dialogflow.projects.agent.intents.delete
Parameters
:
name
Type
:
string
Pattern
:
^projects/[^/]+/agent/intents/[^/]+$
Description
:
Required. The name of the intent to delete. If this intent has direct or indirect followup intents, we also delete them. Format: `projects//agent/intents/`.
Location
:
path
Required
:
Yes
-
▼
▲
dialogflow.projects.agent.intents.patch
Parameters
:
updateMask
Location
:
query
Format
:
google-fieldmask
Description
:
Optional. The mask to control which fields get updated.
Type
:
string
intentView
name
Required
:
Yes
Description
:
Optional. The unique identifier of this intent. Required for Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format: `projects//agent/intents/`.
Type
:
string
Location
:
path
Pattern
:
^projects/[^/]+/agent/intents/[^/]+$
languageCode
Location
:
query
Type
:
string
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
-
▼
▲
dialogflow.projects.agent.intents.batchDelete
-
▼
▲
dialogflow.projects.agent.entityTypes.batchUpdate
-
▼
▲
dialogflow.projects.agent.entityTypes.batchDelete
-
▼
▲
dialogflow.projects.agent.entityTypes.get
Parameters
:
languageCode
Location
:
query
Type
:
string
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
name
Type
:
string
Required
:
Yes
Pattern
:
^projects/[^/]+/agent/entityTypes/[^/]+$
Location
:
path
Description
:
Required. The name of the entity type. Format: `projects//agent/entityTypes/`.
-
▼
▲
dialogflow.projects.agent.entityTypes.list
Parameters
:
parent
Required
:
Yes
Type
:
string
Location
:
path
Description
:
Required. The agent to list all entity types from. Format: `projects//agent`.
Pattern
:
^projects/[^/]+/agent$
pageSize
Location
:
query
Type
:
integer
Format
:
int32
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
pageToken
languageCode
Location
:
query
Type
:
string
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
-
▼
▲
dialogflow.projects.agent.entityTypes.delete
-
▼
▲
dialogflow.projects.agent.entityTypes.patch
Parameters
:
languageCode
Location
:
query
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
Type
:
string
updateMask
Format
:
google-fieldmask
Description
:
Optional. The mask to control which fields get updated.
Type
:
string
Location
:
query
name
Required
:
Yes
Pattern
:
^projects/[^/]+/agent/entityTypes/[^/]+$
Location
:
path
Description
:
The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: `projects//agent/entityTypes/`.
Type
:
string
-
▼
▲
dialogflow.projects.agent.entityTypes.create
Parameters
:
parent
Required
:
Yes
Type
:
string
Pattern
:
^projects/[^/]+/agent$
Location
:
path
Description
:
Required. The agent to create a entity type for. Format: `projects//agent`.
languageCode
Type
:
string
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
Location
:
query
-
▼
▲
dialogflow.projects.agent.entityTypes.entities.batchCreate
-
▼
▲
dialogflow.projects.agent.entityTypes.entities.batchUpdate
-
▼
▲
dialogflow.projects.agent.entityTypes.entities.batchDelete
-
▼
▲
dialogflow.projects.agent.versions.create
-
▼
▲
dialogflow.projects.agent.versions.list
Parameters
:
parent
Required
:
Yes
Location
:
path
Type
:
string
Pattern
:
^projects/[^/]+/agent$
Description
:
Required. The agent to list all versions from. Supported formats: - `projects//agent` - `projects//locations//agent`
pageToken
pageSize
Type
:
integer
Location
:
query
Format
:
int32
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
-
▼
▲
dialogflow.projects.agent.versions.get
-
▼
▲
dialogflow.projects.agent.versions.patch
Parameters
:
name
Location
:
path
Required
:
Yes
Type
:
string
Description
:
Output only. The unique identifier of this agent version. Supported formats: - `projects//agent/versions/` - `projects//locations//agent/versions/`
Pattern
:
^projects/[^/]+/agent/versions/[^/]+$
updateMask
Format
:
google-fieldmask
Type
:
string
Description
:
Required. The mask to control which fields get updated.
Location
:
query
-
▼
▲
dialogflow.projects.agent.versions.delete
-
▼
▲
dialogflow.projects.agent.environments.list
Parameters
:
parent
Description
:
Required. The agent to list all environments from. Format: - `projects//agent` - `projects//locations//agent`
Type
:
string
Pattern
:
^projects/[^/]+/agent$
Location
:
path
Required
:
Yes
pageToken
pageSize
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Type
:
integer
Format
:
int32
Location
:
query
-
▼
▲
dialogflow.projects.agent.environments.get
Parameters
:
name
Type
:
string
Location
:
path
Description
:
Required. The name of the environment. Supported formats: - `projects//agent/environments/` - `projects//locations//agent/environments/` The environment ID for the default environment is `-`.
Pattern
:
^projects/[^/]+/agent/environments/[^/]+$
Required
:
Yes
-
▼
▲
dialogflow.projects.agent.environments.getHistory
Parameters
:
pageToken
pageSize
Location
:
query
Type
:
integer
Format
:
int32
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
parent
Required
:
Yes
Type
:
string
Description
:
Required. The name of the environment to retrieve history for. Supported formats: - `projects//agent/environments/` - `projects//locations//agent/environments/` The environment ID for the default environment is `-`.
Pattern
:
^projects/[^/]+/agent/environments/[^/]+$
Location
:
path
-
▼
▲
dialogflow.projects.agent.environments.create
Parameters
:
environmentId
parent
Type
:
string
Pattern
:
^projects/[^/]+/agent$
Location
:
path
Required
:
Yes
Description
:
Required. The agent to create an environment for. Supported formats: - `projects//agent` - `projects//locations//agent`
-
▼
▲
dialogflow.projects.agent.environments.delete
Parameters
:
name
Type
:
string
Required
:
Yes
Pattern
:
^projects/[^/]+/agent/environments/[^/]+$
Location
:
path
Description
:
Required. The name of the environment to delete. / Format: - `projects//agent/environments/` - `projects//locations//agent/environments/` The environment ID for the default environment is `-`.
-
▼
▲
dialogflow.projects.agent.environments.patch
-
▼
▲
dialogflow.projects.agent.environments.users.sessions.deleteContexts
Parameters
:
parent
Type
:
string
Description
:
Required. The name of the session to delete all contexts from. Format: `projects//agent/sessions/` or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Pattern
:
^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$
Required
:
Yes
Location
:
path
-
▼
▲
dialogflow.projects.agent.environments.users.sessions.detectIntent
Parameters
:
session
Type
:
string
Location
:
path
Pattern
:
^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$
Required
:
Yes
Description
:
Required. The name of the session this query is sent to. Format: `projects//agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment (`Environment ID` might be referred to as environment name at some places). If `User ID` is not specified, we are using "-". It's up to the API caller to choose an appropriate `Session ID` and `User Id`. They can be a random number or some type of user and session identifiers (preferably hashed). The length of the `Session ID` and `User ID` must not exceed 36 characters. For more information, see the [API interactions guide](https://cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
-
▼
▲
dialogflow.projects.agent.environments.users.sessions.contexts.delete
Parameters
:
name
Location
:
path
Description
:
Required. The name of the context to delete. Format: `projects//agent/sessions//contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Type
:
string
Pattern
:
^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$
Required
:
Yes
-
▼
▲
dialogflow.projects.agent.environments.users.sessions.contexts.get
Parameters
:
name
Location
:
path
Pattern
:
^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$
Description
:
Required. The name of the context. Format: `projects//agent/sessions//contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Required
:
Yes
Type
:
string
-
▼
▲
dialogflow.projects.agent.environments.users.sessions.contexts.list
Parameters
:
pageSize
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Location
:
query
Type
:
integer
Format
:
int32
parent
Required
:
Yes
Pattern
:
^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$
Type
:
string
Location
:
path
Description
:
Required. The session to list all contexts from. Format: `projects//agent/sessions/` or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
pageToken
-
▼
▲
dialogflow.projects.agent.environments.users.sessions.contexts.patch
Parameters
:
name
Description
:
Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
Pattern
:
^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/contexts/[^/]+$
Location
:
path
Required
:
Yes
Type
:
string
updateMask
Format
:
google-fieldmask
Description
:
Optional. The mask to control which fields get updated.
Location
:
query
Type
:
string
-
▼
▲
dialogflow.projects.agent.environments.users.sessions.contexts.create
Parameters
:
parent
Description
:
Required. The session to create a context for. Format: `projects//agent/sessions/` or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Pattern
:
^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$
Required
:
Yes
Location
:
path
Type
:
string
-
▼
▲
dialogflow.projects.agent.environments.users.sessions.entityTypes.get
Parameters
:
name
Location
:
path
Description
:
Required. The name of the session entity type. Format: `projects//agent/sessions//entityTypes/` or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Pattern
:
^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$
Type
:
string
Required
:
Yes
-
▼
▲
dialogflow.projects.agent.environments.users.sessions.entityTypes.delete
Parameters
:
name
Location
:
path
Pattern
:
^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$
Description
:
Required. The name of the entity type to delete. Format: `projects//agent/sessions//entityTypes/` or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Type
:
string
Required
:
Yes
-
▼
▲
dialogflow.projects.agent.environments.users.sessions.entityTypes.list
Parameters
:
pageToken
pageSize
Type
:
integer
Format
:
int32
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Location
:
query
parent
Location
:
path
Type
:
string
Required
:
Yes
Description
:
Required. The session to list all session entity types from. Format: `projects//agent/sessions/` or `projects//agent/environments//users// sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Pattern
:
^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$
-
▼
▲
dialogflow.projects.agent.environments.users.sessions.entityTypes.create
Parameters
:
parent
Pattern
:
^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$
Required
:
Yes
Location
:
path
Type
:
string
Description
:
Required. The session to create a session entity type for. Format: `projects//agent/sessions/` or `projects//agent/environments//users// sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
-
▼
▲
dialogflow.projects.agent.environments.users.sessions.entityTypes.patch
Parameters
:
name
Type
:
string
Pattern
:
^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+/entityTypes/[^/]+$
Required
:
Yes
Location
:
path
Description
:
Required. The unique identifier of this session entity type. Format: `projects//agent/sessions//entityTypes/`, or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.
updateMask
Description
:
Optional. The mask to control which fields get updated.
Format
:
google-fieldmask
Location
:
query
Type
:
string
-
▼
▲
dialogflow.projects.agent.environments.intents.list
Parameters
:
parent
Pattern
:
^projects/[^/]+/agent/environments/[^/]+$
Type
:
string
Required
:
Yes
Location
:
path
Description
:
Required. The agent to list all intents from. Format: `projects//agent` or `projects//locations//agent`. Alternatively, you can specify the environment to list intents for. Format: `projects//agent/environments/` or `projects//locations//agent/environments/`. Note: training phrases of the intents will not be returned for non-draft environment.
languageCode
Description
:
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
Location
:
query
Type
:
string
pageSize
Type
:
integer
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Format
:
int32
Location
:
query
intentView
pageToken
-
▼
▲
dialogflow.projects.agent.knowledgeBases.list
Parameters
:
parent
Type
:
string
Pattern
:
^projects/[^/]+/agent$
Required
:
Yes
Location
:
path
Description
:
Required. The project to list of knowledge bases for. Format: `projects//locations/`.
pageToken
filter
Location
:
query
Description
:
The filter expression used to filter knowledge bases returned by the list method. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * display_name with has(:) operator * language_code with equals(=) operator Examples: * 'language_code=en-us' matches knowledge bases with en-us language code. * 'display_name:articles' matches knowledge bases whose display name contains "articles". * 'display_name:"Best Articles"' matches knowledge bases whose display name contains "Best Articles". * 'language_code=en-gb AND display_name=articles' matches all knowledge bases whose display name contains "articles" and whose language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op and will result in no filtering. For more information about filtering, see [API Filtering](https://aip.dev/160).
Type
:
string
pageSize
Description
:
The maximum number of items to return in a single page. By default 10 and at most 100.
Type
:
integer
Location
:
query
Format
:
int32
-
▼
▲
dialogflow.projects.agent.knowledgeBases.create
-
▼
▲
dialogflow.projects.agent.knowledgeBases.delete
Parameters
:
force
Type
:
boolean
Location
:
query
Description
:
Optional. Force deletes the knowledge base. When set to true, any documents in the knowledge base are also deleted.
name
Pattern
:
^projects/[^/]+/agent/knowledgeBases/[^/]+$
Description
:
Required. The name of the knowledge base to delete. Format: `projects//locations//knowledgeBases/`.
Required
:
Yes
Location
:
path
Type
:
string
-
▼
▲
dialogflow.projects.agent.knowledgeBases.patch
Parameters
:
name
Description
:
The knowledge base resource name. The name must be empty when creating a knowledge base. Format: `projects//locations//knowledgeBases/`.
Pattern
:
^projects/[^/]+/agent/knowledgeBases/[^/]+$
Type
:
string
Location
:
path
Required
:
Yes
updateMask
Description
:
Optional. Not specified means `update all`. Currently, only `display_name` can be updated, an InvalidArgument will be returned for attempting to update other fields.
Location
:
query
Type
:
string
Format
:
google-fieldmask
-
▼
▲
dialogflow.projects.agent.knowledgeBases.get
-
▼
▲
dialogflow.projects.agent.knowledgeBases.documents.delete
-
▼
▲
dialogflow.projects.agent.knowledgeBases.documents.patch
Parameters
:
updateMask
Type
:
string
Format
:
google-fieldmask
Description
:
Optional. Not specified means `update all`. Currently, only `display_name` can be updated, an InvalidArgument will be returned for attempting to update other fields.
Location
:
query
name
Location
:
path
Required
:
Yes
Description
:
Optional. The document resource name. The name must be empty when creating a document. Format: `projects//locations//knowledgeBases//documents/`.
Pattern
:
^projects/[^/]+/agent/knowledgeBases/[^/]+/documents/[^/]+$
Type
:
string
-
▼
▲
dialogflow.projects.agent.knowledgeBases.documents.get
-
▼
▲
dialogflow.projects.agent.knowledgeBases.documents.reload
-
▼
▲
dialogflow.projects.agent.knowledgeBases.documents.create
-
▼
▲
dialogflow.projects.agent.knowledgeBases.documents.list
Parameters
:
filter
Type
:
string
Description
:
The filter expression used to filter documents returned by the list method. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * knowledge_types with has(:) operator * display_name with has(:) operator * state with equals(=) operator Examples: * "knowledge_types:FAQ" matches documents with FAQ knowledge type. * "display_name:customer" matches documents whose display name contains "customer". * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ AND state=ACTIVE" matches all active FAQ documents. For more information about filtering, see [API Filtering](https://aip.dev/160).
Location
:
query
pageToken
parent
Location
:
path
Description
:
Required. The knowledge base to list all documents for. Format: `projects//locations//knowledgeBases/`.
Type
:
string
Pattern
:
^projects/[^/]+/agent/knowledgeBases/[^/]+$
Required
:
Yes
pageSize
Type
:
integer
Description
:
The maximum number of items to return in a single page. By default 10 and at most 100.
Format
:
int32
Location
:
query
-
▼
▲
dialogflow.projects.agent.sessions.entityTypes.get
Parameters
:
name
Required
:
Yes
Type
:
string
Location
:
path
Description
:
Required. The name of the session entity type. Format: `projects//agent/sessions//entityTypes/` or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Pattern
:
^projects/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$
-
▼
▲
dialogflow.projects.agent.sessions.entityTypes.patch
Parameters
:
name
Description
:
Required. The unique identifier of this session entity type. Format: `projects//agent/sessions//entityTypes/`, or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. `` must be the display name of an existing entity type in the same agent that will be overridden or supplemented.
Pattern
:
^projects/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$
Type
:
string
Required
:
Yes
Location
:
path
updateMask
Format
:
google-fieldmask
Type
:
string
Location
:
query
Description
:
Optional. The mask to control which fields get updated.
-
▼
▲
dialogflow.projects.agent.sessions.entityTypes.delete
Parameters
:
name
Type
:
string
Pattern
:
^projects/[^/]+/agent/sessions/[^/]+/entityTypes/[^/]+$
Location
:
path
Description
:
Required. The name of the entity type to delete. Format: `projects//agent/sessions//entityTypes/` or `projects//agent/environments//users//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Required
:
Yes
-
▼
▲
dialogflow.projects.agent.sessions.entityTypes.create
Parameters
:
parent
Description
:
Required. The session to create a session entity type for. Format: `projects//agent/sessions/` or `projects//agent/environments//users// sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Pattern
:
^projects/[^/]+/agent/sessions/[^/]+$
Type
:
string
Required
:
Yes
Location
:
path
-
▼
▲
dialogflow.projects.agent.sessions.entityTypes.list
Parameters
:
pageToken
parent
Location
:
path
Description
:
Required. The session to list all session entity types from. Format: `projects//agent/sessions/` or `projects//agent/environments//users// sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Type
:
string
Required
:
Yes
Pattern
:
^projects/[^/]+/agent/sessions/[^/]+$
pageSize
Type
:
integer
Location
:
query
Format
:
int32
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
-
▼
▲
dialogflow.projects.agent.sessions.contexts.delete
Parameters
:
name
Location
:
path
Pattern
:
^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$
Description
:
Required. The name of the context to delete. Format: `projects//agent/sessions//contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Type
:
string
Required
:
Yes
-
▼
▲
dialogflow.projects.agent.sessions.contexts.get
Parameters
:
name
Pattern
:
^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$
Location
:
path
Description
:
Required. The name of the context. Format: `projects//agent/sessions//contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Type
:
string
Required
:
Yes
-
▼
▲
dialogflow.projects.agent.sessions.contexts.patch
Parameters
:
name
Pattern
:
^projects/[^/]+/agent/sessions/[^/]+/contexts/[^/]+$
Type
:
string
Required
:
Yes
Description
:
Required. The unique identifier of the context. Format: `projects//agent/sessions//contexts/`, or `projects//agent/environments//users//sessions//contexts/`. The `Context ID` is always converted to lowercase, may only contain characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user. The following context names are reserved for internal use by Dialogflow. You should not use these contexts or create contexts with these names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
Location
:
path
updateMask
Description
:
Optional. The mask to control which fields get updated.
Format
:
google-fieldmask
Type
:
string
Location
:
query
-
▼
▲
dialogflow.projects.agent.sessions.contexts.list
Parameters
:
pageToken
parent
Pattern
:
^projects/[^/]+/agent/sessions/[^/]+$
Type
:
string
Location
:
path
Description
:
Required. The session to list all contexts from. Format: `projects//agent/sessions/` or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Required
:
Yes
pageSize
Description
:
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Location
:
query
Format
:
int32
Type
:
integer
-
▼
▲
dialogflow.projects.agent.sessions.contexts.create
Parameters
:
parent
Description
:
Required. The session to create a context for. Format: `projects//agent/sessions/` or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
Location
:
path
Pattern
:
^projects/[^/]+/agent/sessions/[^/]+$
Type
:
string
Required
:
Yes
-
▼
▲
dialogflow.projects.agent.sessions.detectIntent
Parameters
:
session
Location
:
path
Required
:
Yes
Type
:
string
Description
:
Required. The name of the session this query is sent to. Format: `projects//agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment (`Environment ID` might be referred to as environment name at some places). If `User ID` is not specified, we are using "-". It's up to the API caller to choose an appropriate `Session ID` and `User Id`. They can be a random number or some type of user and session identifiers (preferably hashed). The length of the `Session ID` and `User ID` must not exceed 36 characters. For more information, see the [API interactions guide](https://cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
Pattern
:
^projects/[^/]+/agent/sessions/[^/]+$
-
▼
▲
dialogflow.projects.agent.sessions.deleteContexts
Parameters
:
parent
Type
:
string
Location
:
path
Required
:
Yes
Pattern
:
^projects/[^/]+/agent/sessions/[^/]+$
Description
:
Required. The name of the session to delete all contexts from. Format: `projects//agent/sessions/` or `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified we assume default 'draft' environment. If `User ID` is not specified, we assume default '-' user.
-
▼
▲
dialogflow.projects.knowledgeBases.patch
Parameters
:
name
Required
:
Yes
Location
:
path
Description
:
The knowledge base resource name. The name must be empty when creating a knowledge base. Format: `projects//locations//knowledgeBases/`.
Pattern
:
^projects/[^/]+/knowledgeBases/[^/]+$
Type
:
string
updateMask
Format
:
google-fieldmask
Location
:
query
Type
:
string
Description
:
Optional. Not specified means `update all`. Currently, only `display_name` can be updated, an InvalidArgument will be returned for attempting to update other fields.
-
▼
▲
dialogflow.projects.knowledgeBases.list
Parameters
:
pageToken
parent
Location
:
path
Description
:
Required. The project to list of knowledge bases for. Format: `projects//locations/`.
Required
:
Yes
Type
:
string
Pattern
:
^projects/[^/]+$
pageSize
Location
:
query
Description
:
The maximum number of items to return in a single page. By default 10 and at most 100.
Type
:
integer
Format
:
int32
filter
Description
:
The filter expression used to filter knowledge bases returned by the list method. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * display_name with has(:) operator * language_code with equals(=) operator Examples: * 'language_code=en-us' matches knowledge bases with en-us language code. * 'display_name:articles' matches knowledge bases whose display name contains "articles". * 'display_name:"Best Articles"' matches knowledge bases whose display name contains "Best Articles". * 'language_code=en-gb AND display_name=articles' matches all knowledge bases whose display name contains "articles" and whose language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op and will result in no filtering. For more information about filtering, see [API Filtering](https://aip.dev/160).
Location
:
query
Type
:
string
-
▼
▲
dialogflow.projects.knowledgeBases.get
-
▼
▲
dialogflow.projects.knowledgeBases.delete
Parameters
:
force
Description
:
Optional. Force deletes the knowledge base. When set to true, any documents in the knowledge base are also deleted.
Location
:
query
Type
:
boolean
name
Location
:
path
Pattern
:
^projects/[^/]+/knowledgeBases/[^/]+$
Type
:
string
Required
:
Yes
Description
:
Required. The name of the knowledge base to delete. Format: `projects//locations//knowledgeBases/`.
-
▼
▲
dialogflow.projects.knowledgeBases.create
-
▼
▲
dialogflow.projects.knowledgeBases.documents.list
Parameters
:
pageToken
filter
Description
:
The filter expression used to filter documents returned by the list method. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * knowledge_types with has(:) operator * display_name with has(:) operator * state with equals(=) operator Examples: * "knowledge_types:FAQ" matches documents with FAQ knowledge type. * "display_name:customer" matches documents whose display name contains "customer". * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ AND state=ACTIVE" matches all active FAQ documents. For more information about filtering, see [API Filtering](https://aip.dev/160).
Location
:
query
Type
:
string
parent
Type
:
string
Required
:
Yes
Location
:
path
Description
:
Required. The knowledge base to list all documents for. Format: `projects//locations//knowledgeBases/`.
Pattern
:
^projects/[^/]+/knowledgeBases/[^/]+$
pageSize
Location
:
query
Type
:
integer
Description
:
The maximum number of items to return in a single page. By default 10 and at most 100.
Format
:
int32
-
▼
▲
dialogflow.projects.knowledgeBases.documents.export
-
▼
▲
dialogflow.projects.knowledgeBases.documents.reload
-
▼
▲
dialogflow.projects.knowledgeBases.documents.delete
-
▼
▲
dialogflow.projects.knowledgeBases.documents.get
-
▼
▲
dialogflow.projects.knowledgeBases.documents.create
-
▼
▲
dialogflow.projects.knowledgeBases.documents.patch
Parameters
:
name
Description
:
Optional. The document resource name. The name must be empty when creating a document. Format: `projects//locations//knowledgeBases//documents/`.
Type
:
string
Required
:
Yes
Pattern
:
^projects/[^/]+/knowledgeBases/[^/]+/documents/[^/]+$
Location
:
path
updateMask
Description
:
Optional. Not specified means `update all`. Currently, only `display_name` can be updated, an InvalidArgument will be returned for attempting to update other fields.
Format
:
google-fieldmask
Type
:
string
Location
:
query
-
▼
▲
dialogflow.projects.knowledgeBases.documents.import
-
▼
▲
dialogflow.projects.setAgent
Parameters
:
parent
Pattern
:
^projects/[^/]+$
Required
:
Yes
Location
:
path
Description
:
Required. The project of this agent. Format: `projects/`.
Type
:
string
updateMask
Location
:
query
Description
:
Optional. The mask to control which fields get updated.
Type
:
string
Format
:
google-fieldmask
-
▼
▲
dialogflow.projects.getAgent
-
▼
▲
dialogflow.projects.deleteAgent