Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1Issue

Returns a new instance of GoogleCloudContactcenterinsightsV1Issue.



2210
2211
2212
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2210

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

Instance Attribute Details

#create_timeString

Output only. The time at which this issue was created. Corresponds to the JSON property createTime

Returns:

  • (String)


2186
2187
2188
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2186

def create_time
  @create_time
end

#display_nameString

The representative name for the issue. Corresponds to the JSON property displayName

Returns:

  • (String)


2191
2192
2193
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2191

def display_name
  @display_name
end

#nameString

Immutable. The resource name of the issue. Format: projects/project/ locations/location/issueModels/issue_model/issues/issue Corresponds to the JSON property name

Returns:

  • (String)


2197
2198
2199
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2197

def name
  @name
end

#sample_utterancesArray<String>

Output only. Resource names of the sample representative utterances that match to this issue. Corresponds to the JSON property sampleUtterances

Returns:

  • (Array<String>)


2203
2204
2205
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2203

def sample_utterances
  @sample_utterances
end

#update_timeString

Output only. The most recent time that this issue was updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


2208
2209
2210
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2208

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2215
2216
2217
2218
2219
2220
2221
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2215

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @sample_utterances = args[:sample_utterances] if args.key?(:sample_utterances)
  @update_time = args[:update_time] if args.key?(:update_time)
end