class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest

The request message for EntityTypes.BatchUpdateEntityTypes.

Attributes

entity_type_batch_inline[RW]

This message is a wrapper around a collection of entity types. Corresponds to the JSON property `entityTypeBatchInline` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeBatch]

entity_type_batch_uri[RW]

The URI to a Google Cloud Storage file containing entity types to update or create. The file format can either be a serialized proto (of EntityBatch type) or a JSON object. Note: The URI must start with “gs://”. Corresponds to the JSON property `entityTypeBatchUri` @return [String]

language_code[RW]

Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](cloud.google.com/dialogflow/docs/agents- multilingual#intent-entity). Corresponds to the JSON property `languageCode` @return [String]

update_mask[RW]

Optional. The mask to control which fields get updated. Corresponds to the JSON property `updateMask` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 8301
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 8306
def update!(**args)
  @entity_type_batch_inline = args[:entity_type_batch_inline] if args.key?(:entity_type_batch_inline)
  @entity_type_batch_uri = args[:entity_type_batch_uri] if args.key?(:entity_type_batch_uri)
  @language_code = args[:language_code] if args.key?(:language_code)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end