Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModel
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModel
- 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
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
The representative name for the issue model.
-
#input_data_config ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig
Configs for the input data used to create the issue model.
-
#name ⇒ String
Immutable.
-
#state ⇒ String
Output only.
-
#training_stats ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats
Aggregated statistics about an issue model.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1IssueModel
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1IssueModel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1IssueModel
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1IssueModel.
2916 2917 2918 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2916 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time at which this issue model was created.
Corresponds to the JSON property createTime
2883 2884 2885 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2883 def create_time @create_time end |
#display_name ⇒ String
The representative name for the issue model.
Corresponds to the JSON property displayName
2888 2889 2890 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2888 def display_name @display_name end |
#input_data_config ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig
Configs for the input data used to create the issue model.
Corresponds to the JSON property inputDataConfig
2893 2894 2895 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2893 def input_data_config @input_data_config end |
#name ⇒ String
Immutable. The resource name of the issue model. Format: projects/project
/
locations/location
/issueModels/issue_model
Corresponds to the JSON property name
2899 2900 2901 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2899 def name @name end |
#state ⇒ String
Output only. State of the model.
Corresponds to the JSON property state
2904 2905 2906 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2904 def state @state end |
#training_stats ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats
Aggregated statistics about an issue model.
Corresponds to the JSON property trainingStats
2909 2910 2911 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2909 def training_stats @training_stats end |
#update_time ⇒ String
Output only. The most recent time at which the issue model was updated.
Corresponds to the JSON property updateTime
2914 2915 2916 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2914 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2921 2922 2923 2924 2925 2926 2927 2928 2929 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2921 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 |