ProjectsAgentResourceApi class

Constructors

ProjectsAgentResourceApi(ApiRequester client)

Properties

entityTypes ProjectsAgentEntityTypesResourceApi
read-only
environments ProjectsAgentEnvironmentsResourceApi
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
intents ProjectsAgentIntentsResourceApi
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sessions ProjectsAgentSessionsResourceApi
read-only

Methods

export(GoogleCloudDialogflowV2ExportAgentRequest request, String parent, {String $fields}) Future<GoogleLongrunningOperation>
Exports the specified agent to a ZIP file. Operation [...]
getFulfillment(String name, {String $fields}) Future<GoogleCloudDialogflowV2Fulfillment>
Retrieves the fulfillment. [...]
getValidationResult(String parent, {String languageCode, String $fields}) Future<GoogleCloudDialogflowV2ValidationResult>
Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed. [...]
import(GoogleCloudDialogflowV2ImportAgentRequest request, String parent, {String $fields}) Future<GoogleLongrunningOperation>
Imports the specified agent from a ZIP file. Uploads new intents and entity types without deleting the existing ones. Intents and entity types with the same name are replaced with the new versions from ImportAgentRequest. After the import, the imported draft agent will be trained automatically (unless disabled in agent settings). However, once the import is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. Operation An operation which tracks when importing is complete. It only tracks when the draft agent is updated not when it is done training. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
restore(GoogleCloudDialogflowV2RestoreAgentRequest request, String parent, {String $fields}) Future<GoogleLongrunningOperation>
Restores the specified agent from a ZIP file. Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. Operation An operation which tracks when restoring is complete. It only tracks when the draft agent is updated not when it is done training. [...]
Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id "-". Refer to List Sub-Collections. [...]
toString() String
Returns a string representation of this object.
inherited
train(GoogleCloudDialogflowV2TrainAgentRequest request, String parent, {String $fields}) Future<GoogleLongrunningOperation>
Trains the specified agent. Operation [...]
updateFulfillment(GoogleCloudDialogflowV2Fulfillment request, String name, {String updateMask, String $fields}) Future<GoogleCloudDialogflowV2Fulfillment>
Updates the fulfillment. [...]

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited