public sealed class ImportFlowRequest : IMessage<ImportFlowRequest>, IEquatable<ImportFlowRequest>, IDeepCloneable<ImportFlowRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class ImportFlowRequest.
The request message for [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow].
Implements
IMessageImportFlowRequest, IEquatableImportFlowRequest, IDeepCloneableImportFlowRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
ImportFlowRequest()
public ImportFlowRequest()
ImportFlowRequest(ImportFlowRequest)
public ImportFlowRequest(ImportFlowRequest other)
Parameter | |
---|---|
Name | Description |
other | ImportFlowRequest |
Properties
FlowCase
public ImportFlowRequest.FlowOneofCase FlowCase { get; }
Property Value | |
---|---|
Type | Description |
ImportFlowRequestFlowOneofCase |
FlowContent
public ByteString FlowContent { get; set; }
Uncompressed raw byte content for flow.
Property Value | |
---|---|
Type | Description |
ByteString |
FlowUri
public string FlowUri { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
HasFlowContent
public bool HasFlowContent { get; }
Gets whether the "flow_content" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasFlowUri
public bool HasFlowUri { get; }
Gets whether the "flow_uri" field is set
Property Value | |
---|---|
Type | Description |
bool |
ImportOption
public ImportFlowRequest.Types.ImportOption ImportOption { get; set; }
Flow import mode. If not specified, KEEP
is assumed.
Property Value | |
---|---|
Type | Description |
ImportFlowRequestTypesImportOption |
Parent
public string Parent { get; set; }
Required. The agent to import the flow into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
Property Value | |
---|---|
Type | Description |
string |
ParentAsAgentName
public AgentName ParentAsAgentName { get; set; }
Property Value | |
---|---|
Type | Description |
AgentName |