Skip to content

Commit d11e33d

Browse files
feat(cloudsupport): update the api
#### cloudsupport:v2beta The following keys were deleted: - resources.cases.methods.list.parameters.orderBy (Total Keys: 2) The following keys were added: - schemas.Case.properties.priority.type (Total Keys: 1)
1 parent 6726e1c commit d11e33d

File tree

2 files changed

+45
-22
lines changed

2 files changed

+45
-22
lines changed

docs/dyn/cloudsupport_v2beta.cases.html

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,14 @@ <h2>Instance Methods</h2>
9797
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
9898
<p class="firstline">Retrieve the specified case.</p>
9999
<p class="toc_element">
100-
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
100+
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
101101
<p class="firstline">Retrieve all cases under the specified parent.</p>
102102
<p class="toc_element">
103103
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
104104
<p class="firstline">Retrieves the next page of results.</p>
105105
<p class="toc_element">
106106
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
107-
<p class="firstline">Update the specified case. Only a subset of fields (display_name, description, time_zone, subscriber_email_addresses, related_resources, severity, primary_contact, and labels) can be updated.</p>
107+
<p class="firstline">Update the specified case. Only a subset of fields (display_name, description, time_zone, subscriber_email_addresses, related_resources, severity, priority, primary_contact, and labels) can be updated.</p>
108108
<p class="toc_element">
109109
<code><a href="#search">search(pageSize=None, pageToken=None, query=None, x__xgafv=None)</a></code></p>
110110
<p class="firstline">Search cases using the specified query.</p>
@@ -148,7 +148,8 @@ <h3>Method Details</h3>
148148
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
149149
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
150150
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
151-
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
151+
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
152+
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
152153
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
153154
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
154155
&quot;A String&quot;,
@@ -184,7 +185,8 @@ <h3>Method Details</h3>
184185
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
185186
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
186187
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
187-
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
188+
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
189+
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
188190
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
189191
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
190192
&quot;A String&quot;,
@@ -218,7 +220,8 @@ <h3>Method Details</h3>
218220
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
219221
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
220222
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
221-
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
223+
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
224+
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
222225
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
223226
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
224227
&quot;A String&quot;,
@@ -277,7 +280,8 @@ <h3>Method Details</h3>
277280
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
278281
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
279282
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
280-
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
283+
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
284+
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
281285
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
282286
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
283287
&quot;A String&quot;,
@@ -318,7 +322,8 @@ <h3>Method Details</h3>
318322
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
319323
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
320324
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
321-
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
325+
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
326+
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
322327
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
323328
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
324329
&quot;A String&quot;,
@@ -330,13 +335,12 @@ <h3>Method Details</h3>
330335
</div>
331336

332337
<div class="method">
333-
<code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
338+
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
334339
<pre>Retrieve all cases under the specified parent.
335340

336341
Args:
337342
parent: string, Required. The fully qualified name of parent resource to list cases under. (required)
338343
filter: string, An expression written in the Cloud filter language. If non-empty, then only cases whose fields match the filter are returned. If empty, then no messages are filtered out. Filter strings can use the following fields: - status (Accepted values: OPEN or CLOSED) - severity (Accepted values: S0, S1, S2, S3, or S4) - creator.email with the operators equals (=) and AND. Additionally, a global restriction (with no operator) can be used to search across displayName, description, and comments (e.g. &quot;my search&quot;).
339-
orderBy: string, A comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc`
340344
pageSize: integer, The maximum number of cases fetched with each request. Defaults to 10.
341345
pageToken: string, A token identifying the page of results to return. If unspecified, the first page is retrieved.
342346
x__xgafv: string, V1 error format.
@@ -365,7 +369,8 @@ <h3>Method Details</h3>
365369
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
366370
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
367371
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
368-
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
372+
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
373+
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
369374
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
370375
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
371376
&quot;A String&quot;,
@@ -395,7 +400,7 @@ <h3>Method Details</h3>
395400

396401
<div class="method">
397402
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
398-
<pre>Update the specified case. Only a subset of fields (display_name, description, time_zone, subscriber_email_addresses, related_resources, severity, primary_contact, and labels) can be updated.
403+
<pre>Update the specified case. Only a subset of fields (display_name, description, time_zone, subscriber_email_addresses, related_resources, severity, priority, primary_contact, and labels) can be updated.
399404

400405
Args:
401406
name: string, The resource name for the case. (required)
@@ -418,7 +423,8 @@ <h3>Method Details</h3>
418423
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
419424
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
420425
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
421-
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
426+
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
427+
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
422428
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
423429
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
424430
&quot;A String&quot;,
@@ -453,7 +459,8 @@ <h3>Method Details</h3>
453459
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
454460
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
455461
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
456-
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
462+
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
463+
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
457464
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
458465
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
459466
&quot;A String&quot;,
@@ -498,7 +505,8 @@ <h3>Method Details</h3>
498505
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
499506
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
500507
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
501-
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
508+
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
509+
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
502510
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
503511
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
504512
&quot;A String&quot;,

googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -298,11 +298,6 @@
298298
"location": "query",
299299
"type": "string"
300300
},
301-
"orderBy": {
302-
"description": "A comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc`",
303-
"location": "query",
304-
"type": "string"
305-
},
306301
"pageSize": {
307302
"description": "The maximum number of cases fetched with each request. Defaults to 10.",
308303
"format": "int32",
@@ -331,7 +326,7 @@
331326
]
332327
},
333328
"patch": {
334-
"description": "Update the specified case. Only a subset of fields (display_name, description, time_zone, subscriber_email_addresses, related_resources, severity, primary_contact, and labels) can be updated.",
329+
"description": "Update the specified case. Only a subset of fields (display_name, description, time_zone, subscriber_email_addresses, related_resources, severity, priority, primary_contact, and labels) can be updated.",
335330
"flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}",
336331
"httpMethod": "PATCH",
337332
"id": "cloudsupport.cases.patch",
@@ -580,7 +575,7 @@
580575
}
581576
}
582577
},
583-
"revision": "20220122",
578+
"revision": "20220201",
584579
"rootUrl": "https://cloudsupport.googleapis.com/",
585580
"schemas": {
586581
"Actor": {
@@ -710,8 +705,28 @@
710705
"description": "The resource name for the case.",
711706
"type": "string"
712707
},
708+
"priority": {
709+
"description": "The priority of this case. If this is set, do not set severity.",
710+
"enum": [
711+
"PRIORITY_UNSPECIFIED",
712+
"P0",
713+
"P1",
714+
"P2",
715+
"P3",
716+
"P4"
717+
],
718+
"enumDescriptions": [
719+
"Severity is undefined or has not been set yet.",
720+
"Extreme impact on a production service. Service is hard down.",
721+
"Critical impact on a production service. Service is currently unusable.",
722+
"Severe impact on a production service. Service is usable but greatly impaired.",
723+
"Medium impact on a production service. Service is available, but moderately impaired.",
724+
"General questions or minor issues. Production service is fully available."
725+
],
726+
"type": "string"
727+
},
713728
"severity": {
714-
"description": "The severity of this case.",
729+
"description": "The severity of this case. Deprecated. Use priority instead.",
715730
"enum": [
716731
"SEVERITY_UNSPECIFIED",
717732
"S0",

0 commit comments

Comments
 (0)