Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CreateIssueModelRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CreateIssueModelRequest
- 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
-
#issue_model ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel
The issue model resource.
-
#parent ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1CreateIssueModelRequest
constructor
A new instance of GoogleCloudContactcenterinsightsV1CreateIssueModelRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1CreateIssueModelRequest
Returns a new instance of GoogleCloudContactcenterinsightsV1CreateIssueModelRequest.
953 954 955 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 953 def initialize(**args) update!(**args) end |
Instance Attribute Details
#issue_model ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel
The issue model resource.
Corresponds to the JSON property issueModel
946 947 948 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 946 def issue_model @issue_model end |
#parent ⇒ String
Required. The parent resource of the issue model.
Corresponds to the JSON property parent
951 952 953 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 951 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
958 959 960 961 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 958 def update!(**args) @issue_model = args[:issue_model] if args.key?(:issue_model) @parent = args[:parent] if args.key?(:parent) end |