Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#entities ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity>
Corresponds to the JSON property
entities. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
constructor
A new instance of GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
Returns a new instance of GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest.
11871 11872 11873 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11871 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entities ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity>
Corresponds to the JSON property entities
11864 11865 11866 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11864 def entities @entities end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
11869 11870 11871 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11869 def language_code @language_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11876 11877 11878 11879 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11876 def update!(**args) @entities = args[:entities] if args.key?(:entities) @language_code = args[:language_code] if args.key?(:language_code) end |