Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ImportAgentRequest.
The request message for Agents.ImportAgent .
Generated from protobuf message google.cloud.dialogflow.v2.ImportAgentRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The project that the agent to import is associated with. Format: projects/<Project ID>
.
↳ agent_uri
string
The URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start with "gs://". Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control .
↳ agent_content
string
Zip compressed raw byte content for agent.
getParent
Required. The project that the agent to import is associated with.
Format: projects/<Project ID>
.
string
setParent
Required. The project that the agent to import is associated with.
Format: projects/<Project ID>
.
var
string
$this
getAgentUri
The URI to a Google Cloud Storage file containing the agent to import.
Note: The URI must start with "gs://". Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control .
string
hasAgentUri
setAgentUri
The URI to a Google Cloud Storage file containing the agent to import.
Note: The URI must start with "gs://". Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control .
var
string
$this
getAgentContent
Zip compressed raw byte content for agent.
string
hasAgentContent
setAgentContent
Zip compressed raw byte content for agent.
var
string
$this
getAgent
string