class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest

The request message for EntityTypes.BatchUpdateEntities.

Attributes

entities[RW]

Required. The entities to update or create. Corresponds to the JSON property `entities` @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity>]

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 8260
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 8265
def update!(**args)
  @entities = args[:entities] if args.key?(:entities)
  @language_code = args[:language_code] if args.key?(:language_code)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end