@@ -1850,6 +1850,37 @@ def update!(**args)
18501850 end
18511851 end
18521852
1853+ # Metadata for creating an issue.
1854+ class GoogleCloudContactcenterinsightsV1CreateIssueMetadata
1855+ include Google ::Apis ::Core ::Hashable
1856+
1857+ # Output only. The time the operation was created.
1858+ # Corresponds to the JSON property `createTime`
1859+ # @return [String]
1860+ attr_accessor :create_time
1861+
1862+ # Output only. The time the operation finished running.
1863+ # Corresponds to the JSON property `endTime`
1864+ # @return [String]
1865+ attr_accessor :end_time
1866+
1867+ # The request to create an issue.
1868+ # Corresponds to the JSON property `request`
1869+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CreateIssueRequest]
1870+ attr_accessor :request
1871+
1872+ def initialize ( **args )
1873+ update! ( **args )
1874+ end
1875+
1876+ # Update properties of this object
1877+ def update! ( **args )
1878+ @create_time = args [ :create_time ] if args . key? ( :create_time )
1879+ @end_time = args [ :end_time ] if args . key? ( :end_time )
1880+ @request = args [ :request ] if args . key? ( :request )
1881+ end
1882+ end
1883+
18531884 # Metadata for creating an issue model.
18541885 class GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata
18551886 include Google ::Apis ::Core ::Hashable
@@ -1906,6 +1937,31 @@ def update!(**args)
19061937 end
19071938 end
19081939
1940+ # The request to create an issue.
1941+ class GoogleCloudContactcenterinsightsV1CreateIssueRequest
1942+ include Google ::Apis ::Core ::Hashable
1943+
1944+ # The issue resource.
1945+ # Corresponds to the JSON property `issue`
1946+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue]
1947+ attr_accessor :issue
1948+
1949+ # Required. The parent resource of the issue.
1950+ # Corresponds to the JSON property `parent`
1951+ # @return [String]
1952+ attr_accessor :parent
1953+
1954+ def initialize ( **args )
1955+ update! ( **args )
1956+ end
1957+
1958+ # Update properties of this object
1959+ def update! ( **args )
1960+ @issue = args [ :issue ] if args . key? ( :issue )
1961+ @parent = args [ :parent ] if args . key? ( :parent )
1962+ end
1963+ end
1964+
19091965 # Metadata for deleting an issue model.
19101966 class GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata
19111967 include Google ::Apis ::Core ::Hashable
@@ -6995,6 +7051,37 @@ def update!(**args)
69957051 end
69967052 end
69977053
7054+ # Metadata for creating an issue.
7055+ class GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata
7056+ include Google ::Apis ::Core ::Hashable
7057+
7058+ # Output only. The time the operation was created.
7059+ # Corresponds to the JSON property `createTime`
7060+ # @return [String]
7061+ attr_accessor :create_time
7062+
7063+ # Output only. The time the operation finished running.
7064+ # Corresponds to the JSON property `endTime`
7065+ # @return [String]
7066+ attr_accessor :end_time
7067+
7068+ # The request to create an issue.
7069+ # Corresponds to the JSON property `request`
7070+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest]
7071+ attr_accessor :request
7072+
7073+ def initialize ( **args )
7074+ update! ( **args )
7075+ end
7076+
7077+ # Update properties of this object
7078+ def update! ( **args )
7079+ @create_time = args [ :create_time ] if args . key? ( :create_time )
7080+ @end_time = args [ :end_time ] if args . key? ( :end_time )
7081+ @request = args [ :request ] if args . key? ( :request )
7082+ end
7083+ end
7084+
69987085 # Metadata for creating an issue model.
69997086 class GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata
70007087 include Google ::Apis ::Core ::Hashable
@@ -7051,6 +7138,31 @@ def update!(**args)
70517138 end
70527139 end
70537140
7141+ # The request to create an issue.
7142+ class GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest
7143+ include Google ::Apis ::Core ::Hashable
7144+
7145+ # The issue resource.
7146+ # Corresponds to the JSON property `issue`
7147+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1Issue]
7148+ attr_accessor :issue
7149+
7150+ # Required. The parent resource of the issue.
7151+ # Corresponds to the JSON property `parent`
7152+ # @return [String]
7153+ attr_accessor :parent
7154+
7155+ def initialize ( **args )
7156+ update! ( **args )
7157+ end
7158+
7159+ # Update properties of this object
7160+ def update! ( **args )
7161+ @issue = args [ :issue ] if args . key? ( :issue )
7162+ @parent = args [ :parent ] if args . key? ( :parent )
7163+ end
7164+ end
7165+
70547166 # Metadata for deleting an issue model.
70557167 class GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata
70567168 include Google ::Apis ::Core ::Hashable
@@ -8391,6 +8503,57 @@ def update!(**args)
83918503 end
83928504 end
83938505
8506+ # The issue resource.
8507+ class GoogleCloudContactcenterinsightsV1alpha1Issue
8508+ include Google ::Apis ::Core ::Hashable
8509+
8510+ # Output only. The time at which this issue was created.
8511+ # Corresponds to the JSON property `createTime`
8512+ # @return [String]
8513+ attr_accessor :create_time
8514+
8515+ # Representative description of the issue.
8516+ # Corresponds to the JSON property `displayDescription`
8517+ # @return [String]
8518+ attr_accessor :display_description
8519+
8520+ # The representative name for the issue.
8521+ # Corresponds to the JSON property `displayName`
8522+ # @return [String]
8523+ attr_accessor :display_name
8524+
8525+ # Immutable. The resource name of the issue. Format: projects/`project`/
8526+ # locations/`location`/issueModels/`issue_model`/issues/`issue`
8527+ # Corresponds to the JSON property `name`
8528+ # @return [String]
8529+ attr_accessor :name
8530+
8531+ # Output only. Resource names of the sample representative utterances that match
8532+ # to this issue.
8533+ # Corresponds to the JSON property `sampleUtterances`
8534+ # @return [Array<String>]
8535+ attr_accessor :sample_utterances
8536+
8537+ # Output only. The most recent time that this issue was updated.
8538+ # Corresponds to the JSON property `updateTime`
8539+ # @return [String]
8540+ attr_accessor :update_time
8541+
8542+ def initialize ( **args )
8543+ update! ( **args )
8544+ end
8545+
8546+ # Update properties of this object
8547+ def update! ( **args )
8548+ @create_time = args [ :create_time ] if args . key? ( :create_time )
8549+ @display_description = args [ :display_description ] if args . key? ( :display_description )
8550+ @display_name = args [ :display_name ] if args . key? ( :display_name )
8551+ @name = args [ :name ] if args . key? ( :name )
8552+ @sample_utterances = args [ :sample_utterances ] if args . key? ( :sample_utterances )
8553+ @update_time = args [ :update_time ] if args . key? ( :update_time )
8554+ end
8555+ end
8556+
83948557 # Information about the issue.
83958558 class GoogleCloudContactcenterinsightsV1alpha1IssueAssignment
83968559 include Google ::Apis ::Core ::Hashable
0 commit comments