Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb
Overview
Suggestion generated using free form generator.
Instance Attribute Summary collapse
-
#labels ⇒ Array<String>
Optional.
-
#response ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion.
6415 6416 6417 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6415 def initialize(**args) update!(**args) end |
Instance Attribute Details
#labels ⇒ Array<String>
Optional. Labels for the generator.
Corresponds to the JSON property labels
6408 6409 6410 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6408 def labels @labels end |
#response ⇒ String
Required. Free form suggestion.
Corresponds to the JSON property response
6413 6414 6415 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6413 def response @response end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6420 6421 6422 6423 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6420 def update!(**args) @labels = args[:labels] if args.key?(:labels) @response = args[:response] if args.key?(:response) end |