From 42e8caeceef94e95a930e6148c6da0cbb5b5ebde Mon Sep 17 00:00:00 2001
From: Yoshi Automation Instance Methods
close()
Close httplib2 connections.
- search(pageSize=None, pageToken=None, query=None, x__xgafv=None)
search(pageSize=None, pageToken=None, product_productLine=None, product_productSubline=None, query=None, x__xgafv=None)
Retrieve valid classifications to use when creating a support case. Classifications are hierarchical. Each classification is a string containing all levels of the hierarchy separated by `" > "`. For example, `"Technical Issue > Compute > Compute Engine"`. Classification IDs returned by this endpoint are valid for at least six months. When a classification is deactivated, this endpoint immediately stops returning it. After six months, `case.create` requests using the classification will fail. EXAMPLES: cURL: ```shell curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ 'https://cloudsupport.googleapis.com/v2/caseClassifications:search?query=display_name:"*Compute%20Engine*"' ``` Python: ```python import googleapiclient.discovery supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version="v2", discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=v2", ) request = supportApiService.caseClassifications().search( query='display_name:"*Compute Engine*"' ) print(request.execute()) ```
@@ -90,12 +90,18 @@search(pageSize=None, pageToken=None, query=None, x__xgafv=None)
+ search(pageSize=None, pageToken=None, product_productLine=None, product_productSubline=None, query=None, x__xgafv=None)
Retrieve valid classifications to use when creating a support case. Classifications are hierarchical. Each classification is a string containing all levels of the hierarchy separated by `" > "`. For example, `"Technical Issue > Compute > Compute Engine"`. Classification IDs returned by this endpoint are valid for at least six months. When a classification is deactivated, this endpoint immediately stops returning it. After six months, `case.create` requests using the classification will fail. EXAMPLES: cURL: ```shell curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ 'https://cloudsupport.googleapis.com/v2/caseClassifications:search?query=display_name:"*Compute%20Engine*"' ``` Python: ```python import googleapiclient.discovery supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version="v2", discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=v2", ) request = supportApiService.caseClassifications().search( query='display_name:"*Compute Engine*"' ) print(request.execute()) ``` Args: pageSize: integer, The maximum number of classifications fetched with each request. pageToken: string, A token identifying the page of results to return. If unspecified, the first page is retrieved. + product_productLine: string, The Product Line of the Product. + Allowed values + PRODUCT_LINE_UNSPECIFIED - Unknown product type. + GOOGLE_CLOUD - Google Cloud + GOOGLE_MAPS - Google Maps + product_productSubline: string, The Product Subline of the Product, such as "Maps Billing". query: string, An expression used to filter case classifications. If it's an empty string, then no filtering happens. Otherwise, case classifications will be returned that match the filter. x__xgafv: string, V1 error format. Allowed values diff --git a/googleapiclient/discovery_cache/documents/cloudsupport.v2.json b/googleapiclient/discovery_cache/documents/cloudsupport.v2.json index 1bc98f3679..3e4f7d3919 100644 --- a/googleapiclient/discovery_cache/documents/cloudsupport.v2.json +++ b/googleapiclient/discovery_cache/documents/cloudsupport.v2.json @@ -552,7 +552,7 @@ } } }, -"revision": "20240122", +"revision": "20240204", "rootUrl": "https://cloudsupport.googleapis.com/", "schemas": { "Actor": { diff --git a/googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json b/googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json index 707175b1a1..4d28f1494d 100644 --- a/googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json +++ b/googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json @@ -125,6 +125,26 @@ "location": "query", "type": "string" }, +"product.productLine": { +"description": "The Product Line of the Product.", +"enum": [ +"PRODUCT_LINE_UNSPECIFIED", +"GOOGLE_CLOUD", +"GOOGLE_MAPS" +], +"enumDescriptions": [ +"Unknown product type.", +"Google Cloud", +"Google Maps" +], +"location": "query", +"type": "string" +}, +"product.productSubline": { +"description": "The Product Subline of the Product, such as \"Maps Billing\".", +"location": "query", +"type": "string" +}, "query": { "description": "An expression used to filter case classifications. If it's an empty string, then no filtering happens. Otherwise, case classifications will be returned that match the filter.", "location": "query", @@ -563,7 +583,7 @@ } } }, -"revision": "20240122", +"revision": "20240204", "rootUrl": "https://cloudsupport.googleapis.com/", "schemas": { "Actor": {