Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModel

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1IssueModel

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1IssueModel.



5149
5150
5151
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5149

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


5111
5112
5113
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5111

def create_time
  @create_time
end

#display_nameString

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

Returns:

  • (String)


5116
5117
5118
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5116

def display_name
  @display_name
end

#input_data_configGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig

Configs for the input data used to create the issue model. Corresponds to the JSON property inputDataConfig



5121
5122
5123
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5121

def input_data_config
  @input_data_config
end

#issue_countFixnum

Output only. Number of issues in this issue model. Corresponds to the JSON property issueCount

Returns:

  • (Fixnum)


5126
5127
5128
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5126

def issue_count
  @issue_count
end

#nameString

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

Returns:

  • (String)


5132
5133
5134
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5132

def name
  @name
end

#stateString

Output only. State of the model. Corresponds to the JSON property state

Returns:

  • (String)


5137
5138
5139
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5137

def state
  @state
end

#training_statsGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats

Aggregated statistics about an issue model. Corresponds to the JSON property trainingStats



5142
5143
5144
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5142

def training_stats
  @training_stats
end

#update_timeString

Output only. The most recent time at which the issue model was updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


5147
5148
5149
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5147

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5154

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