Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportEntityTypesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportEntityTypesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
The request message for EntityTypes.ImportEntityTypes.
Instance Attribute Summary collapse
-
#entity_types_content ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSource
Inline source for a Dialogflow operation that reads or imports objects (e.g. intents) into Dialogflow.
-
#entity_types_uri ⇒ String
The Google Cloud Storage URI to import entity types from.
-
#merge_option ⇒ String
Required.
-
#target_entity_type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ImportEntityTypesRequest
constructor
A new instance of GoogleCloudDialogflowCxV3ImportEntityTypesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ImportEntityTypesRequest
Returns a new instance of GoogleCloudDialogflowCxV3ImportEntityTypesRequest.
3500 3501 3502 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3500 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity_types_content ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSource
Inline source for a Dialogflow operation that reads or imports objects (e.g.
intents) into Dialogflow.
Corresponds to the JSON property entityTypesContent
3474 3475 3476 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3474 def entity_types_content @entity_types_content end |
#entity_types_uri ⇒ String
The Google Cloud Storage URI to
import entity types from. The format of this URI must be gs:///
. 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.
Corresponds to the JSON property entityTypesUri
3484 3485 3486 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3484 def entity_types_uri @entity_types_uri end |
#merge_option ⇒ String
Required. Merge option for importing entity types.
Corresponds to the JSON property mergeOption
3489 3490 3491 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3489 def merge_option @merge_option end |
#target_entity_type ⇒ String
Optional. The target entity type to import into. Format: projects//locations//
agents//entity_types/
. If set, there should be only one entity type included
in entity_types, of which the type should match the type of the target entity
type. All entities in the imported entity type will be added to the target
entity type.
Corresponds to the JSON property targetEntityType
3498 3499 3500 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3498 def target_entity_type @target_entity_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3505 3506 3507 3508 3509 3510 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3505 def update!(**args) @entity_types_content = args[:entity_types_content] if args.key?(:entity_types_content) @entity_types_uri = args[:entity_types_uri] if args.key?(:entity_types_uri) @merge_option = args[:merge_option] if args.key?(:merge_option) @target_entity_type = args[:target_entity_type] if args.key?(:target_entity_type) end |