Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponse

Inherits:
Object
  • Object
show all
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

The response for generative insights.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponse

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponse.



12759
12760
12761
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12759

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

Instance Attribute Details

#generative_responsesArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponse>

The full list of generative responses. Each response is ordered by time. Corresponds to the JSON property generativeResponses



12752
12753
12754
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12752

def generative_responses
  @generative_responses
end

#transcriptGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscript

The conversation transcript for the chart. Corresponds to the JSON property transcript



12757
12758
12759
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12757

def transcript
  @transcript
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12764
12765
12766
12767
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12764

def update!(**args)
  @generative_responses = args[:generative_responses] if args.key?(:generative_responses)
  @transcript = args[:transcript] if args.key?(:transcript)
end