Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis

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 analysis resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1Analysis

Returns a new instance of GoogleCloudContactcenterinsightsV1Analysis.



51
52
53
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 51

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

Instance Attribute Details

#analysis_resultGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisResult

The result of an analysis. Corresponds to the JSON property analysisResult



32
33
34
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 32

def analysis_result
  @analysis_result
end

#create_timeString

Output only. The time at which the analysis was created, which occurs when the long-running operation completes. Corresponds to the JSON property createTime

Returns:

  • (String)


38
39
40
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 38

def create_time
  @create_time
end

#nameString

Immutable. The resource name of the analysis. Format: projects/project/ locations/location/conversations/conversation/analyses/analysis Corresponds to the JSON property name

Returns:

  • (String)


44
45
46
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 44

def name
  @name
end

#request_timeString

Output only. The time at which the analysis was requested. Corresponds to the JSON property requestTime

Returns:

  • (String)


49
50
51
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 49

def request_time
  @request_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



56
57
58
59
60
61
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 56

def update!(**args)
  @analysis_result = args[:analysis_result] if args.key?(:analysis_result)
  @create_time = args[:create_time] if args.key?(:create_time)
  @name = args[:name] if args.key?(:name)
  @request_time = args[:request_time] if args.key?(:request_time)
end