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.



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

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)


2219
2220
2221
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2219

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>)


2225
2226
2227
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2225

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)


2230
2231
2232
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2230

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)


2241
2242
2243
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2241

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)


2251
2252
2253
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2251

def language_code
  @language_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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