Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchCreateEntitiesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchCreateEntitiesRequest
- 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
-
#entities ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityTypeEntity>
Corresponds to the JSON property
entities. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2BatchCreateEntitiesRequest
constructor
A new instance of GoogleCloudDialogflowV2BatchCreateEntitiesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2BatchCreateEntitiesRequest
Returns a new instance of GoogleCloudDialogflowV2BatchCreateEntitiesRequest.
7763 7764 7765 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7763 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entities ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityTypeEntity>
Corresponds to the JSON property entities
7756 7757 7758 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7756 def entities @entities end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
7761 7762 7763 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7761 def language_code @language_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7768 7769 7770 7771 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7768 def update!(**args) @entities = args[:entities] if args.key?(:entities) @language_code = args[:language_code] if args.key?(:language_code) end |