Google Cloud Dialogflow V2 Client - Class ImportAgentRequest (1.0.1)

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.

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

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setParent

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

Format: projects/<Project ID>.

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

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.

Generated from protobuf field string agent_uri = 2;

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.

Generated from protobuf field string agent_uri = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAgentContent

Zip compressed raw byte content for agent.

Generated from protobuf field bytes agent_content = 3;

Returns
TypeDescription
string

hasAgentContent

setAgentContent

Zip compressed raw byte content for agent.

Generated from protobuf field bytes agent_content = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAgent

Returns
TypeDescription
string