Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchUpdateEntitiesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2BatchUpdateEntitiesRequest

Returns a new instance of GoogleCloudDialogflowV2BatchUpdateEntitiesRequest.



7856
7857
7858
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7856

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#entitiesArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityTypeEntity>

Corresponds to the JSON property entities



7844
7845
7846
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7844

def entities
  @entities
end

#language_codeString

Corresponds to the JSON property languageCode

Returns:

  • (String)


7849
7850
7851
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7849

def language_code
  @language_code
end

#update_maskString

Corresponds to the JSON property updateMask

Returns:

  • (String)


7854
7855
7856
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7854

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7861
7862
7863
7864
7865
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7861

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