Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FreeFormSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FreeFormSuggestion
- 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) ⇒ GoogleCloudContactcenterinsightsV1FreeFormSuggestion
constructor
A new instance of GoogleCloudContactcenterinsightsV1FreeFormSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1FreeFormSuggestion
Returns a new instance of GoogleCloudContactcenterinsightsV1FreeFormSuggestion.
2252 2253 2254 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2252 def initialize(**args) update!(**args) end |
Instance Attribute Details
#labels ⇒ Array<String>
Optional. Labels for the generator.
Corresponds to the JSON property labels
2245 2246 2247 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2245 def labels @labels end |
#response ⇒ String
Required. Free form suggestion.
Corresponds to the JSON property response
2250 2251 2252 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2250 def response @response end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2257 2258 2259 2260 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2257 def update!(**args) @labels = args[:labels] if args.key?(:labels) @response = args[:response] if args.key?(:response) end |