Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel

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) ⇒ GoogleCloudContactcenterinsightsV1IssueModel

Returns a new instance of GoogleCloudContactcenterinsightsV1IssueModel.



1677
1678
1679
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1677

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)


1644
1645
1646
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1644

def create_time
  @create_time
end

#display_nameString

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

Returns:

  • (String)


1649
1650
1651
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1649

def display_name
  @display_name
end

#input_data_configGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig

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



1654
1655
1656
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1654

def input_data_config
  @input_data_config
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)


1660
1661
1662
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1660

def name
  @name
end

#stateString

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

Returns:

  • (String)


1665
1666
1667
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1665

def state
  @state
end

#training_statsGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModelLabelStats

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



1670
1671
1672
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1670

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)


1675
1676
1677
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1675

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1682
1683
1684
1685
1686
1687
1688
1689
1690
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1682

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)
  @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