Skip to content

Commit

Permalink
feat(cloudsupport): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Feb 8, 2022
1 parent 6726e1c commit d11e33d
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 22 deletions.
36 changes: 22 additions & 14 deletions docs/dyn/cloudsupport_v2beta.cases.html
Expand Up @@ -97,14 +97,14 @@ <h2>Instance Methods</h2>
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieve the specified case.</p>
<p class="toc_element">
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieve all cases under the specified parent.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<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>
<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>
<p class="toc_element">
<code><a href="#search">search(pageSize=None, pageToken=None, query=None, x__xgafv=None)</a></code></p>
<p class="firstline">Search cases using the specified query.</p>
Expand Down Expand Up @@ -148,7 +148,8 @@ <h3>Method Details</h3>
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
&quot;A String&quot;,
Expand Down Expand Up @@ -184,7 +185,8 @@ <h3>Method Details</h3>
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
&quot;A String&quot;,
Expand Down Expand Up @@ -218,7 +220,8 @@ <h3>Method Details</h3>
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
&quot;A String&quot;,
Expand Down Expand Up @@ -277,7 +280,8 @@ <h3>Method Details</h3>
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
&quot;A String&quot;,
Expand Down Expand Up @@ -318,7 +322,8 @@ <h3>Method Details</h3>
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
&quot;A String&quot;,
Expand All @@ -330,13 +335,12 @@ <h3>Method Details</h3>
</div>

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

Args:
parent: string, Required. The fully qualified name of parent resource to list cases under. (required)
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;).
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`
pageSize: integer, The maximum number of cases fetched with each request. Defaults to 10.
pageToken: string, A token identifying the page of results to return. If unspecified, the first page is retrieved.
x__xgafv: string, V1 error format.
Expand Down Expand Up @@ -365,7 +369,8 @@ <h3>Method Details</h3>
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
&quot;A String&quot;,
Expand Down Expand Up @@ -395,7 +400,7 @@ <h3>Method Details</h3>

<div class="method">
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
<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.
<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.

Args:
name: string, The resource name for the case. (required)
Expand All @@ -418,7 +423,8 @@ <h3>Method Details</h3>
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
&quot;A String&quot;,
Expand Down Expand Up @@ -453,7 +459,8 @@ <h3>Method Details</h3>
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
&quot;A String&quot;,
Expand Down Expand Up @@ -498,7 +505,8 @@ <h3>Method Details</h3>
&quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
&quot;escalated&quot;: True or False, # Whether the case is currently escalated.
&quot;name&quot;: &quot;A String&quot;, # The resource name for the case.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case.
&quot;priority&quot;: &quot;A String&quot;, # The priority of this case. If this is set, do not set severity.
&quot;severity&quot;: &quot;A String&quot;, # The severity of this case. Deprecated. Use priority instead.
&quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
&quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
&quot;A String&quot;,
Expand Down
31 changes: 23 additions & 8 deletions googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json
Expand Up @@ -298,11 +298,6 @@
"location": "query",
"type": "string"
},
"orderBy": {
"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`",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The maximum number of cases fetched with each request. Defaults to 10.",
"format": "int32",
Expand Down Expand Up @@ -331,7 +326,7 @@
]
},
"patch": {
"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.",
"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.",
"flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}",
"httpMethod": "PATCH",
"id": "cloudsupport.cases.patch",
Expand Down Expand Up @@ -580,7 +575,7 @@
}
}
},
"revision": "20220122",
"revision": "20220201",
"rootUrl": "https://cloudsupport.googleapis.com/",
"schemas": {
"Actor": {
Expand Down Expand Up @@ -710,8 +705,28 @@
"description": "The resource name for the case.",
"type": "string"
},
"priority": {
"description": "The priority of this case. If this is set, do not set severity.",
"enum": [
"PRIORITY_UNSPECIFIED",
"P0",
"P1",
"P2",
"P3",
"P4"
],
"enumDescriptions": [
"Severity is undefined or has not been set yet.",
"Extreme impact on a production service. Service is hard down.",
"Critical impact on a production service. Service is currently unusable.",
"Severe impact on a production service. Service is usable but greatly impaired.",
"Medium impact on a production service. Service is available, but moderately impaired.",
"General questions or minor issues. Production service is fully available."
],
"type": "string"
},
"severity": {
"description": "The severity of this case.",
"description": "The severity of this case. Deprecated. Use priority instead.",
"enum": [
"SEVERITY_UNSPECIFIED",
"S0",
Expand Down

0 comments on commit d11e33d

Please sign in to comment.