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.
9351 9352 9353 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9351 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
9325 9326 9327 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9325 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
9335 9336 9337 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9335 def entity_types_uri @entity_types_uri end |
#merge_option ⇒ String
Required. Merge option for importing entity types.
Corresponds to the JSON property mergeOption
9340 9341 9342 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9340 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
9349 9350 9351 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9349 def target_entity_type @target_entity_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9356 9357 9358 9359 9360 9361 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9356 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 |