Skip to content

Commit f1048c4

Browse files
feat(contactcenterinsights): update the api
#### contactcenterinsights:v1 The following keys were added: - resources.projects.resources.locations.resources.issueModels.resources.issues.methods.create (Total Keys: 12) - schemas.GoogleCloudContactcenterinsightsV1CreateIssueMetadata (Total Keys: 9) - schemas.GoogleCloudContactcenterinsightsV1CreateIssueRequest (Total Keys: 4) - schemas.GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata (Total Keys: 9) - schemas.GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest (Total Keys: 4) - schemas.GoogleCloudContactcenterinsightsV1alpha1Issue (Total Keys: 13)
1 parent 9eee0e1 commit f1048c4

File tree

2 files changed

+196
-1
lines changed

2 files changed

+196
-1
lines changed

docs/dyn/contactcenterinsights_v1.projects.locations.issueModels.issues.html

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ <h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Creates an issue.</p>
8083
<p class="toc_element">
8184
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
8285
<p class="firstline">Deletes an issue.</p>
@@ -95,6 +98,55 @@ <h3>Method Details</h3>
9598
<pre>Close httplib2 connections.</pre>
9699
</div>
97100

101+
<div class="method">
102+
<code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
103+
<pre>Creates an issue.
104+
105+
Args:
106+
parent: string, Required. The parent resource of the issue. (required)
107+
body: object, The request body.
108+
The object takes the form of:
109+
110+
{ # The issue resource.
111+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this issue was created.
112+
&quot;displayDescription&quot;: &quot;A String&quot;, # Representative description of the issue.
113+
&quot;displayName&quot;: &quot;A String&quot;, # The representative name for the issue.
114+
&quot;name&quot;: &quot;A String&quot;, # Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}
115+
&quot;sampleUtterances&quot;: [ # Output only. Resource names of the sample representative utterances that match to this issue.
116+
&quot;A String&quot;,
117+
],
118+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time that this issue was updated.
119+
}
120+
121+
x__xgafv: string, V1 error format.
122+
Allowed values
123+
1 - v1 error format
124+
2 - v2 error format
125+
126+
Returns:
127+
An object of the form:
128+
129+
{ # This resource represents a long-running operation that is the result of a network API call.
130+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
131+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
132+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
133+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
134+
{
135+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
136+
},
137+
],
138+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
139+
},
140+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
141+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
142+
},
143+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
144+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
145+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
146+
},
147+
}</pre>
148+
</div>
149+
98150
<div class="method">
99151
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
100152
<pre>Deletes an issue.

googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json

Lines changed: 144 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1519,6 +1519,34 @@
15191519
"resources": {
15201520
"issues": {
15211521
"methods": {
1522+
"create": {
1523+
"description": "Creates an issue.",
1524+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues",
1525+
"httpMethod": "POST",
1526+
"id": "contactcenterinsights.projects.locations.issueModels.issues.create",
1527+
"parameterOrder": [
1528+
"parent"
1529+
],
1530+
"parameters": {
1531+
"parent": {
1532+
"description": "Required. The parent resource of the issue.",
1533+
"location": "path",
1534+
"pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$",
1535+
"required": true,
1536+
"type": "string"
1537+
}
1538+
},
1539+
"path": "v1/{+parent}/issues",
1540+
"request": {
1541+
"$ref": "GoogleCloudContactcenterinsightsV1Issue"
1542+
},
1543+
"response": {
1544+
"$ref": "GoogleLongrunningOperation"
1545+
},
1546+
"scopes": [
1547+
"https://www.googleapis.com/auth/cloud-platform"
1548+
]
1549+
},
15221550
"delete": {
15231551
"description": "Deletes an issue.",
15241552
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/issueModels/{issueModelsId}/issues/{issuesId}",
@@ -2581,7 +2609,7 @@
25812609
}
25822610
}
25832611
},
2584-
"revision": "20241209",
2612+
"revision": "20241218",
25852613
"rootUrl": "https://contactcenterinsights.googleapis.com/",
25862614
"schemas": {
25872615
"GoogleCloudContactcenterinsightsV1Analysis": {
@@ -3915,6 +3943,29 @@
39153943
},
39163944
"type": "object"
39173945
},
3946+
"GoogleCloudContactcenterinsightsV1CreateIssueMetadata": {
3947+
"description": "Metadata for creating an issue.",
3948+
"id": "GoogleCloudContactcenterinsightsV1CreateIssueMetadata",
3949+
"properties": {
3950+
"createTime": {
3951+
"description": "Output only. The time the operation was created.",
3952+
"format": "google-datetime",
3953+
"readOnly": true,
3954+
"type": "string"
3955+
},
3956+
"endTime": {
3957+
"description": "Output only. The time the operation finished running.",
3958+
"format": "google-datetime",
3959+
"readOnly": true,
3960+
"type": "string"
3961+
},
3962+
"request": {
3963+
"$ref": "GoogleCloudContactcenterinsightsV1CreateIssueRequest",
3964+
"description": "The original request for creation."
3965+
}
3966+
},
3967+
"type": "object"
3968+
},
39183969
"GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata": {
39193970
"description": "Metadata for creating an issue model.",
39203971
"id": "GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata",
@@ -3953,6 +4004,21 @@
39534004
},
39544005
"type": "object"
39554006
},
4007+
"GoogleCloudContactcenterinsightsV1CreateIssueRequest": {
4008+
"description": "The request to create an issue.",
4009+
"id": "GoogleCloudContactcenterinsightsV1CreateIssueRequest",
4010+
"properties": {
4011+
"issue": {
4012+
"$ref": "GoogleCloudContactcenterinsightsV1Issue",
4013+
"description": "Required. The values for the new issue."
4014+
},
4015+
"parent": {
4016+
"description": "Required. The parent resource of the issue.",
4017+
"type": "string"
4018+
}
4019+
},
4020+
"type": "object"
4021+
},
39564022
"GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata": {
39574023
"description": "Metadata for deleting an issue model.",
39584024
"id": "GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata",
@@ -7568,6 +7634,29 @@
75687634
},
75697635
"type": "object"
75707636
},
7637+
"GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata": {
7638+
"description": "Metadata for creating an issue.",
7639+
"id": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata",
7640+
"properties": {
7641+
"createTime": {
7642+
"description": "Output only. The time the operation was created.",
7643+
"format": "google-datetime",
7644+
"readOnly": true,
7645+
"type": "string"
7646+
},
7647+
"endTime": {
7648+
"description": "Output only. The time the operation finished running.",
7649+
"format": "google-datetime",
7650+
"readOnly": true,
7651+
"type": "string"
7652+
},
7653+
"request": {
7654+
"$ref": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest",
7655+
"description": "The original request for creation."
7656+
}
7657+
},
7658+
"type": "object"
7659+
},
75717660
"GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata": {
75727661
"description": "Metadata for creating an issue model.",
75737662
"id": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata",
@@ -7606,6 +7695,21 @@
76067695
},
76077696
"type": "object"
76087697
},
7698+
"GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest": {
7699+
"description": "The request to create an issue.",
7700+
"id": "GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest",
7701+
"properties": {
7702+
"issue": {
7703+
"$ref": "GoogleCloudContactcenterinsightsV1alpha1Issue",
7704+
"description": "Required. The values for the new issue."
7705+
},
7706+
"parent": {
7707+
"description": "Required. The parent resource of the issue.",
7708+
"type": "string"
7709+
}
7710+
},
7711+
"type": "object"
7712+
},
76097713
"GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata": {
76107714
"description": "Metadata for deleting an issue model.",
76117715
"id": "GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata",
@@ -8523,6 +8627,45 @@
85238627
"properties": {},
85248628
"type": "object"
85258629
},
8630+
"GoogleCloudContactcenterinsightsV1alpha1Issue": {
8631+
"description": "The issue resource.",
8632+
"id": "GoogleCloudContactcenterinsightsV1alpha1Issue",
8633+
"properties": {
8634+
"createTime": {
8635+
"description": "Output only. The time at which this issue was created.",
8636+
"format": "google-datetime",
8637+
"readOnly": true,
8638+
"type": "string"
8639+
},
8640+
"displayDescription": {
8641+
"description": "Representative description of the issue.",
8642+
"type": "string"
8643+
},
8644+
"displayName": {
8645+
"description": "The representative name for the issue.",
8646+
"type": "string"
8647+
},
8648+
"name": {
8649+
"description": "Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}",
8650+
"type": "string"
8651+
},
8652+
"sampleUtterances": {
8653+
"description": "Output only. Resource names of the sample representative utterances that match to this issue.",
8654+
"items": {
8655+
"type": "string"
8656+
},
8657+
"readOnly": true,
8658+
"type": "array"
8659+
},
8660+
"updateTime": {
8661+
"description": "Output only. The most recent time that this issue was updated.",
8662+
"format": "google-datetime",
8663+
"readOnly": true,
8664+
"type": "string"
8665+
}
8666+
},
8667+
"type": "object"
8668+
},
85268669
"GoogleCloudContactcenterinsightsV1alpha1IssueAssignment": {
85278670
"description": "Information about the issue.",
85288671
"id": "GoogleCloudContactcenterinsightsV1alpha1IssueAssignment",

0 commit comments

Comments
 (0)