Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportEntityTypesRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExportEntityTypesRequest

Returns a new instance of GoogleCloudDialogflowCxV3ExportEntityTypesRequest.



2255
2256
2257
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2255

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#data_formatString

Optional. The data format of the exported entity types. If not specified, BLOB is assumed. Corresponds to the JSON property dataFormat

Returns:

  • (String)


2221
2222
2223
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2221

def data_format
  @data_format
end

#entity_typesArray<String>

Required. The name of the entity types to export. Format: projects//locations/ /agents//entityTypes/. Corresponds to the JSON property entityTypes

Returns:

  • (Array<String>)


2227
2228
2229
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2227

def entity_types
  @entity_types
end

#entity_types_content_inlineBoolean Also known as: entity_types_content_inline?

Optional. The option to return the serialized entity types inline. Corresponds to the JSON property entityTypesContentInline

Returns:

  • (Boolean)


2232
2233
2234
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2232

def entity_types_content_inline
  @entity_types_content_inline
end

#entity_types_uriString

Optional. The Google Cloud Storage URI to export the entity types to. The format of this URI must be gs:///. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control. Corresponds to the JSON property entityTypesUri

Returns:

  • (String)


2243
2244
2245
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2243

def entity_types_uri
  @entity_types_uri
end

#language_codeString

Optional. The language to retrieve the entity type for. The following fields are language dependent: * EntityType.entities.value * EntityType.entities. synonyms * EntityType.excluded_phrases.value If not specified, all language dependent fields will be retrieved. Many languages are supported. Note: languages must be enabled in the agent before they can be used. Corresponds to the JSON property languageCode

Returns:

  • (String)


2253
2254
2255
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2253

def language_code
  @language_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2260
2261
2262
2263
2264
2265
2266
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2260

def update!(**args)
  @data_format = args[:data_format] if args.key?(:data_format)
  @entity_types = args[:entity_types] if args.key?(:entity_types)
  @entity_types_content_inline = args[:entity_types_content_inline] if args.key?(:entity_types_content_inline)
  @entity_types_uri = args[:entity_types_uri] if args.key?(:entity_types_uri)
  @language_code = args[:language_code] if args.key?(:language_code)
end