1{
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
7 }
8 }
9 }
10 },
11 "basePath": "",
12 "baseUrl": "https://cloudsupport.googleapis.com/",
13 "batchPath": "batch",
14 "canonicalName": "Cloud Support",
15 "description": "Manages Google Cloud technical support cases for Customer Care support offerings. ",
16 "discoveryVersion": "v1",
17 "documentationLink": "https://cloud.google.com/support/docs/apis",
18 "fullyEncodeReservedExpansion": true,
19 "icons": {
20 "x16": "http://www.google.com/images/icons/product/search-16.gif",
21 "x32": "http://www.google.com/images/icons/product/search-32.gif"
22 },
23 "id": "cloudsupport:v2beta",
24 "kind": "discovery#restDescription",
25 "mtlsRootUrl": "https://cloudsupport.mtls.googleapis.com/",
26 "name": "cloudsupport",
27 "ownerDomain": "google.com",
28 "ownerName": "Google",
29 "parameters": {
30 "$.xgafv": {
31 "description": "V1 error format.",
32 "enum": [
33 "1",
34 "2"
35 ],
36 "enumDescriptions": [
37 "v1 error format",
38 "v2 error format"
39 ],
40 "location": "query",
41 "type": "string"
42 },
43 "access_token": {
44 "description": "OAuth access token.",
45 "location": "query",
46 "type": "string"
47 },
48 "alt": {
49 "default": "json",
50 "description": "Data format for response.",
51 "enum": [
52 "json",
53 "media",
54 "proto"
55 ],
56 "enumDescriptions": [
57 "Responses with Content-Type of application/json",
58 "Media download with context-dependent Content-Type",
59 "Responses with Content-Type of application/x-protobuf"
60 ],
61 "location": "query",
62 "type": "string"
63 },
64 "callback": {
65 "description": "JSONP",
66 "location": "query",
67 "type": "string"
68 },
69 "fields": {
70 "description": "Selector specifying which fields to include in a partial response.",
71 "location": "query",
72 "type": "string"
73 },
74 "key": {
75 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
76 "location": "query",
77 "type": "string"
78 },
79 "oauth_token": {
80 "description": "OAuth 2.0 token for the current user.",
81 "location": "query",
82 "type": "string"
83 },
84 "prettyPrint": {
85 "default": "true",
86 "description": "Returns response with indentations and line breaks.",
87 "location": "query",
88 "type": "boolean"
89 },
90 "quotaUser": {
91 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
92 "location": "query",
93 "type": "string"
94 },
95 "uploadType": {
96 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
97 "location": "query",
98 "type": "string"
99 },
100 "upload_protocol": {
101 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
102 "location": "query",
103 "type": "string"
104 }
105 },
106 "protocol": "rest",
107 "resources": {
108 "caseClassifications": {
109 "methods": {
110 "search": {
111 "description": "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 `\" \u003e \"`. For example, `\"Technical Issue \u003e Compute \u003e 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()) ```",
112 "flatPath": "v2beta/caseClassifications:search",
113 "httpMethod": "GET",
114 "id": "cloudsupport.caseClassifications.search",
115 "parameterOrder": [],
116 "parameters": {
117 "pageSize": {
118 "description": "The maximum number of classifications fetched with each request.",
119 "format": "int32",
120 "location": "query",
121 "type": "integer"
122 },
123 "pageToken": {
124 "description": "A token identifying the page of results to return. If unspecified, the first page is retrieved.",
125 "location": "query",
126 "type": "string"
127 },
128 "product.productLine": {
129 "description": "The product line of the Product.",
130 "enum": [
131 "PRODUCT_LINE_UNSPECIFIED",
132 "GOOGLE_CLOUD",
133 "GOOGLE_MAPS"
134 ],
135 "enumDescriptions": [
136 "Unknown product type.",
137 "Google Cloud",
138 "Google Maps"
139 ],
140 "location": "query",
141 "type": "string"
142 },
143 "query": {
144 "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.",
145 "location": "query",
146 "type": "string"
147 }
148 },
149 "path": "v2beta/caseClassifications:search",
150 "response": {
151 "$ref": "SearchCaseClassificationsResponse"
152 },
153 "scopes": [
154 "https://www.googleapis.com/auth/cloud-platform"
155 ]
156 }
157 }
158 },
159 "cases": {
160 "methods": {
161 "close": {
162 "description": "Close a case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case:close\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().close( name=\"projects/some-project/cases/43595344\" ) print(request.execute()) ```",
163 "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}:close",
164 "httpMethod": "POST",
165 "id": "cloudsupport.cases.close",
166 "parameterOrder": [
167 "name"
168 ],
169 "parameters": {
170 "name": {
171 "description": "Required. The name of the case to close.",
172 "location": "path",
173 "pattern": "^[^/]+/[^/]+/cases/[^/]+$",
174 "required": true,
175 "type": "string"
176 }
177 },
178 "path": "v2beta/{+name}:close",
179 "request": {
180 "$ref": "CloseCaseRequest"
181 },
182 "response": {
183 "$ref": "Case"
184 },
185 "scopes": [
186 "https://www.googleapis.com/auth/cloud-platform"
187 ]
188 },
189 "create": {
190 "description": "Create a new case and associate it with a parent. It must have the following fields set: `display_name`, `description`, `classification`, and `priority`. If you're just testing the API and don't want to route your case to an agent, set `testCase=true`. EXAMPLES: cURL: ```shell parent=\"projects/some-project\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header 'Content-Type: application/json' \\ --data '{ \"display_name\": \"Test case created by me.\", \"description\": \"a random test case, feel free to close\", \"classification\": { \"id\": \"100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8\" }, \"time_zone\": \"-07:00\", \"subscriber_email_addresses\": [ \"foo@domain.com\", \"bar@domain.com\" ], \"testCase\": true, \"priority\": \"P3\" }' \\ \"https://cloudsupport.googleapis.com/v2/$parent/cases\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().create( parent=\"projects/some-project\", body={ \"displayName\": \"A Test Case\", \"description\": \"This is a test case.\", \"testCase\": True, \"priority\": \"P2\", \"classification\": { \"id\": \"100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8\" }, }, ) print(request.execute()) ```",
191 "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases",
192 "httpMethod": "POST",
193 "id": "cloudsupport.cases.create",
194 "parameterOrder": [
195 "parent"
196 ],
197 "parameters": {
198 "parent": {
199 "description": "Required. The name of the parent under which the case should be created.",
200 "location": "path",
201 "pattern": "^[^/]+/[^/]+$",
202 "required": true,
203 "type": "string"
204 }
205 },
206 "path": "v2beta/{+parent}/cases",
207 "request": {
208 "$ref": "Case"
209 },
210 "response": {
211 "$ref": "Case"
212 },
213 "scopes": [
214 "https://www.googleapis.com/auth/cloud-platform"
215 ]
216 },
217 "escalate": {
218 "description": "Escalate a case, starting the Google Cloud Support escalation management process. This operation is only available for some support services. Go to https://cloud.google.com/support and look for 'Technical support escalations' in the feature list to find out which ones let you do that. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header \"Content-Type: application/json\" \\ --data '{ \"escalation\": { \"reason\": \"BUSINESS_IMPACT\", \"justification\": \"This is a test escalation.\" } }' \\ \"https://cloudsupport.googleapis.com/v2/$case:escalate\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().escalate( name=\"projects/some-project/cases/43595344\", body={ \"escalation\": { \"reason\": \"BUSINESS_IMPACT\", \"justification\": \"This is a test escalation.\", }, }, ) print(request.execute()) ```",
219 "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}:escalate",
220 "httpMethod": "POST",
221 "id": "cloudsupport.cases.escalate",
222 "parameterOrder": [
223 "name"
224 ],
225 "parameters": {
226 "name": {
227 "description": "Required. The name of the case to be escalated.",
228 "location": "path",
229 "pattern": "^[^/]+/[^/]+/cases/[^/]+$",
230 "required": true,
231 "type": "string"
232 }
233 },
234 "path": "v2beta/{+name}:escalate",
235 "request": {
236 "$ref": "EscalateCaseRequest"
237 },
238 "response": {
239 "$ref": "Case"
240 },
241 "scopes": [
242 "https://www.googleapis.com/auth/cloud-platform"
243 ]
244 },
245 "get": {
246 "description": "Retrieve a case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/16033687\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().get( name=\"projects/some-project/cases/43595344\", ) print(request.execute()) ```",
247 "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}",
248 "httpMethod": "GET",
249 "id": "cloudsupport.cases.get",
250 "parameterOrder": [
251 "name"
252 ],
253 "parameters": {
254 "name": {
255 "description": "Required. The full name of a case to be retrieved.",
256 "location": "path",
257 "pattern": "^[^/]+/[^/]+/cases/[^/]+$",
258 "required": true,
259 "type": "string"
260 }
261 },
262 "path": "v2beta/{+name}",
263 "response": {
264 "$ref": "Case"
265 },
266 "scopes": [
267 "https://www.googleapis.com/auth/cloud-platform"
268 ]
269 },
270 "list": {
271 "description": "Retrieve all cases under a parent, but not its children. For example, listing cases under an organization only returns the cases that are directly parented by that organization. To retrieve cases under an organization and its projects, use `cases.search`. EXAMPLES: cURL: ```shell parent=\"projects/some-project\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$parent/cases\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().list(parent=\"projects/some-project\") print(request.execute()) ```",
272 "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases",
273 "httpMethod": "GET",
274 "id": "cloudsupport.cases.list",
275 "parameterOrder": [
276 "parent"
277 ],
278 "parameters": {
279 "filter": {
280 "description": "An expression used to filter cases. If it's an empty string, then no filtering happens. Otherwise, the endpoint returns the cases that match the filter. Expressions use the following fields separated by `AND` and specified with `=`: - `state`: Can be `OPEN` or `CLOSED`. - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You can specify multiple values for priority using the `OR` operator. For example, `priority=P1 OR priority=P2`. - `creator.email`: The email address of the case creator. EXAMPLES: - `state=CLOSED` - `state=OPEN AND creator.email=\"tester@example.com\"` - `state=OPEN AND (priority=P0 OR priority=P1)`",
281 "location": "query",
282 "type": "string"
283 },
284 "pageSize": {
285 "description": "The maximum number of cases fetched with each request. Defaults to 10.",
286 "format": "int32",
287 "location": "query",
288 "type": "integer"
289 },
290 "pageToken": {
291 "description": "A token identifying the page of results to return. If unspecified, the first page is retrieved.",
292 "location": "query",
293 "type": "string"
294 },
295 "parent": {
296 "description": "Required. The name of a parent to list cases under.",
297 "location": "path",
298 "pattern": "^[^/]+/[^/]+$",
299 "required": true,
300 "type": "string"
301 },
302 "productLine": {
303 "description": "The product line to request cases for. If unspecified, only Google Cloud cases will be returned.",
304 "enum": [
305 "PRODUCT_LINE_UNSPECIFIED",
306 "GOOGLE_CLOUD",
307 "GOOGLE_MAPS"
308 ],
309 "enumDescriptions": [
310 "Unknown product type.",
311 "Google Cloud",
312 "Google Maps"
313 ],
314 "location": "query",
315 "type": "string"
316 }
317 },
318 "path": "v2beta/{+parent}/cases",
319 "response": {
320 "$ref": "ListCasesResponse"
321 },
322 "scopes": [
323 "https://www.googleapis.com/auth/cloud-platform"
324 ]
325 },
326 "patch": {
327 "description": "Update a case. Only some fields can be updated. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --request PATCH \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header \"Content-Type: application/json\" \\ --data '{ \"priority\": \"P1\" }' \\ \"https://cloudsupport.googleapis.com/v2/$case?updateMask=priority\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().patch( name=\"projects/some-project/cases/43112854\", body={ \"displayName\": \"This is Now a New Title\", \"priority\": \"P2\", }, ) print(request.execute()) ```",
328 "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}",
329 "httpMethod": "PATCH",
330 "id": "cloudsupport.cases.patch",
331 "parameterOrder": [
332 "name"
333 ],
334 "parameters": {
335 "name": {
336 "description": "The resource name for the case.",
337 "location": "path",
338 "pattern": "^[^/]+/[^/]+/cases/[^/]+$",
339 "required": true,
340 "type": "string"
341 },
342 "updateMask": {
343 "description": "A list of attributes of the case that should be updated. Supported values are `priority`, `display_name`, and `subscriber_email_addresses`. If no fields are specified, all supported fields are updated. Be careful - if you do not provide a field mask, then you might accidentally clear some fields. For example, if you leave the field mask empty and do not provide a value for `subscriber_email_addresses`, then `subscriber_email_addresses` is updated to empty.",
344 "format": "google-fieldmask",
345 "location": "query",
346 "type": "string"
347 }
348 },
349 "path": "v2beta/{+name}",
350 "request": {
351 "$ref": "Case"
352 },
353 "response": {
354 "$ref": "Case"
355 },
356 "scopes": [
357 "https://www.googleapis.com/auth/cloud-platform"
358 ]
359 },
360 "search": {
361 "description": "Search for cases using a query. EXAMPLES: cURL: ```shell parent=\"projects/some-project\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$parent/cases:search\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().search( parent=\"projects/some-project\", query=\"state=OPEN\" ) print(request.execute()) ```",
362 "flatPath": "v2beta/cases:search",
363 "httpMethod": "GET",
364 "id": "cloudsupport.cases.search",
365 "parameterOrder": [],
366 "parameters": {
367 "pageSize": {
368 "description": "The maximum number of cases fetched with each request. The default page size is 10.",
369 "format": "int32",
370 "location": "query",
371 "type": "integer"
372 },
373 "pageToken": {
374 "description": "A token identifying the page of results to return. If unspecified, the first page is retrieved.",
375 "location": "query",
376 "type": "string"
377 },
378 "parent": {
379 "description": "The name of the parent resource to search for cases under.",
380 "location": "query",
381 "type": "string"
382 },
383 "query": {
384 "description": "An expression used to filter cases. Expressions use the following fields separated by `AND` and specified with `=`: - `organization`: An organization name in the form `organizations/`. - `project`: A project name in the form `projects/`. - `state`: Can be `OPEN` or `CLOSED`. - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You can specify multiple values for priority using the `OR` operator. For example, `priority=P1 OR priority=P2`. - `creator.email`: The email address of the case creator. You must specify either `organization` or `project`. To search across `displayName`, `description`, and comments, use a global restriction with no keyword or operator. For example, `\"my search\"`. To search only cases updated after a certain date, use `update_time` restricted with that particular date, time, and timezone in ISO datetime format. For example, `update_time\u003e\"2020-01-01T00:00:00-05:00\"`. `update_time` only supports the greater than operator (`\u003e`). Examples: - `organization=\"organizations/123456789\"` - `project=\"projects/my-project-id\"` - `project=\"projects/123456789\"` - `organization=\"organizations/123456789\" AND state=CLOSED` - `project=\"projects/my-project-id\" AND creator.email=\"tester@example.com\"` - `project=\"projects/my-project-id\" AND (priority=P0 OR priority=P1)`",
385 "location": "query",
386 "type": "string"
387 }
388 },
389 "path": "v2beta/cases:search",
390 "response": {
391 "$ref": "SearchCasesResponse"
392 },
393 "scopes": [
394 "https://www.googleapis.com/auth/cloud-platform"
395 ]
396 },
397 "showFeed": {
398 "description": "Show items in the feed of this case, including case emails, attachments, and comments.",
399 "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}:showFeed",
400 "httpMethod": "GET",
401 "id": "cloudsupport.cases.showFeed",
402 "parameterOrder": [
403 "parent"
404 ],
405 "parameters": {
406 "orderBy": {
407 "description": "Optional. Field to order feed items by, followed by `asc` or `desc` postfix. The only valid field is `creation_time`. This list is case-insensitive, default sorting order is ascending, and the redundant space characters are insignificant. Example: `creation_time desc`",
408 "location": "query",
409 "type": "string"
410 },
411 "pageSize": {
412 "description": "Optional. The maximum number of feed items fetched with each request.",
413 "format": "int32",
414 "location": "query",
415 "type": "integer"
416 },
417 "pageToken": {
418 "description": "Optional. A token identifying the page of results to return. If unspecified, it retrieves the first page.",
419 "location": "query",
420 "type": "string"
421 },
422 "parent": {
423 "description": "Required. The resource name of the case for which feed items should be listed.",
424 "location": "path",
425 "pattern": "^[^/]+/[^/]+/cases/[^/]+$",
426 "required": true,
427 "type": "string"
428 }
429 },
430 "path": "v2beta/{+parent}:showFeed",
431 "response": {
432 "$ref": "ShowFeedResponse"
433 },
434 "scopes": [
435 "https://www.googleapis.com/auth/cloud-platform"
436 ]
437 }
438 },
439 "resources": {
440 "attachments": {
441 "methods": {
442 "list": {
443 "description": "List all the attachments associated with a support case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/23598314\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case/attachments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .attachments() .list(parent=\"projects/some-project/cases/43595344\") ) print(request.execute()) ```",
444 "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/attachments",
445 "httpMethod": "GET",
446 "id": "cloudsupport.cases.attachments.list",
447 "parameterOrder": [
448 "parent"
449 ],
450 "parameters": {
451 "pageSize": {
452 "description": "The maximum number of attachments fetched with each request. If not provided, the default is 10. The maximum page size that will be returned is 100.",
453 "format": "int32",
454 "location": "query",
455 "type": "integer"
456 },
457 "pageToken": {
458 "description": "A token identifying the page of results to return. If unspecified, the first page is retrieved.",
459 "location": "query",
460 "type": "string"
461 },
462 "parent": {
463 "description": "Required. The name of the case for which attachments should be listed.",
464 "location": "path",
465 "pattern": "^[^/]+/[^/]+/cases/[^/]+$",
466 "required": true,
467 "type": "string"
468 }
469 },
470 "path": "v2beta/{+parent}/attachments",
471 "response": {
472 "$ref": "ListAttachmentsResponse"
473 },
474 "scopes": [
475 "https://www.googleapis.com/auth/cloud-platform"
476 ]
477 }
478 }
479 },
480 "comments": {
481 "methods": {
482 "create": {
483 "description": "Add a new comment to a case. The comment must have the following fields set: `body`. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43591344\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header 'Content-Type: application/json' \\ --data '{ \"body\": \"This is a test comment.\" }' \\ \"https://cloudsupport.googleapis.com/v2/$case/comments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .comments() .create( parent=\"projects/some-project/cases/43595344\", body={\"body\": \"This is a test comment.\"}, ) ) print(request.execute()) ```",
484 "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/comments",
485 "httpMethod": "POST",
486 "id": "cloudsupport.cases.comments.create",
487 "parameterOrder": [
488 "parent"
489 ],
490 "parameters": {
491 "parent": {
492 "description": "Required. The name of the case to which the comment should be added.",
493 "location": "path",
494 "pattern": "^[^/]+/[^/]+/cases/[^/]+$",
495 "required": true,
496 "type": "string"
497 }
498 },
499 "path": "v2beta/{+parent}/comments",
500 "request": {
501 "$ref": "Comment"
502 },
503 "response": {
504 "$ref": "Comment"
505 },
506 "scopes": [
507 "https://www.googleapis.com/auth/cloud-platform"
508 ]
509 },
510 "list": {
511 "description": "List all the comments associated with a case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case/comments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .comments() .list(parent=\"projects/some-project/cases/43595344\") ) print(request.execute()) ```",
512 "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/comments",
513 "httpMethod": "GET",
514 "id": "cloudsupport.cases.comments.list",
515 "parameterOrder": [
516 "parent"
517 ],
518 "parameters": {
519 "pageSize": {
520 "description": "The maximum number of comments to fetch. Defaults to 10.",
521 "format": "int32",
522 "location": "query",
523 "type": "integer"
524 },
525 "pageToken": {
526 "description": "A token identifying the page of results to return. If unspecified, the first page is returned.",
527 "location": "query",
528 "type": "string"
529 },
530 "parent": {
531 "description": "Required. The name of the case for which to list comments.",
532 "location": "path",
533 "pattern": "^[^/]+/[^/]+/cases/[^/]+$",
534 "required": true,
535 "type": "string"
536 }
537 },
538 "path": "v2beta/{+parent}/comments",
539 "response": {
540 "$ref": "ListCommentsResponse"
541 },
542 "scopes": [
543 "https://www.googleapis.com/auth/cloud-platform"
544 ]
545 }
546 }
547 }
548 }
549 },
550 "media": {
551 "methods": {
552 "download": {
553 "description": "Download a file attached to a case. Note: HTTP requests must append \"?alt=media\" to the URL. EXAMPLES: cURL: ```shell name=\"projects/some-project/cases/43594844/attachments/0674M00000WijAnZAJ\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$name:download?alt=media\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.media().download( name=\"projects/some-project/cases/43595344/attachments/0684M00000Pw6pHQAR\" ) request.uri = request.uri.split(\"?\")[0] + \"?alt=media\" print(request.execute()) ```",
554 "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/attachments/{attachmentsId}:download",
555 "httpMethod": "GET",
556 "id": "cloudsupport.media.download",
557 "parameterOrder": [
558 "name"
559 ],
560 "parameters": {
561 "name": {
562 "description": "The name of the file attachment to download.",
563 "location": "path",
564 "pattern": "^[^/]+/[^/]+/cases/[^/]+/attachments/[^/]+$",
565 "required": true,
566 "type": "string"
567 }
568 },
569 "path": "v2beta/{+name}:download",
570 "response": {
571 "$ref": "Media"
572 },
573 "scopes": [
574 "https://www.googleapis.com/auth/cloud-platform"
575 ],
576 "supportsMediaDownload": true,
577 "useMediaDownloadService": true
578 },
579 "upload": {
580 "description": "Create a file attachment on a case or Cloud resource. The attachment must have the following fields set: `filename`. EXAMPLES: cURL: ```shell echo \"This text is in a file I'm uploading using CSAPI.\" \\ \u003e \"./example_file.txt\" case=\"projects/some-project/cases/43594844\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --data-binary @\"./example_file.txt\" \\ \"https://cloudsupport.googleapis.com/upload/v2beta/$case/attachments?attachment.filename=uploaded_via_curl.txt\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) file_path = \"./example_file.txt\" with open(file_path, \"w\") as file: file.write( \"This text is inside a file I'm going to upload using the Cloud Support API.\", ) request = supportApiService.media().upload( parent=\"projects/some-project/cases/43595344\", media_body=file_path ) request.uri = request.uri.split(\"?\")[0] + \"?attachment.filename=uploaded_via_python.txt\" print(request.execute()) ```",
581 "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/attachments",
582 "httpMethod": "POST",
583 "id": "cloudsupport.media.upload",
584 "mediaUpload": {
585 "accept": [
586 "*/*"
587 ],
588 "protocols": {
589 "simple": {
590 "multipart": true,
591 "path": "/upload/v2beta/{+parent}/attachments"
592 }
593 }
594 },
595 "parameterOrder": [
596 "parent"
597 ],
598 "parameters": {
599 "parent": {
600 "description": "Required. The name of the case or Cloud resource to which the attachment should be attached.",
601 "location": "path",
602 "pattern": "^[^/]+/[^/]+/cases/[^/]+$",
603 "required": true,
604 "type": "string"
605 }
606 },
607 "path": "v2beta/{+parent}/attachments",
608 "request": {
609 "$ref": "CreateAttachmentRequest"
610 },
611 "response": {
612 "$ref": "Attachment"
613 },
614 "scopes": [
615 "https://www.googleapis.com/auth/cloud-platform"
616 ],
617 "supportsMediaUpload": true
618 }
619 }
620 }
621 },
622 "revision": "20240429",
623 "rootUrl": "https://cloudsupport.googleapis.com/",
624 "schemas": {
625 "Actor": {
626 "description": "An Actor represents an entity that performed an action. For example, an actor could be a user who posted a comment on a support case, a user who uploaded an attachment, or a service account that created a support case.",
627 "id": "Actor",
628 "properties": {
629 "displayName": {
630 "description": "The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.",
631 "type": "string"
632 },
633 "email": {
634 "deprecated": true,
635 "description": "The email address of the actor. If not provided, it is inferred from the credentials supplied during case creation. When a name is provided, an email must also be provided. If the user is a Google Support agent, this is obfuscated. This field is deprecated. Use **username** field instead.",
636 "type": "string"
637 },
638 "googleSupport": {
639 "description": "Output only. Whether the actor is a Google support actor.",
640 "readOnly": true,
641 "type": "boolean"
642 },
643 "username": {
644 "description": "Output only. The username of the actor. It may look like an email or other format provided by the identity provider. If not provided, it is inferred from the credentials supplied. When a name is provided, a username must also be provided. If the user is a Google Support agent, this will not be set.",
645 "readOnly": true,
646 "type": "string"
647 }
648 },
649 "type": "object"
650 },
651 "Attachment": {
652 "description": "An Attachment contains metadata about a file that was uploaded to a case - it is NOT a file itself. That being said, the name of an Attachment object can be used to download its accompanying file through the `media.download` endpoint. While attachments can be uploaded in the console at the same time as a comment, they're associated on a \"case\" level, not a \"comment\" level.",
653 "id": "Attachment",
654 "properties": {
655 "createTime": {
656 "description": "Output only. The time at which the attachment was created.",
657 "format": "google-datetime",
658 "readOnly": true,
659 "type": "string"
660 },
661 "creator": {
662 "$ref": "Actor",
663 "description": "Output only. The user who uploaded the attachment. Note, the name and email will be obfuscated if the attachment was uploaded by Google support.",
664 "readOnly": true
665 },
666 "filename": {
667 "description": "The filename of the attachment (e.g. `\"graph.jpg\"`).",
668 "type": "string"
669 },
670 "mimeType": {
671 "description": "Output only. The MIME type of the attachment (e.g. text/plain).",
672 "readOnly": true,
673 "type": "string"
674 },
675 "name": {
676 "description": "Output only. The resource name of the attachment.",
677 "readOnly": true,
678 "type": "string"
679 },
680 "sizeBytes": {
681 "description": "Output only. The size of the attachment in bytes.",
682 "format": "int64",
683 "readOnly": true,
684 "type": "string"
685 }
686 },
687 "type": "object"
688 },
689 "Blobstore2Info": {
690 "description": "# gdata.* are outside protos with mising documentation",
691 "id": "Blobstore2Info",
692 "properties": {
693 "blobGeneration": {
694 "description": "# gdata.* are outside protos with mising documentation",
695 "format": "int64",
696 "type": "string"
697 },
698 "blobId": {
699 "description": "# gdata.* are outside protos with mising documentation",
700 "type": "string"
701 },
702 "downloadReadHandle": {
703 "description": "# gdata.* are outside protos with mising documentation",
704 "format": "byte",
705 "type": "string"
706 },
707 "readToken": {
708 "description": "# gdata.* are outside protos with mising documentation",
709 "type": "string"
710 },
711 "uploadMetadataContainer": {
712 "description": "# gdata.* are outside protos with mising documentation",
713 "format": "byte",
714 "type": "string"
715 }
716 },
717 "type": "object"
718 },
719 "Case": {
720 "description": "A Case is an object that contains the details of a support case. It contains fields for the time it was created, its priority, its classification, and more. Cases can also have comments and attachments that get added over time. A case is parented by a Google Cloud organization or project. Organizations are identified by a number, so the name of a case parented by an organization would look like this: ``` organizations/123/cases/456 ``` Projects have two unique identifiers, an ID and a number, and they look like this: ``` projects/abc/cases/456 ``` ``` projects/123/cases/456 ``` You can use either of them when calling the API. To learn more about project identifiers, see [AIP-2510](https://google.aip.dev/cloud/2510).",
721 "id": "Case",
722 "properties": {
723 "classification": {
724 "$ref": "CaseClassification",
725 "description": "The issue classification applicable to this case."
726 },
727 "contactEmail": {
728 "description": "A user-supplied email address to send case update notifications for. This should only be used in BYOID flows, where we cannot infer the user's email address directly from their EUCs.",
729 "type": "string"
730 },
731 "createTime": {
732 "description": "Output only. The time this case was created.",
733 "format": "google-datetime",
734 "readOnly": true,
735 "type": "string"
736 },
737 "creator": {
738 "$ref": "Actor",
739 "description": "The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support."
740 },
741 "description": {
742 "description": "A broad description of the issue.",
743 "type": "string"
744 },
745 "displayName": {
746 "description": "The short summary of the issue reported in this case.",
747 "type": "string"
748 },
749 "escalated": {
750 "description": "Whether the case is currently escalated.",
751 "type": "boolean"
752 },
753 "languageCode": {
754 "description": "The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., `\"en\"`, `\"zh-CN\"`, `\"zh-TW\"`, `\"ja\"`, `\"ko\"`). If no language or an unsupported language is specified, this field defaults to English (en). Language selection during case creation may affect your available support options. For a list of supported languages and their support working hours, see: https://cloud.google.com/support/docs/language-working-hours",
755 "type": "string"
756 },
757 "name": {
758 "description": "The resource name for the case.",
759 "type": "string"
760 },
761 "priority": {
762 "description": "The priority of this case.",
763 "enum": [
764 "PRIORITY_UNSPECIFIED",
765 "P0",
766 "P1",
767 "P2",
768 "P3",
769 "P4"
770 ],
771 "enumDescriptions": [
772 "Priority is undefined or has not been set yet.",
773 "Extreme impact on a production service. Service is hard down.",
774 "Critical impact on a production service. Service is currently unusable.",
775 "Severe impact on a production service. Service is usable but greatly impaired.",
776 "Medium impact on a production service. Service is available, but moderately impaired.",
777 "General questions or minor issues. Production service is fully available."
778 ],
779 "type": "string"
780 },
781 "severity": {
782 "description": "REMOVED. The severity of this case. Use priority instead.",
783 "enum": [
784 "SEVERITY_UNSPECIFIED",
785 "S0",
786 "S1",
787 "S2",
788 "S3",
789 "S4"
790 ],
791 "enumDescriptions": [
792 "Severity is undefined or has not been set yet.",
793 "Extreme impact on a production service. Service is hard down.",
794 "Critical impact on a production service. Service is currently unusable.",
795 "Severe impact on a production service. Service is usable but greatly impaired.",
796 "Medium impact on a production service. Service is available, but moderately impaired.",
797 "General questions or minor issues. Production service is fully available."
798 ],
799 "type": "string"
800 },
801 "state": {
802 "description": "Output only. The current status of the support case.",
803 "enum": [
804 "STATE_UNSPECIFIED",
805 "NEW",
806 "IN_PROGRESS_GOOGLE_SUPPORT",
807 "ACTION_REQUIRED",
808 "SOLUTION_PROVIDED",
809 "CLOSED"
810 ],
811 "enumDescriptions": [
812 "Case is in an unknown state.",
813 "The case has been created but no one is assigned to work on it yet.",
814 "The case is currently being handled by Google support.",
815 "Google is waiting for a response.",
816 "A solution has been offered for the case, but it isn't yet closed.",
817 "The case has been resolved."
818 ],
819 "readOnly": true,
820 "type": "string"
821 },
822 "subscriberEmailAddresses": {
823 "description": "The email addresses to receive updates on this case.",
824 "items": {
825 "type": "string"
826 },
827 "type": "array"
828 },
829 "testCase": {
830 "description": "Whether this case was created for internal API testing and should not be acted on by the support team.",
831 "type": "boolean"
832 },
833 "timeZone": {
834 "description": "The timezone of the user who created the support case. It should be in a format IANA recognizes: https://www.iana.org/time-zones. There is no additional validation done by the API.",
835 "type": "string"
836 },
837 "updateTime": {
838 "description": "Output only. The time this case was last updated.",
839 "format": "google-datetime",
840 "readOnly": true,
841 "type": "string"
842 }
843 },
844 "type": "object"
845 },
846 "CaseClassification": {
847 "description": "A Case Classification represents the topic that a case is about. It's very important to use accurate classifications, because they'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.",
848 "id": "CaseClassification",
849 "properties": {
850 "displayName": {
851 "description": "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.",
852 "type": "string"
853 },
854 "id": {
855 "description": "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.",
856 "type": "string"
857 },
858 "product": {
859 "$ref": "Product",
860 "description": "The full product the classification corresponds to."
861 }
862 },
863 "type": "object"
864 },
865 "CloseCaseRequest": {
866 "description": "The request message for the CloseCase endpoint.",
867 "id": "CloseCaseRequest",
868 "properties": {},
869 "type": "object"
870 },
871 "Comment": {
872 "description": "A comment associated with a support case. Case comments are the primary way for Google Support to communicate with a user who has opened a case. When a user responds to Google Support, the user's responses also appear as comments.",
873 "id": "Comment",
874 "properties": {
875 "body": {
876 "description": "The full comment body. Maximum of 12800 characters.",
877 "type": "string"
878 },
879 "createTime": {
880 "description": "Output only. The time when the comment was created.",
881 "format": "google-datetime",
882 "readOnly": true,
883 "type": "string"
884 },
885 "creator": {
886 "$ref": "Actor",
887 "description": "Output only. The user or Google Support agent who created the comment.",
888 "readOnly": true
889 },
890 "name": {
891 "description": "Output only. Identifier. The resource name of the comment.",
892 "readOnly": true,
893 "type": "string"
894 },
895 "plainTextBody": {
896 "deprecated": true,
897 "description": "Output only. DEPRECATED. DO NOT USE. A duplicate of the `body` field. This field is only present for legacy reasons.",
898 "readOnly": true,
899 "type": "string"
900 }
901 },
902 "type": "object"
903 },
904 "CompositeMedia": {
905 "description": "# gdata.* are outside protos with mising documentation",
906 "id": "CompositeMedia",
907 "properties": {
908 "blobRef": {
909 "deprecated": true,
910 "description": "# gdata.* are outside protos with mising documentation",
911 "format": "byte",
912 "type": "string"
913 },
914 "blobstore2Info": {
915 "$ref": "Blobstore2Info",
916 "description": "# gdata.* are outside protos with mising documentation"
917 },
918 "cosmoBinaryReference": {
919 "description": "# gdata.* are outside protos with mising documentation",
920 "format": "byte",
921 "type": "string"
922 },
923 "crc32cHash": {
924 "description": "# gdata.* are outside protos with mising documentation",
925 "format": "uint32",
926 "type": "integer"
927 },
928 "inline": {
929 "description": "# gdata.* are outside protos with mising documentation",
930 "format": "byte",
931 "type": "string"
932 },
933 "length": {
934 "description": "# gdata.* are outside protos with mising documentation",
935 "format": "int64",
936 "type": "string"
937 },
938 "md5Hash": {
939 "description": "# gdata.* are outside protos with mising documentation",
940 "format": "byte",
941 "type": "string"
942 },
943 "objectId": {
944 "$ref": "ObjectId",
945 "description": "# gdata.* are outside protos with mising documentation"
946 },
947 "path": {
948 "description": "# gdata.* are outside protos with mising documentation",
949 "type": "string"
950 },
951 "referenceType": {
952 "description": "# gdata.* are outside protos with mising documentation",
953 "enum": [
954 "PATH",
955 "BLOB_REF",
956 "INLINE",
957 "BIGSTORE_REF",
958 "COSMO_BINARY_REFERENCE"
959 ],
960 "enumDescriptions": [
961 "# gdata.* are outside protos with mising documentation",
962 "# gdata.* are outside protos with mising documentation",
963 "# gdata.* are outside protos with mising documentation",
964 "# gdata.* are outside protos with mising documentation",
965 "# gdata.* are outside protos with mising documentation"
966 ],
967 "type": "string"
968 },
969 "sha1Hash": {
970 "description": "# gdata.* are outside protos with mising documentation",
971 "format": "byte",
972 "type": "string"
973 }
974 },
975 "type": "object"
976 },
977 "ContentTypeInfo": {
978 "description": "# gdata.* are outside protos with mising documentation",
979 "id": "ContentTypeInfo",
980 "properties": {
981 "bestGuess": {
982 "description": "# gdata.* are outside protos with mising documentation",
983 "type": "string"
984 },
985 "fromBytes": {
986 "description": "# gdata.* are outside protos with mising documentation",
987 "type": "string"
988 },
989 "fromFileName": {
990 "description": "# gdata.* are outside protos with mising documentation",
991 "type": "string"
992 },
993 "fromHeader": {
994 "description": "# gdata.* are outside protos with mising documentation",
995 "type": "string"
996 },
997 "fromUrlPath": {
998 "description": "# gdata.* are outside protos with mising documentation",
999 "type": "string"
1000 }
1001 },
1002 "type": "object"
1003 },
1004 "CreateAttachmentRequest": {
1005 "description": "The request message for the CreateAttachment endpoint.",
1006 "id": "CreateAttachmentRequest",
1007 "properties": {
1008 "attachment": {
1009 "$ref": "Attachment",
1010 "description": "Required. The attachment to be created."
1011 }
1012 },
1013 "type": "object"
1014 },
1015 "DiffChecksumsResponse": {
1016 "description": "# gdata.* are outside protos with mising documentation",
1017 "id": "DiffChecksumsResponse",
1018 "properties": {
1019 "checksumsLocation": {
1020 "$ref": "CompositeMedia",
1021 "description": "# gdata.* are outside protos with mising documentation"
1022 },
1023 "chunkSizeBytes": {
1024 "description": "# gdata.* are outside protos with mising documentation",
1025 "format": "int64",
1026 "type": "string"
1027 },
1028 "objectLocation": {
1029 "$ref": "CompositeMedia",
1030 "description": "# gdata.* are outside protos with mising documentation"
1031 },
1032 "objectSizeBytes": {
1033 "description": "# gdata.* are outside protos with mising documentation",
1034 "format": "int64",
1035 "type": "string"
1036 },
1037 "objectVersion": {
1038 "description": "# gdata.* are outside protos with mising documentation",
1039 "type": "string"
1040 }
1041 },
1042 "type": "object"
1043 },
1044 "DiffDownloadResponse": {
1045 "description": "# gdata.* are outside protos with mising documentation",
1046 "id": "DiffDownloadResponse",
1047 "properties": {
1048 "objectLocation": {
1049 "$ref": "CompositeMedia",
1050 "description": "# gdata.* are outside protos with mising documentation"
1051 }
1052 },
1053 "type": "object"
1054 },
1055 "DiffUploadRequest": {
1056 "description": "# gdata.* are outside protos with mising documentation",
1057 "id": "DiffUploadRequest",
1058 "properties": {
1059 "checksumsInfo": {
1060 "$ref": "CompositeMedia",
1061 "description": "# gdata.* are outside protos with mising documentation"
1062 },
1063 "objectInfo": {
1064 "$ref": "CompositeMedia",
1065 "description": "# gdata.* are outside protos with mising documentation"
1066 },
1067 "objectVersion": {
1068 "description": "# gdata.* are outside protos with mising documentation",
1069 "type": "string"
1070 }
1071 },
1072 "type": "object"
1073 },
1074 "DiffUploadResponse": {
1075 "description": "# gdata.* are outside protos with mising documentation",
1076 "id": "DiffUploadResponse",
1077 "properties": {
1078 "objectVersion": {
1079 "description": "# gdata.* are outside protos with mising documentation",
1080 "type": "string"
1081 },
1082 "originalObject": {
1083 "$ref": "CompositeMedia",
1084 "description": "# gdata.* are outside protos with mising documentation"
1085 }
1086 },
1087 "type": "object"
1088 },
1089 "DiffVersionResponse": {
1090 "description": "# gdata.* are outside protos with mising documentation",
1091 "id": "DiffVersionResponse",
1092 "properties": {
1093 "objectSizeBytes": {
1094 "description": "# gdata.* are outside protos with mising documentation",
1095 "format": "int64",
1096 "type": "string"
1097 },
1098 "objectVersion": {
1099 "description": "# gdata.* are outside protos with mising documentation",
1100 "type": "string"
1101 }
1102 },
1103 "type": "object"
1104 },
1105 "DownloadParameters": {
1106 "description": "# gdata.* are outside protos with mising documentation",
1107 "id": "DownloadParameters",
1108 "properties": {
1109 "allowGzipCompression": {
1110 "description": "# gdata.* are outside protos with mising documentation",
1111 "type": "boolean"
1112 },
1113 "ignoreRange": {
1114 "description": "# gdata.* are outside protos with mising documentation",
1115 "type": "boolean"
1116 }
1117 },
1118 "type": "object"
1119 },
1120 "EmailMessage": {
1121 "description": "An email associated with a support case.",
1122 "id": "EmailMessage",
1123 "properties": {
1124 "actor": {
1125 "$ref": "Actor",
1126 "description": "Output only. The user or Google Support agent that created this email message. This is inferred from the headers on the email message.",
1127 "readOnly": true
1128 },
1129 "bodyContent": {
1130 "$ref": "TextContent",
1131 "description": "Output only. The full email message body. A best-effort attempt is made to remove extraneous reply threads.",
1132 "readOnly": true
1133 },
1134 "ccEmailAddresses": {
1135 "description": "Output only. Email addresses CCed on the email.",
1136 "items": {
1137 "type": "string"
1138 },
1139 "readOnly": true,
1140 "type": "array"
1141 },
1142 "createTime": {
1143 "description": "Output only. Time when this email message object was created.",
1144 "format": "google-datetime",
1145 "readOnly": true,
1146 "type": "string"
1147 },
1148 "name": {
1149 "description": "Identifier. Resource name for the email message.",
1150 "type": "string"
1151 },
1152 "recipientEmailAddresses": {
1153 "description": "Output only. Email addresses the email was sent to.",
1154 "items": {
1155 "type": "string"
1156 },
1157 "readOnly": true,
1158 "type": "array"
1159 },
1160 "subject": {
1161 "description": "Output only. Subject of the email.",
1162 "readOnly": true,
1163 "type": "string"
1164 }
1165 },
1166 "type": "object"
1167 },
1168 "EscalateCaseRequest": {
1169 "description": "The request message for the EscalateCase endpoint.",
1170 "id": "EscalateCaseRequest",
1171 "properties": {
1172 "escalation": {
1173 "$ref": "Escalation",
1174 "description": "The escalation information to be sent with the escalation request."
1175 }
1176 },
1177 "type": "object"
1178 },
1179 "Escalation": {
1180 "description": "An escalation of a support case.",
1181 "id": "Escalation",
1182 "properties": {
1183 "justification": {
1184 "description": "Required. A free text description to accompany the `reason` field above. Provides additional context on why the case is being escalated.",
1185 "type": "string"
1186 },
1187 "reason": {
1188 "description": "Required. The reason why the Case is being escalated.",
1189 "enum": [
1190 "REASON_UNSPECIFIED",
1191 "RESOLUTION_TIME",
1192 "TECHNICAL_EXPERTISE",
1193 "BUSINESS_IMPACT"
1194 ],
1195 "enumDescriptions": [
1196 "The escalation reason is in an unknown state or has not been specified.",
1197 "The case is taking too long to resolve.",
1198 "The support agent does not have the expertise required to successfully resolve the issue.",
1199 "The issue is having a significant business impact."
1200 ],
1201 "type": "string"
1202 }
1203 },
1204 "type": "object"
1205 },
1206 "FeedItem": {
1207 "description": "A feed item associated with a support case.",
1208 "id": "FeedItem",
1209 "properties": {
1210 "attachment": {
1211 "$ref": "Attachment",
1212 "description": "Output only. An attachment attached to the case.",
1213 "readOnly": true
1214 },
1215 "comment": {
1216 "$ref": "Comment",
1217 "description": "Output only. A comment added to the case.",
1218 "readOnly": true
1219 },
1220 "deletedAttachment": {
1221 "$ref": "Attachment",
1222 "description": "Output only. A deleted attachment that used to be associated with the support case.",
1223 "readOnly": true
1224 },
1225 "emailMessage": {
1226 "$ref": "EmailMessage",
1227 "description": "Output only. An email message received in reply to the case.",
1228 "readOnly": true
1229 },
1230 "eventTime": {
1231 "description": "Output only. Time corresponding to the event of this item.",
1232 "format": "google-datetime",
1233 "readOnly": true,
1234 "type": "string"
1235 }
1236 },
1237 "type": "object"
1238 },
1239 "ListAttachmentsResponse": {
1240 "description": "The response message for the ListAttachments endpoint.",
1241 "id": "ListAttachmentsResponse",
1242 "properties": {
1243 "attachments": {
1244 "description": "The list of attachments associated with a case.",
1245 "items": {
1246 "$ref": "Attachment"
1247 },
1248 "type": "array"
1249 },
1250 "nextPageToken": {
1251 "description": "A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.attachments.list` requests. If unspecified, there are no more results to retrieve.",
1252 "type": "string"
1253 }
1254 },
1255 "type": "object"
1256 },
1257 "ListCasesResponse": {
1258 "description": "The response message for the ListCases endpoint.",
1259 "id": "ListCasesResponse",
1260 "properties": {
1261 "cases": {
1262 "description": "The list of cases associated with the parent after any filters have been applied.",
1263 "items": {
1264 "$ref": "Case"
1265 },
1266 "type": "array"
1267 },
1268 "nextPageToken": {
1269 "description": "A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.list` requests. If unspecified, there are no more results to retrieve.",
1270 "type": "string"
1271 }
1272 },
1273 "type": "object"
1274 },
1275 "ListCommentsResponse": {
1276 "description": "The response message for the ListComments endpoint.",
1277 "id": "ListCommentsResponse",
1278 "properties": {
1279 "comments": {
1280 "description": "List of the comments associated with the case.",
1281 "items": {
1282 "$ref": "Comment"
1283 },
1284 "type": "array"
1285 },
1286 "nextPageToken": {
1287 "description": "A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.comments.list` requests. If unspecified, there are no more results to retrieve.",
1288 "type": "string"
1289 }
1290 },
1291 "type": "object"
1292 },
1293 "Media": {
1294 "description": "# gdata.* are outside protos with mising documentation",
1295 "id": "Media",
1296 "properties": {
1297 "algorithm": {
1298 "deprecated": true,
1299 "description": "# gdata.* are outside protos with mising documentation",
1300 "type": "string"
1301 },
1302 "bigstoreObjectRef": {
1303 "deprecated": true,
1304 "description": "# gdata.* are outside protos with mising documentation",
1305 "format": "byte",
1306 "type": "string"
1307 },
1308 "blobRef": {
1309 "deprecated": true,
1310 "description": "# gdata.* are outside protos with mising documentation",
1311 "format": "byte",
1312 "type": "string"
1313 },
1314 "blobstore2Info": {
1315 "$ref": "Blobstore2Info",
1316 "description": "# gdata.* are outside protos with mising documentation"
1317 },
1318 "compositeMedia": {
1319 "description": "# gdata.* are outside protos with mising documentation",
1320 "items": {
1321 "$ref": "CompositeMedia"
1322 },
1323 "type": "array"
1324 },
1325 "contentType": {
1326 "description": "# gdata.* are outside protos with mising documentation",
1327 "type": "string"
1328 },
1329 "contentTypeInfo": {
1330 "$ref": "ContentTypeInfo",
1331 "description": "# gdata.* are outside protos with mising documentation"
1332 },
1333 "cosmoBinaryReference": {
1334 "description": "# gdata.* are outside protos with mising documentation",
1335 "format": "byte",
1336 "type": "string"
1337 },
1338 "crc32cHash": {
1339 "description": "# gdata.* are outside protos with mising documentation",
1340 "format": "uint32",
1341 "type": "integer"
1342 },
1343 "diffChecksumsResponse": {
1344 "$ref": "DiffChecksumsResponse",
1345 "description": "# gdata.* are outside protos with mising documentation"
1346 },
1347 "diffDownloadResponse": {
1348 "$ref": "DiffDownloadResponse",
1349 "description": "# gdata.* are outside protos with mising documentation"
1350 },
1351 "diffUploadRequest": {
1352 "$ref": "DiffUploadRequest",
1353 "description": "# gdata.* are outside protos with mising documentation"
1354 },
1355 "diffUploadResponse": {
1356 "$ref": "DiffUploadResponse",
1357 "description": "# gdata.* are outside protos with mising documentation"
1358 },
1359 "diffVersionResponse": {
1360 "$ref": "DiffVersionResponse",
1361 "description": "# gdata.* are outside protos with mising documentation"
1362 },
1363 "downloadParameters": {
1364 "$ref": "DownloadParameters",
1365 "description": "# gdata.* are outside protos with mising documentation"
1366 },
1367 "filename": {
1368 "description": "# gdata.* are outside protos with mising documentation",
1369 "type": "string"
1370 },
1371 "hash": {
1372 "deprecated": true,
1373 "description": "# gdata.* are outside protos with mising documentation",
1374 "type": "string"
1375 },
1376 "hashVerified": {
1377 "description": "# gdata.* are outside protos with mising documentation",
1378 "type": "boolean"
1379 },
1380 "inline": {
1381 "description": "# gdata.* are outside protos with mising documentation",
1382 "format": "byte",
1383 "type": "string"
1384 },
1385 "isPotentialRetry": {
1386 "description": "# gdata.* are outside protos with mising documentation",
1387 "type": "boolean"
1388 },
1389 "length": {
1390 "description": "# gdata.* are outside protos with mising documentation",
1391 "format": "int64",
1392 "type": "string"
1393 },
1394 "md5Hash": {
1395 "description": "# gdata.* are outside protos with mising documentation",
1396 "format": "byte",
1397 "type": "string"
1398 },
1399 "mediaId": {
1400 "description": "# gdata.* are outside protos with mising documentation",
1401 "format": "byte",
1402 "type": "string"
1403 },
1404 "objectId": {
1405 "$ref": "ObjectId",
1406 "description": "# gdata.* are outside protos with mising documentation"
1407 },
1408 "path": {
1409 "description": "# gdata.* are outside protos with mising documentation",
1410 "type": "string"
1411 },
1412 "referenceType": {
1413 "description": "# gdata.* are outside protos with mising documentation",
1414 "enum": [
1415 "PATH",
1416 "BLOB_REF",
1417 "INLINE",
1418 "GET_MEDIA",
1419 "COMPOSITE_MEDIA",
1420 "BIGSTORE_REF",
1421 "DIFF_VERSION_RESPONSE",
1422 "DIFF_CHECKSUMS_RESPONSE",
1423 "DIFF_DOWNLOAD_RESPONSE",
1424 "DIFF_UPLOAD_REQUEST",
1425 "DIFF_UPLOAD_RESPONSE",
1426 "COSMO_BINARY_REFERENCE",
1427 "ARBITRARY_BYTES"
1428 ],
1429 "enumDescriptions": [
1430 "# gdata.* are outside protos with mising documentation",
1431 "# gdata.* are outside protos with mising documentation",
1432 "# gdata.* are outside protos with mising documentation",
1433 "# gdata.* are outside protos with mising documentation",
1434 "# gdata.* are outside protos with mising documentation",
1435 "# gdata.* are outside protos with mising documentation",
1436 "# gdata.* are outside protos with mising documentation",
1437 "# gdata.* are outside protos with mising documentation",
1438 "# gdata.* are outside protos with mising documentation",
1439 "# gdata.* are outside protos with mising documentation",
1440 "# gdata.* are outside protos with mising documentation",
1441 "# gdata.* are outside protos with mising documentation",
1442 "# gdata.* are outside protos with mising documentation"
1443 ],
1444 "type": "string"
1445 },
1446 "sha1Hash": {
1447 "description": "# gdata.* are outside protos with mising documentation",
1448 "format": "byte",
1449 "type": "string"
1450 },
1451 "sha256Hash": {
1452 "description": "# gdata.* are outside protos with mising documentation",
1453 "format": "byte",
1454 "type": "string"
1455 },
1456 "timestamp": {
1457 "description": "# gdata.* are outside protos with mising documentation",
1458 "format": "uint64",
1459 "type": "string"
1460 },
1461 "token": {
1462 "description": "# gdata.* are outside protos with mising documentation",
1463 "type": "string"
1464 }
1465 },
1466 "type": "object"
1467 },
1468 "ObjectId": {
1469 "description": "# gdata.* are outside protos with mising documentation",
1470 "id": "ObjectId",
1471 "properties": {
1472 "bucketName": {
1473 "description": "# gdata.* are outside protos with mising documentation",
1474 "type": "string"
1475 },
1476 "generation": {
1477 "description": "# gdata.* are outside protos with mising documentation",
1478 "format": "int64",
1479 "type": "string"
1480 },
1481 "objectName": {
1482 "description": "# gdata.* are outside protos with mising documentation",
1483 "type": "string"
1484 }
1485 },
1486 "type": "object"
1487 },
1488 "Product": {
1489 "description": "The product a case may be associated with.",
1490 "id": "Product",
1491 "properties": {
1492 "productLine": {
1493 "description": "The product line of the Product.",
1494 "enum": [
1495 "PRODUCT_LINE_UNSPECIFIED",
1496 "GOOGLE_CLOUD",
1497 "GOOGLE_MAPS"
1498 ],
1499 "enumDescriptions": [
1500 "Unknown product type.",
1501 "Google Cloud",
1502 "Google Maps"
1503 ],
1504 "type": "string"
1505 }
1506 },
1507 "type": "object"
1508 },
1509 "SearchCaseClassificationsResponse": {
1510 "description": "The response message for SearchCaseClassifications endpoint.",
1511 "id": "SearchCaseClassificationsResponse",
1512 "properties": {
1513 "caseClassifications": {
1514 "description": "The classifications retrieved.",
1515 "items": {
1516 "$ref": "CaseClassification"
1517 },
1518 "type": "array"
1519 },
1520 "nextPageToken": {
1521 "description": "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.",
1522 "type": "string"
1523 }
1524 },
1525 "type": "object"
1526 },
1527 "SearchCasesResponse": {
1528 "description": "The response message for the SearchCases endpoint.",
1529 "id": "SearchCasesResponse",
1530 "properties": {
1531 "cases": {
1532 "description": "The list of cases associated with the parent after any filters have been applied.",
1533 "items": {
1534 "$ref": "Case"
1535 },
1536 "type": "array"
1537 },
1538 "nextPageToken": {
1539 "description": "A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.search` requests. If unspecified, there are no more results to retrieve.",
1540 "type": "string"
1541 }
1542 },
1543 "type": "object"
1544 },
1545 "ShowFeedResponse": {
1546 "description": "The response message for the ShowFeed endpoint.",
1547 "id": "ShowFeedResponse",
1548 "properties": {
1549 "feedItems": {
1550 "description": "The list of feed items associated with the given Case.",
1551 "items": {
1552 "$ref": "FeedItem"
1553 },
1554 "type": "array"
1555 },
1556 "nextPageToken": {
1557 "description": "A token to retrieve the next page of results. This should be set in the `page_token` field of subsequent `ShowFeedRequests`. If unspecified, there are no more results to retrieve.",
1558 "type": "string"
1559 }
1560 },
1561 "type": "object"
1562 },
1563 "TextContent": {
1564 "description": "Stores text attached to a support object.",
1565 "id": "TextContent",
1566 "properties": {
1567 "plainText": {
1568 "description": "Content in this field should be rendered and interpreted as-is.",
1569 "type": "string"
1570 }
1571 },
1572 "type": "object"
1573 },
1574 "WorkflowOperationMetadata": {
1575 "description": "Metadata about the operation. Used to lookup the current status.",
1576 "id": "WorkflowOperationMetadata",
1577 "properties": {
1578 "namespace": {
1579 "description": "The namespace that the job was scheduled in. Must be included in the workflow metadata so the workflow status can be retrieved.",
1580 "type": "string"
1581 },
1582 "operationAction": {
1583 "description": "The type of action the operation is classified as.",
1584 "enum": [
1585 "OPERATION_ACTION_UNSPECIFIED",
1586 "CREATE_SUPPORT_ACCOUNT",
1587 "UPDATE_SUPPORT_ACCOUNT",
1588 "PURCHASE_SUPPORT_ACCOUNT"
1589 ],
1590 "enumDescriptions": [
1591 "Operation action is not specified.",
1592 "Operation pertains to the creation of a new support account.",
1593 "Operation pertains to the updating of an existing support account.",
1594 "Operation pertains to the purchasing of a support plan that may either create or update a support account."
1595 ],
1596 "type": "string"
1597 },
1598 "workflowOperationType": {
1599 "description": "Which version of the workflow service this operation came from.",
1600 "enum": [
1601 "UNKNOWN_OPERATION_TYPE",
1602 "WORKFLOWS_V1",
1603 "WORKFLOWS_V2"
1604 ],
1605 "enumDescriptions": [
1606 "Unknown version.",
1607 "Version 1.",
1608 "Version 2."
1609 ],
1610 "type": "string"
1611 }
1612 },
1613 "type": "object"
1614 }
1615 },
1616 "servicePath": "",
1617 "title": "Google Cloud Support API",
1618 "version": "v2beta",
1619 "version_module": true
1620}
View as plain text