Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainCreateIssueModelRequest

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

Returns a new instance of GoogleCloudContactcenterinsightsV1mainCreateIssueModelRequest.



18669
18670
18671
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18669

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

Instance Attribute Details

#issue_modelGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainIssueModel

The issue model resource. Corresponds to the JSON property issueModel



18662
18663
18664
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18662

def issue_model
  @issue_model
end

#parentString

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

Returns:

  • (String)


18667
18668
18669
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18667

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18674
18675
18676
18677
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18674

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