Google Cloud Dialogflow V2 Client - Class ExportAgentRequest (1.11.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ExportAgentRequest.

The request message for Agents.ExportAgent.

Generated from protobuf message google.cloud.dialogflow.v2.ExportAgentRequest

Google \ Cloud \ Dialogflow \ V2

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project that the agent to export is associated with. Format: projects/<Project ID>.

↳ agent_uri string

Required. The Google Cloud Storage URI to export the agent to. The format of this URI must be gs://<bucket-name>/<object-name>. If left unspecified, the serialized agent is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.

getParent

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

Format: projects/<Project ID>.

Returns
TypeDescription
string

setParent

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

Format: projects/<Project ID>.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAgentUri

Required. The Google Cloud Storage URI to export the agent to. The format of this URI must be gs://<bucket-name>/<object-name>. If left unspecified, the serialized agent is returned inline.

Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.

Returns
TypeDescription
string

setAgentUri

Required. The Google Cloud Storage URI to export the agent to. The format of this URI must be gs://<bucket-name>/<object-name>. If left unspecified, the serialized agent is returned inline.

Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The project that the agent to export is associated with. Format: projects/<Project ID>. Please see Google\Cloud\Dialogflow\V2\AgentsClient::projectName() for help formatting this field.