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_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.
388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 388 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.
388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 388 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.
388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 388 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/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 388 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 |