Google Cloud Dialogflow Cx V3 Client - Class ImportIntentsRequest (0.1.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ImportIntentsRequest.

The request message for Intents.ImportIntents.

Generated from protobuf message google.cloud.dialogflow.cx.v3.ImportIntentsRequest

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The agent to import the intents into. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

↳ intents_uri string

The Google Cloud Storage URI to import intents from. The format of this URI must be gs://<bucket-name>/<object-name>. 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.

↳ intents_content Google\Cloud\Dialogflow\Cx\V3\InlineSource

Uncompressed byte content of intents.

↳ merge_option int

Merge option for importing intents. If not specified, REJECT is assumed.

getParent

Required. The agent to import the intents into.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

Returns
TypeDescription
string

setParent

Required. The agent to import the intents into.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIntentsUri

The Google Cloud Storage URI to import intents from. The format of this URI must be gs://<bucket-name>/<object-name>.

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

hasIntentsUri

setIntentsUri

The Google Cloud Storage URI to import intents from. The format of this URI must be gs://<bucket-name>/<object-name>.

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

getIntentsContent

Uncompressed byte content of intents.

Returns
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\InlineSource|null

hasIntentsContent

setIntentsContent

Uncompressed byte content of intents.

Parameter
NameDescription
var Google\Cloud\Dialogflow\Cx\V3\InlineSource
Returns
TypeDescription
$this

getMergeOption

Merge option for importing intents. If not specified, REJECT is assumed.

Returns
TypeDescription
int

setMergeOption

Merge option for importing intents. If not specified, REJECT is assumed.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getIntents

Returns
TypeDescription
string