Google Cloud Dialogflow Cx V3 Client - Class ImportFlowRequest (0.2.1)

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

The request message for Flows.ImportFlow.

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

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 flow into. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

↳ flow_uri string

The Google Cloud Storage URI to import flow 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.

↳ flow_content string

Uncompressed raw byte content for flow.

↳ import_option int

Flow import mode. If not specified, KEEP is assumed.

↳ flow_import_strategy Google\Cloud\Dialogflow\Cx\V3\FlowImportStrategy

Optional. Specifies the import strategy used when resolving resource conflicts.

getParent

Required. The agent to import the flow into.

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

Returns
TypeDescription
string

setParent

Required. The agent to import the flow into.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFlowUri

The Google Cloud Storage URI to import flow 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

hasFlowUri

setFlowUri

The Google Cloud Storage URI to import flow 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

getFlowContent

Uncompressed raw byte content for flow.

Returns
TypeDescription
string

hasFlowContent

setFlowContent

Uncompressed raw byte content for flow.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getImportOption

Flow import mode. If not specified, KEEP is assumed.

Returns
TypeDescription
int

setImportOption

Flow import mode. If not specified, KEEP is assumed.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getFlowImportStrategy

Optional. Specifies the import strategy used when resolving resource conflicts.

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

hasFlowImportStrategy

clearFlowImportStrategy

setFlowImportStrategy

Optional. Specifies the import strategy used when resolving resource conflicts.

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

getFlow

Returns
TypeDescription
string