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.

Note: The following fields are mutually exclusive: flow_content, flow_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    Uncompressed raw byte content for flow.

    Note: The following fields are mutually exclusive: flow_content, flow_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.



435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 435

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:



435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 435

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.

Note: The following fields are mutually exclusive: flow_uri, flow_content. If a field in that set is populated, all other fields in the set will automatically be cleared.

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.

    Note: The following fields are mutually exclusive: flow_uri, flow_content. If a field in that set is populated, all other fields in the set will automatically be cleared.



435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 435

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:



435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 435

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

Returns:

  • (::String)

    Required. The agent to import the flow into. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.



435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
# File 'proto_docs/google/cloud/dialogflow/cx/v3/flow.rb', line 435

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