Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
The request message for EntityTypes.ImportEntityTypes.
Instance Attribute Summary collapse
-
#entity_types_content ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSource
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) ⇒ GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest
Returns a new instance of GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest.
8089 8090 8091 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8089 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity_types_content ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSource
Inline source for a Dialogflow operation that reads or imports objects (e.g.
intents) into Dialogflow.
Corresponds to the JSON property entityTypesContent
8063 8064 8065 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8063 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
8073 8074 8075 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8073 def entity_types_uri @entity_types_uri end |
#merge_option ⇒ String
Required. Merge option for importing entity types.
Corresponds to the JSON property mergeOption
8078 8079 8080 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8078 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
8087 8088 8089 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8087 def target_entity_type @target_entity_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8094 8095 8096 8097 8098 8099 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8094 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 |