Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_contentGoogle::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_uriString

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

Returns:

  • (String)


8073
8074
8075
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8073

def entity_types_uri
  @entity_types_uri
end

#merge_optionString

Required. Merge option for importing entity types. Corresponds to the JSON property mergeOption

Returns:

  • (String)


8078
8079
8080
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8078

def merge_option
  @merge_option
end

#target_entity_typeString

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

Returns:

  • (String)


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