Class: Google::Cloud::Dialogflow::CX::V3::ImportIntentsRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/intent.rb

Overview

The request message for Intents.ImportIntents.

Defined Under Namespace

Modules: MergeOption

Instance Attribute Summary collapse

Instance Attribute Details

#intents_content::Google::Cloud::Dialogflow::CX::V3::InlineSource

Returns Uncompressed byte content of intents.

Returns:



337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
# File 'proto_docs/google/cloud/dialogflow/cx/v3/intent.rb', line 337

class ImportIntentsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Merge option when display name conflicts exist during import.
  module MergeOption
    # Unspecified. Should not be used.
    MERGE_OPTION_UNSPECIFIED = 0

    # DEPRECATED: Please use
    # [REPORT_CONFLICT][ImportIntentsRequest.REPORT_CONFLICT] instead.
    # Fail the request if there are intents whose display names conflict with
    # the display names of intents in the agent.
    REJECT = 1

    # Replace the original intent in the agent with the new intent when display
    # name conflicts exist.
    REPLACE = 2

    # Merge the original intent with the new intent when display name conflicts
    # exist.
    MERGE = 3

    # Create new intents with new display names to differentiate them from the
    # existing intents when display name conflicts exist.
    RENAME = 4

    # Report conflict information if display names conflict is detected.
    # Otherwise, import intents.
    REPORT_CONFLICT = 5

    # Keep the original intent and discard the conflicting new intent when
    # display name conflicts exist.
    KEEP = 6
  end
end

#intents_uri::String

Returns The Google Cloud Storage URI to import intents 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 intents 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.



337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
# File 'proto_docs/google/cloud/dialogflow/cx/v3/intent.rb', line 337

class ImportIntentsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Merge option when display name conflicts exist during import.
  module MergeOption
    # Unspecified. Should not be used.
    MERGE_OPTION_UNSPECIFIED = 0

    # DEPRECATED: Please use
    # [REPORT_CONFLICT][ImportIntentsRequest.REPORT_CONFLICT] instead.
    # Fail the request if there are intents whose display names conflict with
    # the display names of intents in the agent.
    REJECT = 1

    # Replace the original intent in the agent with the new intent when display
    # name conflicts exist.
    REPLACE = 2

    # Merge the original intent with the new intent when display name conflicts
    # exist.
    MERGE = 3

    # Create new intents with new display names to differentiate them from the
    # existing intents when display name conflicts exist.
    RENAME = 4

    # Report conflict information if display names conflict is detected.
    # Otherwise, import intents.
    REPORT_CONFLICT = 5

    # Keep the original intent and discard the conflicting new intent when
    # display name conflicts exist.
    KEEP = 6
  end
end

#merge_option::Google::Cloud::Dialogflow::CX::V3::ImportIntentsRequest::MergeOption

Returns Merge option for importing intents. If not specified, REJECT is assumed.

Returns:



337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
# File 'proto_docs/google/cloud/dialogflow/cx/v3/intent.rb', line 337

class ImportIntentsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Merge option when display name conflicts exist during import.
  module MergeOption
    # Unspecified. Should not be used.
    MERGE_OPTION_UNSPECIFIED = 0

    # DEPRECATED: Please use
    # [REPORT_CONFLICT][ImportIntentsRequest.REPORT_CONFLICT] instead.
    # Fail the request if there are intents whose display names conflict with
    # the display names of intents in the agent.
    REJECT = 1

    # Replace the original intent in the agent with the new intent when display
    # name conflicts exist.
    REPLACE = 2

    # Merge the original intent with the new intent when display name conflicts
    # exist.
    MERGE = 3

    # Create new intents with new display names to differentiate them from the
    # existing intents when display name conflicts exist.
    RENAME = 4

    # Report conflict information if display names conflict is detected.
    # Otherwise, import intents.
    REPORT_CONFLICT = 5

    # Keep the original intent and discard the conflicting new intent when
    # display name conflicts exist.
    KEEP = 6
  end
end

#parent::String

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

Returns:

  • (::String)

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



337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
# File 'proto_docs/google/cloud/dialogflow/cx/v3/intent.rb', line 337

class ImportIntentsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Merge option when display name conflicts exist during import.
  module MergeOption
    # Unspecified. Should not be used.
    MERGE_OPTION_UNSPECIFIED = 0

    # DEPRECATED: Please use
    # [REPORT_CONFLICT][ImportIntentsRequest.REPORT_CONFLICT] instead.
    # Fail the request if there are intents whose display names conflict with
    # the display names of intents in the agent.
    REJECT = 1

    # Replace the original intent in the agent with the new intent when display
    # name conflicts exist.
    REPLACE = 2

    # Merge the original intent with the new intent when display name conflicts
    # exist.
    MERGE = 3

    # Create new intents with new display names to differentiate them from the
    # existing intents when display name conflicts exist.
    RENAME = 4

    # Report conflict information if display names conflict is detected.
    # Otherwise, import intents.
    REPORT_CONFLICT = 5

    # Keep the original intent and discard the conflicting new intent when
    # display name conflicts exist.
    KEEP = 6
  end
end