Skip to content

Commit 21c37b2

Browse files
feat(cloudsupport): update the api
#### cloudsupport:v2beta The following keys were added: - resources.caseClassifications.methods.search.parameters.product.productLine (Total Keys: 2) - resources.cases.methods.list.parameters.productLine (Total Keys: 2) - resources.cases.methods.showFeed (Total Keys: 18) - schemas.CaseClassification.properties.product.$ref (Total Keys: 1) - schemas.EmailMessage (Total Keys: 18) - schemas.FeedItem (Total Keys: 13) - schemas.Product (Total Keys: 3) - schemas.ShowFeedResponse (Total Keys: 5) - schemas.TextContent (Total Keys: 4)
1 parent 3e1779c commit 21c37b2

File tree

4 files changed

+362
-6
lines changed

4 files changed

+362
-6
lines changed

docs/dyn/cloudsupport_v2beta.caseClassifications.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#search">search(pageSize=None, pageToken=None, query=None, x__xgafv=None)</a></code></p>
81+
<code><a href="#search">search(pageSize=None, pageToken=None, product_productLine=None, query=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">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()) ```</p>
8383
<p class="toc_element">
8484
<code><a href="#search_next">search_next()</a></code></p>
@@ -90,12 +90,17 @@ <h3>Method Details</h3>
9090
</div>
9191

9292
<div class="method">
93-
<code class="details" id="search">search(pageSize=None, pageToken=None, query=None, x__xgafv=None)</code>
93+
<code class="details" id="search">search(pageSize=None, pageToken=None, product_productLine=None, query=None, x__xgafv=None)</code>
9494
<pre>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 `&quot; &gt; &quot;`. For example, `&quot;Technical Issue &gt; Compute &gt; Compute Engine&quot;`. 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 &quot;Authorization: Bearer $(gcloud auth print-access-token)&quot; \ &#x27;https://cloudsupport.googleapis.com/v2/caseClassifications:search?query=display_name:&quot;*Compute%20Engine*&quot;&#x27; ``` Python: ```python import googleapiclient.discovery supportApiService = googleapiclient.discovery.build( serviceName=&quot;cloudsupport&quot;, version=&quot;v2&quot;, discoveryServiceUrl=f&quot;https://cloudsupport.googleapis.com/$discovery/rest?version=v2&quot;, ) request = supportApiService.caseClassifications().search( query=&#x27;display_name:&quot;*Compute Engine*&quot;&#x27; ) print(request.execute()) ```
9595

9696
Args:
9797
pageSize: integer, The maximum number of classifications fetched with each request.
9898
pageToken: string, A token identifying the page of results to return. If unspecified, the first page is retrieved.
99+
product_productLine: string, The product line of the Product.
100+
Allowed values
101+
PRODUCT_LINE_UNSPECIFIED - Unknown product type.
102+
GOOGLE_CLOUD - Google Cloud
103+
GOOGLE_MAPS - Google Maps
99104
query: string, An expression used to filter case classifications. If it&#x27;s an empty string, then no filtering happens. Otherwise, case classifications will be returned that match the filter.
100105
x__xgafv: string, V1 error format.
101106
Allowed values
@@ -110,6 +115,9 @@ <h3>Method Details</h3>
110115
{ # A Case Classification represents the topic that a case is about. It&#x27;s very important to use accurate classifications, because they&#x27;re used to route your cases to specialists who can help you. A classification always has an ID that is its unique identifier. A valid ID is required when creating a case.
111116
&quot;displayName&quot;: &quot;A String&quot;, # A display name for the classification. The display name is not static and can change. To uniquely and consistently identify classifications, use the `CaseClassification.id` field.
112117
&quot;id&quot;: &quot;A String&quot;, # The unique ID for a classification. Must be specified for case creation. To retrieve valid classification IDs for case creation, use `caseClassifications.search`. Classification IDs returned by `caseClassifications.search` are guaranteed to be valid for at least 6 months. If a given classification is deactiveated, it will immediately stop being returned. After 6 months, `case.create` requests using the classification ID will fail.
118+
&quot;product&quot;: { # The product a case may be associated with. # The full product the classification corresponds to.
119+
&quot;productLine&quot;: &quot;A String&quot;, # The product line of the Product.
120+
},
113121
},
114122
],
115123
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `caseClassifications.list` requests. If unspecified, there are no more results to retrieve.

0 commit comments

Comments
 (0)