From d11e33dea5ca90726a71fafd728fd75de176461d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 8 Feb 2022 07:07:39 +0000 Subject: [PATCH] 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) --- docs/dyn/cloudsupport_v2beta.cases.html | 36 +++++++++++-------- .../documents/cloudsupport.v2beta.json | 31 +++++++++++----- 2 files changed, 45 insertions(+), 22 deletions(-) diff --git a/docs/dyn/cloudsupport_v2beta.cases.html b/docs/dyn/cloudsupport_v2beta.cases.html index 6ad47022854..2ba0763c20d 100644 --- a/docs/dyn/cloudsupport_v2beta.cases.html +++ b/docs/dyn/cloudsupport_v2beta.cases.html @@ -97,14 +97,14 @@

Instance Methods

get(name, x__xgafv=None)

Retrieve the specified case.

- list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)

+ list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

Retrieve all cases under the specified parent.

list_next(previous_request, previous_response)

Retrieves the next page of results.

patch(name, body=None, updateMask=None, x__xgafv=None)

-

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.

+

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.

search(pageSize=None, pageToken=None, query=None, x__xgafv=None)

Search cases using the specified query.

@@ -148,7 +148,8 @@

Method Details

"displayName": "A String", # The short summary of the issue reported in this case. "escalated": True or False, # Whether the case is currently escalated. "name": "A String", # The resource name for the case. - "severity": "A String", # The severity of this case. + "priority": "A String", # The priority of this case. If this is set, do not set severity. + "severity": "A String", # The severity of this case. Deprecated. Use priority instead. "state": "A String", # Output only. The current status of the support case. "subscriberEmailAddresses": [ # The email addresses to receive updates on this case. "A String", @@ -184,7 +185,8 @@

Method Details

"displayName": "A String", # The short summary of the issue reported in this case. "escalated": True or False, # Whether the case is currently escalated. "name": "A String", # The resource name for the case. - "severity": "A String", # The severity of this case. + "priority": "A String", # The priority of this case. If this is set, do not set severity. + "severity": "A String", # The severity of this case. Deprecated. Use priority instead. "state": "A String", # Output only. The current status of the support case. "subscriberEmailAddresses": [ # The email addresses to receive updates on this case. "A String", @@ -218,7 +220,8 @@

Method Details

"displayName": "A String", # The short summary of the issue reported in this case. "escalated": True or False, # Whether the case is currently escalated. "name": "A String", # The resource name for the case. - "severity": "A String", # The severity of this case. + "priority": "A String", # The priority of this case. If this is set, do not set severity. + "severity": "A String", # The severity of this case. Deprecated. Use priority instead. "state": "A String", # Output only. The current status of the support case. "subscriberEmailAddresses": [ # The email addresses to receive updates on this case. "A String", @@ -277,7 +280,8 @@

Method Details

"displayName": "A String", # The short summary of the issue reported in this case. "escalated": True or False, # Whether the case is currently escalated. "name": "A String", # The resource name for the case. - "severity": "A String", # The severity of this case. + "priority": "A String", # The priority of this case. If this is set, do not set severity. + "severity": "A String", # The severity of this case. Deprecated. Use priority instead. "state": "A String", # Output only. The current status of the support case. "subscriberEmailAddresses": [ # The email addresses to receive updates on this case. "A String", @@ -318,7 +322,8 @@

Method Details

"displayName": "A String", # The short summary of the issue reported in this case. "escalated": True or False, # Whether the case is currently escalated. "name": "A String", # The resource name for the case. - "severity": "A String", # The severity of this case. + "priority": "A String", # The priority of this case. If this is set, do not set severity. + "severity": "A String", # The severity of this case. Deprecated. Use priority instead. "state": "A String", # Output only. The current status of the support case. "subscriberEmailAddresses": [ # The email addresses to receive updates on this case. "A String", @@ -330,13 +335,12 @@

Method Details

- list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None) + list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
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. "my search").
-  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.
@@ -365,7 +369,8 @@ 

Method Details

"displayName": "A String", # The short summary of the issue reported in this case. "escalated": True or False, # Whether the case is currently escalated. "name": "A String", # The resource name for the case. - "severity": "A String", # The severity of this case. + "priority": "A String", # The priority of this case. If this is set, do not set severity. + "severity": "A String", # The severity of this case. Deprecated. Use priority instead. "state": "A String", # Output only. The current status of the support case. "subscriberEmailAddresses": [ # The email addresses to receive updates on this case. "A String", @@ -395,7 +400,7 @@

Method Details

patch(name, body=None, updateMask=None, x__xgafv=None) -
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.
+  
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)
@@ -418,7 +423,8 @@ 

Method Details

"displayName": "A String", # The short summary of the issue reported in this case. "escalated": True or False, # Whether the case is currently escalated. "name": "A String", # The resource name for the case. - "severity": "A String", # The severity of this case. + "priority": "A String", # The priority of this case. If this is set, do not set severity. + "severity": "A String", # The severity of this case. Deprecated. Use priority instead. "state": "A String", # Output only. The current status of the support case. "subscriberEmailAddresses": [ # The email addresses to receive updates on this case. "A String", @@ -453,7 +459,8 @@

Method Details

"displayName": "A String", # The short summary of the issue reported in this case. "escalated": True or False, # Whether the case is currently escalated. "name": "A String", # The resource name for the case. - "severity": "A String", # The severity of this case. + "priority": "A String", # The priority of this case. If this is set, do not set severity. + "severity": "A String", # The severity of this case. Deprecated. Use priority instead. "state": "A String", # Output only. The current status of the support case. "subscriberEmailAddresses": [ # The email addresses to receive updates on this case. "A String", @@ -498,7 +505,8 @@

Method Details

"displayName": "A String", # The short summary of the issue reported in this case. "escalated": True or False, # Whether the case is currently escalated. "name": "A String", # The resource name for the case. - "severity": "A String", # The severity of this case. + "priority": "A String", # The priority of this case. If this is set, do not set severity. + "severity": "A String", # The severity of this case. Deprecated. Use priority instead. "state": "A String", # Output only. The current status of the support case. "subscriberEmailAddresses": [ # The email addresses to receive updates on this case. "A String", diff --git a/googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json b/googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json index 41de2bb49e6..63b4f09760e 100644 --- a/googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json +++ b/googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json @@ -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", @@ -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", @@ -580,7 +575,7 @@ } } }, - "revision": "20220122", + "revision": "20220201", "rootUrl": "https://cloudsupport.googleapis.com/", "schemas": { "Actor": { @@ -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",