Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest
- 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.ExportEntityTypes.
Instance Attribute Summary collapse
-
#data_format ⇒ String
Optional.
-
#entity_types ⇒ Array<String>
Required.
-
#entity_types_content_inline ⇒ Boolean
(also: #entity_types_content_inline?)
Optional.
-
#entity_types_uri ⇒ String
Optional.
-
#language_code ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest
Returns a new instance of GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest.
7712 7713 7714 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7712 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_format ⇒ String
Optional. The data format of the exported entity types. If not specified,
BLOB is assumed.
Corresponds to the JSON property dataFormat
7678 7679 7680 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7678 def data_format @data_format end |
#entity_types ⇒ Array<String>
Required. The name of the entity types to export. Format: projects//locations/
/agents//entityTypes/.
Corresponds to the JSON property entityTypes
7684 7685 7686 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7684 def entity_types @entity_types end |
#entity_types_content_inline ⇒ Boolean Also known as: entity_types_content_inline?
Optional. The option to return the serialized entity types inline.
Corresponds to the JSON property entityTypesContentInline
7689 7690 7691 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7689 def entity_types_content_inline @entity_types_content_inline end |
#entity_types_uri ⇒ String
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
7700 7701 7702 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7700 def entity_types_uri @entity_types_uri end |
#language_code ⇒ String
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
7710 7711 7712 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7710 def language_code @language_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7717 7718 7719 7720 7721 7722 7723 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7717 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 |