Google Cloud Dialogflow V2 Client - Class ExportAgentRequest (1.13.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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setParent

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

Format: projects/<Project ID>.

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
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.

Returns
Type Description
Google\Cloud\Dialogflow\V2\ExportAgentRequest