Class: Google::Cloud::Dialogflow::CX::V3::ImportFlowRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#flow_content::String

Returns Uncompressed raw byte content for flow.

Returns:

  • (::String)

    Uncompressed raw byte content for flow.



430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 430

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.

Returns:



430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 430

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.

Returns:

  • (::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.



430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 430

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.

Returns:



430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 430

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>.

Returns:

  • (::String)

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



430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 430

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