Google Cloud Dialogflow V2 Client - Class ExportAgentResponse (1.6.0)

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

The response message for Agents.ExportAgent.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ agent_uri string

The URI to a file containing the exported agent. This field is populated only if agent_uri is specified in ExportAgentRequest.

↳ agent_content string

Zip compressed raw byte content for agent.

getAgentUri

The URI to a file containing the exported agent. This field is populated only if agent_uri is specified in ExportAgentRequest.

Returns
TypeDescription
string

hasAgentUri

setAgentUri

The URI to a file containing the exported agent. This field is populated only if agent_uri is specified in ExportAgentRequest.

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