Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest

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 request to create an issue model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest.



5214
5215
5216
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5214

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

Instance Attribute Details

#issue_modelGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModel

The issue model resource. Corresponds to the JSON property issueModel



5207
5208
5209
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5207

def issue_model
  @issue_model
end

#parentString

Required. The parent resource of the issue model. Corresponds to the JSON property parent

Returns:

  • (String)


5212
5213
5214
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5212

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5219
5220
5221
5222
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5219

def update!(**args)
  @issue_model = args[:issue_model] if args.key?(:issue_model)
  @parent = args[:parent] if args.key?(:parent)
end