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.
6806 6807 6808 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6806 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
6772 6773 6774 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6772 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
6778 6779 6780 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6778 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
6783 6784 6785 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6783 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
6794 6795 6796 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6794 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
6804 6805 6806 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6804 def language_code @language_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6811 6812 6813 6814 6815 6816 6817 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6811 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 |