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.



7868
7869
7870
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7868

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

Instance Attribute Details

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

Corresponds to the JSON property entities



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

def entities
  @entities
end

#language_codeString

Corresponds to the JSON property languageCode

Returns:

  • (String)


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

def language_code
  @language_code
end

#update_maskString

Corresponds to the JSON property updateMask

Returns:

  • (String)


7866
7867
7868
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7866

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7873
7874
7875
7876
7877
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7873

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