Class: Google::Cloud::Dialogflow::CX::V3::ImportFlowRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::CX::V3::ImportFlowRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/cx/v3/flow.rb
Overview
The request message for Flows.ImportFlow.
Defined Under Namespace
Modules: ImportOption
Instance Attribute Summary collapse
-
#flow_content ⇒ ::String
Uncompressed raw byte content for flow.
-
#flow_import_strategy ⇒ ::Google::Cloud::Dialogflow::CX::V3::FlowImportStrategy
Optional.
-
#flow_uri ⇒ ::String
The Google Cloud Storage URI to import flow from.
-
#import_option ⇒ ::Google::Cloud::Dialogflow::CX::V3::ImportFlowRequest::ImportOption
Flow import mode.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#flow_content ⇒ ::String
Returns Uncompressed raw byte content for flow.
431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 431 class ImportFlowRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Import option. module ImportOption # Unspecified. Treated as `KEEP`. IMPORT_OPTION_UNSPECIFIED = 0 # Always respect settings in exported flow content. It may cause a # import failure if some settings (e.g. custom NLU) are not supported in # the agent to import into. KEEP = 1 # Fallback to default settings if some settings are not supported in the # agent to import into. E.g. Standard NLU will be used if custom NLU is # not available. FALLBACK = 2 end end |
#flow_import_strategy ⇒ ::Google::Cloud::Dialogflow::CX::V3::FlowImportStrategy
Returns Optional. Specifies the import strategy used when resolving resource conflicts.
431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 431 class ImportFlowRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Import option. module ImportOption # Unspecified. Treated as `KEEP`. IMPORT_OPTION_UNSPECIFIED = 0 # Always respect settings in exported flow content. It may cause a # import failure if some settings (e.g. custom NLU) are not supported in # the agent to import into. KEEP = 1 # Fallback to default settings if some settings are not supported in the # agent to import into. E.g. Standard NLU will be used if custom NLU is # not available. FALLBACK = 2 end end |
#flow_uri ⇒ ::String
Returns 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.
431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 431 class ImportFlowRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Import option. module ImportOption # Unspecified. Treated as `KEEP`. IMPORT_OPTION_UNSPECIFIED = 0 # Always respect settings in exported flow content. It may cause a # import failure if some settings (e.g. custom NLU) are not supported in # the agent to import into. KEEP = 1 # Fallback to default settings if some settings are not supported in the # agent to import into. E.g. Standard NLU will be used if custom NLU is # not available. FALLBACK = 2 end end |
#import_option ⇒ ::Google::Cloud::Dialogflow::CX::V3::ImportFlowRequest::ImportOption
Returns Flow import mode. If not specified, KEEP
is assumed.
431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 431 class ImportFlowRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Import option. module ImportOption # Unspecified. Treated as `KEEP`. IMPORT_OPTION_UNSPECIFIED = 0 # Always respect settings in exported flow content. It may cause a # import failure if some settings (e.g. custom NLU) are not supported in # the agent to import into. KEEP = 1 # Fallback to default settings if some settings are not supported in the # agent to import into. E.g. Standard NLU will be used if custom NLU is # not available. FALLBACK = 2 end end |
#parent ⇒ ::String
Returns Required. The agent to import the flow into.
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 431 class ImportFlowRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Import option. module ImportOption # Unspecified. Treated as `KEEP`. IMPORT_OPTION_UNSPECIFIED = 0 # Always respect settings in exported flow content. It may cause a # import failure if some settings (e.g. custom NLU) are not supported in # the agent to import into. KEEP = 1 # Fallback to default settings if some settings are not supported in the # agent to import into. E.g. Standard NLU will be used if custom NLU is # not available. FALLBACK = 2 end end |