Google Cloud Dialogflow V2 Client - Class ImportAgentRequest (1.7.2)

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
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>.

Returns
TypeDescription
string

setParent

Required. The project that the agent to import is associated with.

Format: projects/<Project ID>.

Parameter
NameDescription
var string
Returns
TypeDescription
$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.

Returns
TypeDescription
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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAgentContent

Zip compressed raw byte content for agent.

Returns
TypeDescription
string

hasAgentContent

setAgentContent

Zip compressed raw byte content for agent.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAgent

Returns
TypeDescription
string