Debian Codegraph @

docs/dyn/cloudsupport_v2beta.cases.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="cloudsupport_v2beta.html">Google Cloud Support API</a> . <a href="cloudsupport_v2beta.cases.html">cases</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="cloudsupport_v2beta.cases.attachments.html">attachments()</a></code>
79 </p>
80 <p class="firstline">Returns the attachments Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="cloudsupport_v2beta.cases.comments.html">comments()</a></code>
84 </p>
85 <p class="firstline">Returns the comments Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="#close">close(name, body=None, x__xgafv=None)</a></code></p>
89 <p class="firstline">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/v2beta/$case:close" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" 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()) ```</p>
90 <p class="toc_element">
91 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
92 <p class="firstline">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": [ "[email protected]", "[email protected]" ], "testCase": true, "priority": "P3" }' \ "https://cloudsupport.googleapis.com/v2beta/$parent/cases" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" 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()) ```</p>
93 <p class="toc_element">
94 <code><a href="#escalate">escalate(name, body=None, x__xgafv=None)</a></code></p>
95 <p class="firstline">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/v2beta/$case:escalate" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" 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()) ```</p>
96 <p class="toc_element">
97 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
98 <p class="firstline">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/v2beta/$case" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" 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()) ```</p>
99 <p class="toc_element">
100 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, productLine=None, x__xgafv=None)</a></code></p>
101 <p class="firstline">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/v2beta/$parent/cases" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" 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()) ```</p>
102 <p class="toc_element">
103 <code><a href="#list_next">list_next()</a></code></p>
104 <p class="firstline">Retrieves the next page of results.</p>
105 <p class="toc_element">
106 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
107 <p class="firstline">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/v2beta/$case?updateMask=priority" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" 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()) ```</p>
108 <p class="toc_element">
109 <code><a href="#search">search(pageSize=None, pageToken=None, parent=None, query=None, x__xgafv=None)</a></code></p>
110 <p class="firstline">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/v2beta/$parent/cases:search" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" 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()) ```</p>
111 <p class="toc_element">
112 <code><a href="#search_next">search_next()</a></code></p>
113 <p class="firstline">Retrieves the next page of results.</p>
114 <p class="toc_element">
115 <code><a href="#showFeed">showFeed(parent, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
116 <p class="firstline">Show items in the feed of this case, including case emails, attachments, and comments.</p>
117 <p class="toc_element">
118 <code><a href="#showFeed_next">showFeed_next()</a></code></p>
119 <p class="firstline">Retrieves the next page of results.</p>
120 <h3>Method Details</h3>
121 <div class="method">
122 <code class="details" id="close">close(name, body=None, x__xgafv=None)</code>
123 <pre>Close a case. EXAMPLES: cURL: ```shell case=&quot;projects/some-project/cases/43595344&quot; curl \ --request POST \ --header &quot;Authorization: Bearer $(gcloud auth print-access-token)&quot; \ &quot;https://cloudsupport.googleapis.com/v2beta/$case:close&quot; ``` Python: ```python import googleapiclient.discovery api_version = &quot;v2beta&quot; supportApiService = googleapiclient.discovery.build( serviceName=&quot;cloudsupport&quot;, version=api_version, discoveryServiceUrl=f&quot;https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}&quot;, ) request = supportApiService.cases().close( name=&quot;projects/some-project/cases/43595344&quot; ) print(request.execute()) ```
124
125 Args:
126 name: string, Required. The name of the case to close. (required)
127 body: object, The request body.
128 The object takes the form of:
129
130 { # The request message for the CloseCase endpoint.
131 }
132
133 x__xgafv: string, V1 error format.
134 Allowed values
135 1 - v1 error format
136 2 - v2 error format
137
138 Returns:
139 An object of the form:
140
141 { # 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).
142 &quot;classification&quot;: { # 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. # The issue classification applicable to this case.
143 &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.
144 &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.
145 &quot;product&quot;: { # The product a case may be associated with. # The full product the classification corresponds to.
146 &quot;productLine&quot;: &quot;A String&quot;, # The product line of the Product.
147 },
148 },
149 &quot;contactEmail&quot;: &quot;A String&quot;, # 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&#x27;s email address directly from their EUCs.
150 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this case was created.
151 &quot;creator&quot;: { # 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. # The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support.
152 &quot;displayName&quot;: &quot;A String&quot;, # 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.
153 &quot;email&quot;: &quot;A String&quot;, # 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` instead.
154 &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
155 &quot;username&quot;: &quot;A String&quot;, # 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.
156 },
157 &quot;description&quot;: &quot;A String&quot;, # A broad description of the issue.
158 &quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
159 &quot;escalated&quot;: True or False, # Whether the case is currently escalated.
160 &quot;languageCode&quot;: &quot;A String&quot;, # The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., `&quot;en&quot;`, `&quot;zh-CN&quot;`, `&quot;zh-TW&quot;`, `&quot;ja&quot;`, `&quot;ko&quot;`). 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
161 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for the case.
162 &quot;priority&quot;: &quot;A String&quot;, # The priority of this case.
163 &quot;severity&quot;: &quot;A String&quot;, # REMOVED. The severity of this case. Use priority instead.
164 &quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
165 &quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
166 &quot;A String&quot;,
167 ],
168 &quot;testCase&quot;: True or False, # Whether this case was created for internal API testing and should not be acted on by the support team.
169 &quot;timeZone&quot;: &quot;A String&quot;, # 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.
170 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this case was last updated.
171 }</pre>
172 </div>
173
174 <div class="method">
175 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
176 <pre>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&#x27;re just testing the API and don&#x27;t want to route your case to an agent, set `testCase=true`. EXAMPLES: cURL: ```shell parent=&quot;projects/some-project&quot; curl \ --request POST \ --header &quot;Authorization: Bearer $(gcloud auth print-access-token)&quot; \ --header &#x27;Content-Type: application/json&#x27; \ --data &#x27;{ &quot;display_name&quot;: &quot;Test case created by me.&quot;, &quot;description&quot;: &quot;a random test case, feel free to close&quot;, &quot;classification&quot;: { &quot;id&quot;: &quot;100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8&quot; }, &quot;time_zone&quot;: &quot;-07:00&quot;, &quot;subscriber_email_addresses&quot;: [ &quot;[email protected]&quot;, &quot;[email protected]&quot; ], &quot;testCase&quot;: true, &quot;priority&quot;: &quot;P3&quot; }&#x27; \ &quot;https://cloudsupport.googleapis.com/v2beta/$parent/cases&quot; ``` Python: ```python import googleapiclient.discovery api_version = &quot;v2beta&quot; supportApiService = googleapiclient.discovery.build( serviceName=&quot;cloudsupport&quot;, version=api_version, discoveryServiceUrl=f&quot;https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}&quot;, ) request = supportApiService.cases().create( parent=&quot;projects/some-project&quot;, body={ &quot;displayName&quot;: &quot;A Test Case&quot;, &quot;description&quot;: &quot;This is a test case.&quot;, &quot;testCase&quot;: True, &quot;priority&quot;: &quot;P2&quot;, &quot;classification&quot;: { &quot;id&quot;: &quot;100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8&quot; }, }, ) print(request.execute()) ```
177
178 Args:
179 parent: string, Required. The name of the parent under which the case should be created. (required)
180 body: object, The request body.
181 The object takes the form of:
182
183 { # 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).
184 &quot;classification&quot;: { # 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. # The issue classification applicable to this case.
185 &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.
186 &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.
187 &quot;product&quot;: { # The product a case may be associated with. # The full product the classification corresponds to.
188 &quot;productLine&quot;: &quot;A String&quot;, # The product line of the Product.
189 },
190 },
191 &quot;contactEmail&quot;: &quot;A String&quot;, # 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&#x27;s email address directly from their EUCs.
192 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this case was created.
193 &quot;creator&quot;: { # 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. # The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support.
194 &quot;displayName&quot;: &quot;A String&quot;, # 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.
195 &quot;email&quot;: &quot;A String&quot;, # 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` instead.
196 &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
197 &quot;username&quot;: &quot;A String&quot;, # 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.
198 },
199 &quot;description&quot;: &quot;A String&quot;, # A broad description of the issue.
200 &quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
201 &quot;escalated&quot;: True or False, # Whether the case is currently escalated.
202 &quot;languageCode&quot;: &quot;A String&quot;, # The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., `&quot;en&quot;`, `&quot;zh-CN&quot;`, `&quot;zh-TW&quot;`, `&quot;ja&quot;`, `&quot;ko&quot;`). 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
203 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for the case.
204 &quot;priority&quot;: &quot;A String&quot;, # The priority of this case.
205 &quot;severity&quot;: &quot;A String&quot;, # REMOVED. The severity of this case. Use priority instead.
206 &quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
207 &quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
208 &quot;A String&quot;,
209 ],
210 &quot;testCase&quot;: True or False, # Whether this case was created for internal API testing and should not be acted on by the support team.
211 &quot;timeZone&quot;: &quot;A String&quot;, # 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.
212 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this case was last updated.
213 }
214
215 x__xgafv: string, V1 error format.
216 Allowed values
217 1 - v1 error format
218 2 - v2 error format
219
220 Returns:
221 An object of the form:
222
223 { # 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).
224 &quot;classification&quot;: { # 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. # The issue classification applicable to this case.
225 &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.
226 &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.
227 &quot;product&quot;: { # The product a case may be associated with. # The full product the classification corresponds to.
228 &quot;productLine&quot;: &quot;A String&quot;, # The product line of the Product.
229 },
230 },
231 &quot;contactEmail&quot;: &quot;A String&quot;, # 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&#x27;s email address directly from their EUCs.
232 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this case was created.
233 &quot;creator&quot;: { # 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. # The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support.
234 &quot;displayName&quot;: &quot;A String&quot;, # 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.
235 &quot;email&quot;: &quot;A String&quot;, # 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` instead.
236 &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
237 &quot;username&quot;: &quot;A String&quot;, # 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.
238 },
239 &quot;description&quot;: &quot;A String&quot;, # A broad description of the issue.
240 &quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
241 &quot;escalated&quot;: True or False, # Whether the case is currently escalated.
242 &quot;languageCode&quot;: &quot;A String&quot;, # The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., `&quot;en&quot;`, `&quot;zh-CN&quot;`, `&quot;zh-TW&quot;`, `&quot;ja&quot;`, `&quot;ko&quot;`). 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
243 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for the case.
244 &quot;priority&quot;: &quot;A String&quot;, # The priority of this case.
245 &quot;severity&quot;: &quot;A String&quot;, # REMOVED. The severity of this case. Use priority instead.
246 &quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
247 &quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
248 &quot;A String&quot;,
249 ],
250 &quot;testCase&quot;: True or False, # Whether this case was created for internal API testing and should not be acted on by the support team.
251 &quot;timeZone&quot;: &quot;A String&quot;, # 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.
252 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this case was last updated.
253 }</pre>
254 </div>
255
256 <div class="method">
257 <code class="details" id="escalate">escalate(name, body=None, x__xgafv=None)</code>
258 <pre>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 &#x27;Technical support escalations&#x27; in the feature list to find out which ones let you do that. EXAMPLES: cURL: ```shell case=&quot;projects/some-project/cases/43595344&quot; curl \ --request POST \ --header &quot;Authorization: Bearer $(gcloud auth print-access-token)&quot; \ --header &quot;Content-Type: application/json&quot; \ --data &#x27;{ &quot;escalation&quot;: { &quot;reason&quot;: &quot;BUSINESS_IMPACT&quot;, &quot;justification&quot;: &quot;This is a test escalation.&quot; } }&#x27; \ &quot;https://cloudsupport.googleapis.com/v2beta/$case:escalate&quot; ``` Python: ```python import googleapiclient.discovery api_version = &quot;v2beta&quot; supportApiService = googleapiclient.discovery.build( serviceName=&quot;cloudsupport&quot;, version=api_version, discoveryServiceUrl=f&quot;https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}&quot;, ) request = supportApiService.cases().escalate( name=&quot;projects/some-project/cases/43595344&quot;, body={ &quot;escalation&quot;: { &quot;reason&quot;: &quot;BUSINESS_IMPACT&quot;, &quot;justification&quot;: &quot;This is a test escalation.&quot;, }, }, ) print(request.execute()) ```
259
260 Args:
261 name: string, Required. The name of the case to be escalated. (required)
262 body: object, The request body.
263 The object takes the form of:
264
265 { # The request message for the EscalateCase endpoint.
266 &quot;escalation&quot;: { # An escalation of a support case. # The escalation information to be sent with the escalation request.
267 &quot;justification&quot;: &quot;A String&quot;, # Required. A free text description to accompany the `reason` field above. Provides additional context on why the case is being escalated.
268 &quot;reason&quot;: &quot;A String&quot;, # Required. The reason why the Case is being escalated.
269 },
270 }
271
272 x__xgafv: string, V1 error format.
273 Allowed values
274 1 - v1 error format
275 2 - v2 error format
276
277 Returns:
278 An object of the form:
279
280 { # 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).
281 &quot;classification&quot;: { # 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. # The issue classification applicable to this case.
282 &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.
283 &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.
284 &quot;product&quot;: { # The product a case may be associated with. # The full product the classification corresponds to.
285 &quot;productLine&quot;: &quot;A String&quot;, # The product line of the Product.
286 },
287 },
288 &quot;contactEmail&quot;: &quot;A String&quot;, # 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&#x27;s email address directly from their EUCs.
289 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this case was created.
290 &quot;creator&quot;: { # 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. # The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support.
291 &quot;displayName&quot;: &quot;A String&quot;, # 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.
292 &quot;email&quot;: &quot;A String&quot;, # 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` instead.
293 &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
294 &quot;username&quot;: &quot;A String&quot;, # 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.
295 },
296 &quot;description&quot;: &quot;A String&quot;, # A broad description of the issue.
297 &quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
298 &quot;escalated&quot;: True or False, # Whether the case is currently escalated.
299 &quot;languageCode&quot;: &quot;A String&quot;, # The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., `&quot;en&quot;`, `&quot;zh-CN&quot;`, `&quot;zh-TW&quot;`, `&quot;ja&quot;`, `&quot;ko&quot;`). 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
300 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for the case.
301 &quot;priority&quot;: &quot;A String&quot;, # The priority of this case.
302 &quot;severity&quot;: &quot;A String&quot;, # REMOVED. The severity of this case. Use priority instead.
303 &quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
304 &quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
305 &quot;A String&quot;,
306 ],
307 &quot;testCase&quot;: True or False, # Whether this case was created for internal API testing and should not be acted on by the support team.
308 &quot;timeZone&quot;: &quot;A String&quot;, # 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.
309 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this case was last updated.
310 }</pre>
311 </div>
312
313 <div class="method">
314 <code class="details" id="get">get(name, x__xgafv=None)</code>
315 <pre>Retrieve a case. EXAMPLES: cURL: ```shell case=&quot;projects/some-project/cases/16033687&quot; curl \ --header &quot;Authorization: Bearer $(gcloud auth print-access-token)&quot; \ &quot;https://cloudsupport.googleapis.com/v2beta/$case&quot; ``` Python: ```python import googleapiclient.discovery api_version = &quot;v2beta&quot; supportApiService = googleapiclient.discovery.build( serviceName=&quot;cloudsupport&quot;, version=api_version, discoveryServiceUrl=f&quot;https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}&quot;, ) request = supportApiService.cases().get( name=&quot;projects/some-project/cases/43595344&quot;, ) print(request.execute()) ```
316
317 Args:
318 name: string, Required. The full name of a case to be retrieved. (required)
319 x__xgafv: string, V1 error format.
320 Allowed values
321 1 - v1 error format
322 2 - v2 error format
323
324 Returns:
325 An object of the form:
326
327 { # 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).
328 &quot;classification&quot;: { # 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. # The issue classification applicable to this case.
329 &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.
330 &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.
331 &quot;product&quot;: { # The product a case may be associated with. # The full product the classification corresponds to.
332 &quot;productLine&quot;: &quot;A String&quot;, # The product line of the Product.
333 },
334 },
335 &quot;contactEmail&quot;: &quot;A String&quot;, # 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&#x27;s email address directly from their EUCs.
336 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this case was created.
337 &quot;creator&quot;: { # 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. # The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support.
338 &quot;displayName&quot;: &quot;A String&quot;, # 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.
339 &quot;email&quot;: &quot;A String&quot;, # 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` instead.
340 &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
341 &quot;username&quot;: &quot;A String&quot;, # 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.
342 },
343 &quot;description&quot;: &quot;A String&quot;, # A broad description of the issue.
344 &quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
345 &quot;escalated&quot;: True or False, # Whether the case is currently escalated.
346 &quot;languageCode&quot;: &quot;A String&quot;, # The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., `&quot;en&quot;`, `&quot;zh-CN&quot;`, `&quot;zh-TW&quot;`, `&quot;ja&quot;`, `&quot;ko&quot;`). 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
347 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for the case.
348 &quot;priority&quot;: &quot;A String&quot;, # The priority of this case.
349 &quot;severity&quot;: &quot;A String&quot;, # REMOVED. The severity of this case. Use priority instead.
350 &quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
351 &quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
352 &quot;A String&quot;,
353 ],
354 &quot;testCase&quot;: True or False, # Whether this case was created for internal API testing and should not be acted on by the support team.
355 &quot;timeZone&quot;: &quot;A String&quot;, # 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.
356 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this case was last updated.
357 }</pre>
358 </div>
359
360 <div class="method">
361 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, productLine=None, x__xgafv=None)</code>
362 <pre>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=&quot;projects/some-project&quot; curl \ --header &quot;Authorization: Bearer $(gcloud auth print-access-token)&quot; \ &quot;https://cloudsupport.googleapis.com/v2beta/$parent/cases&quot; ``` Python: ```python import googleapiclient.discovery api_version = &quot;v2beta&quot; supportApiService = googleapiclient.discovery.build( serviceName=&quot;cloudsupport&quot;, version=api_version, discoveryServiceUrl=f&quot;https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}&quot;, ) request = supportApiService.cases().list(parent=&quot;projects/some-project&quot;) print(request.execute()) ```
363
364 Args:
365 parent: string, Required. The name of a parent to list cases under. (required)
366 filter: string, An expression used to filter cases. If it&#x27;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=&quot;[email protected]&quot;` - `state=OPEN AND (priority=P0 OR priority=P1)`
367 pageSize: integer, The maximum number of cases fetched with each request. Defaults to 10.
368 pageToken: string, A token identifying the page of results to return. If unspecified, the first page is retrieved.
369 productLine: string, The product line to request cases for. If unspecified, only Google Cloud cases will be returned.
370 Allowed values
371 PRODUCT_LINE_UNSPECIFIED - Unknown product type.
372 GOOGLE_CLOUD - Google Cloud
373 GOOGLE_MAPS - Google Maps
374 x__xgafv: string, V1 error format.
375 Allowed values
376 1 - v1 error format
377 2 - v2 error format
378
379 Returns:
380 An object of the form:
381
382 { # The response message for the ListCases endpoint.
383 &quot;cases&quot;: [ # The list of cases associated with the parent after any filters have been applied.
384 { # 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).
385 &quot;classification&quot;: { # 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. # The issue classification applicable to this case.
386 &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.
387 &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.
388 &quot;product&quot;: { # The product a case may be associated with. # The full product the classification corresponds to.
389 &quot;productLine&quot;: &quot;A String&quot;, # The product line of the Product.
390 },
391 },
392 &quot;contactEmail&quot;: &quot;A String&quot;, # 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&#x27;s email address directly from their EUCs.
393 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this case was created.
394 &quot;creator&quot;: { # 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. # The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support.
395 &quot;displayName&quot;: &quot;A String&quot;, # 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.
396 &quot;email&quot;: &quot;A String&quot;, # 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` instead.
397 &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
398 &quot;username&quot;: &quot;A String&quot;, # 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.
399 },
400 &quot;description&quot;: &quot;A String&quot;, # A broad description of the issue.
401 &quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
402 &quot;escalated&quot;: True or False, # Whether the case is currently escalated.
403 &quot;languageCode&quot;: &quot;A String&quot;, # The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., `&quot;en&quot;`, `&quot;zh-CN&quot;`, `&quot;zh-TW&quot;`, `&quot;ja&quot;`, `&quot;ko&quot;`). 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
404 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for the case.
405 &quot;priority&quot;: &quot;A String&quot;, # The priority of this case.
406 &quot;severity&quot;: &quot;A String&quot;, # REMOVED. The severity of this case. Use priority instead.
407 &quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
408 &quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
409 &quot;A String&quot;,
410 ],
411 &quot;testCase&quot;: True or False, # Whether this case was created for internal API testing and should not be acted on by the support team.
412 &quot;timeZone&quot;: &quot;A String&quot;, # 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.
413 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this case was last updated.
414 },
415 ],
416 &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 `cases.list` requests. If unspecified, there are no more results to retrieve.
417 }</pre>
418 </div>
419
420 <div class="method">
421 <code class="details" id="list_next">list_next()</code>
422 <pre>Retrieves the next page of results.
423
424 Args:
425 previous_request: The request for the previous page. (required)
426 previous_response: The response from the request for the previous page. (required)
427
428 Returns:
429 A request object that you can call &#x27;execute()&#x27; on to request the next
430 page. Returns None if there are no more items in the collection.
431 </pre>
432 </div>
433
434 <div class="method">
435 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
436 <pre>Update a case. Only some fields can be updated. EXAMPLES: cURL: ```shell case=&quot;projects/some-project/cases/43595344&quot; curl \ --request PATCH \ --header &quot;Authorization: Bearer $(gcloud auth print-access-token)&quot; \ --header &quot;Content-Type: application/json&quot; \ --data &#x27;{ &quot;priority&quot;: &quot;P1&quot; }&#x27; \ &quot;https://cloudsupport.googleapis.com/v2beta/$case?updateMask=priority&quot; ``` Python: ```python import googleapiclient.discovery api_version = &quot;v2beta&quot; supportApiService = googleapiclient.discovery.build( serviceName=&quot;cloudsupport&quot;, version=api_version, discoveryServiceUrl=f&quot;https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}&quot;, ) request = supportApiService.cases().patch( name=&quot;projects/some-project/cases/43112854&quot;, body={ &quot;displayName&quot;: &quot;This is Now a New Title&quot;, &quot;priority&quot;: &quot;P2&quot;, }, ) print(request.execute()) ```
437
438 Args:
439 name: string, Identifier. The resource name for the case. (required)
440 body: object, The request body.
441 The object takes the form of:
442
443 { # 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).
444 &quot;classification&quot;: { # 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. # The issue classification applicable to this case.
445 &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.
446 &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.
447 &quot;product&quot;: { # The product a case may be associated with. # The full product the classification corresponds to.
448 &quot;productLine&quot;: &quot;A String&quot;, # The product line of the Product.
449 },
450 },
451 &quot;contactEmail&quot;: &quot;A String&quot;, # 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&#x27;s email address directly from their EUCs.
452 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this case was created.
453 &quot;creator&quot;: { # 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. # The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support.
454 &quot;displayName&quot;: &quot;A String&quot;, # 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.
455 &quot;email&quot;: &quot;A String&quot;, # 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` instead.
456 &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
457 &quot;username&quot;: &quot;A String&quot;, # 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.
458 },
459 &quot;description&quot;: &quot;A String&quot;, # A broad description of the issue.
460 &quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
461 &quot;escalated&quot;: True or False, # Whether the case is currently escalated.
462 &quot;languageCode&quot;: &quot;A String&quot;, # The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., `&quot;en&quot;`, `&quot;zh-CN&quot;`, `&quot;zh-TW&quot;`, `&quot;ja&quot;`, `&quot;ko&quot;`). 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
463 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for the case.
464 &quot;priority&quot;: &quot;A String&quot;, # The priority of this case.
465 &quot;severity&quot;: &quot;A String&quot;, # REMOVED. The severity of this case. Use priority instead.
466 &quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
467 &quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
468 &quot;A String&quot;,
469 ],
470 &quot;testCase&quot;: True or False, # Whether this case was created for internal API testing and should not be acted on by the support team.
471 &quot;timeZone&quot;: &quot;A String&quot;, # 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.
472 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this case was last updated.
473 }
474
475 updateMask: string, 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.
476 x__xgafv: string, V1 error format.
477 Allowed values
478 1 - v1 error format
479 2 - v2 error format
480
481 Returns:
482 An object of the form:
483
484 { # 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).
485 &quot;classification&quot;: { # 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. # The issue classification applicable to this case.
486 &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.
487 &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.
488 &quot;product&quot;: { # The product a case may be associated with. # The full product the classification corresponds to.
489 &quot;productLine&quot;: &quot;A String&quot;, # The product line of the Product.
490 },
491 },
492 &quot;contactEmail&quot;: &quot;A String&quot;, # 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&#x27;s email address directly from their EUCs.
493 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this case was created.
494 &quot;creator&quot;: { # 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. # The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support.
495 &quot;displayName&quot;: &quot;A String&quot;, # 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.
496 &quot;email&quot;: &quot;A String&quot;, # 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` instead.
497 &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
498 &quot;username&quot;: &quot;A String&quot;, # 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.
499 },
500 &quot;description&quot;: &quot;A String&quot;, # A broad description of the issue.
501 &quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
502 &quot;escalated&quot;: True or False, # Whether the case is currently escalated.
503 &quot;languageCode&quot;: &quot;A String&quot;, # The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., `&quot;en&quot;`, `&quot;zh-CN&quot;`, `&quot;zh-TW&quot;`, `&quot;ja&quot;`, `&quot;ko&quot;`). 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
504 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for the case.
505 &quot;priority&quot;: &quot;A String&quot;, # The priority of this case.
506 &quot;severity&quot;: &quot;A String&quot;, # REMOVED. The severity of this case. Use priority instead.
507 &quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
508 &quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
509 &quot;A String&quot;,
510 ],
511 &quot;testCase&quot;: True or False, # Whether this case was created for internal API testing and should not be acted on by the support team.
512 &quot;timeZone&quot;: &quot;A String&quot;, # 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.
513 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this case was last updated.
514 }</pre>
515 </div>
516
517 <div class="method">
518 <code class="details" id="search">search(pageSize=None, pageToken=None, parent=None, query=None, x__xgafv=None)</code>
519 <pre>Search for cases using a query. EXAMPLES: cURL: ```shell parent=&quot;projects/some-project&quot; curl \ --header &quot;Authorization: Bearer $(gcloud auth print-access-token)&quot; \ &quot;https://cloudsupport.googleapis.com/v2beta/$parent/cases:search&quot; ``` Python: ```python import googleapiclient.discovery api_version = &quot;v2beta&quot; supportApiService = googleapiclient.discovery.build( serviceName=&quot;cloudsupport&quot;, version=api_version, discoveryServiceUrl=f&quot;https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}&quot;, ) request = supportApiService.cases().search( parent=&quot;projects/some-project&quot;, query=&quot;state=OPEN&quot; ) print(request.execute()) ```
520
521 Args:
522 pageSize: integer, The maximum number of cases fetched with each request. The default page size is 10.
523 pageToken: string, A token identifying the page of results to return. If unspecified, the first page is retrieved.
524 parent: string, The name of the parent resource to search for cases under.
525 query: string, An expression used to filter cases. 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. To search across `displayName`, `description`, and comments, use a global restriction with no keyword or operator. For example, `&quot;my search&quot;`. 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&gt;&quot;2020-01-01T00:00:00-05:00&quot;`. `update_time` only supports the greater than operator (`&gt;`). If you are using the `v2` version of the API, you must specify the case parent in the `parent` field. If you provide an empty `query`, all cases under the parent resource will be returned. If you are using the `v2beta` version of the API, you must specify the case parent in the `query` field using one of the two fields below, which are only available for `v2beta`. The `parent` field will be ignored. - `organization`: An organization name in the form `organizations/`. - `project`: A project name in the form `projects/`. Examples: For `v2`: - `state=CLOSED` - `state=OPEN AND creator.email=&quot;[email protected]&quot;` - `state=OPEN AND (priority=P0 OR priority=P1)` - `update_time&gt;&quot;2020-01-01T00:00:00-05:00&quot;` For `v2beta`: - `organization=&quot;organizations/123456789&quot;` - `project=&quot;projects/my-project-id&quot;` - `project=&quot;projects/123456789&quot;` - `organization=&quot;organizations/123456789&quot; AND state=CLOSED` - `project=&quot;projects/my-project-id&quot; AND creator.email=&quot;[email protected]&quot;` - `project=&quot;projects/my-project-id&quot; AND (priority=P0 OR priority=P1)`
526 x__xgafv: string, V1 error format.
527 Allowed values
528 1 - v1 error format
529 2 - v2 error format
530
531 Returns:
532 An object of the form:
533
534 { # The response message for the SearchCases endpoint.
535 &quot;cases&quot;: [ # The list of cases associated with the parent after any filters have been applied.
536 { # 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).
537 &quot;classification&quot;: { # 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. # The issue classification applicable to this case.
538 &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.
539 &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.
540 &quot;product&quot;: { # The product a case may be associated with. # The full product the classification corresponds to.
541 &quot;productLine&quot;: &quot;A String&quot;, # The product line of the Product.
542 },
543 },
544 &quot;contactEmail&quot;: &quot;A String&quot;, # 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&#x27;s email address directly from their EUCs.
545 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this case was created.
546 &quot;creator&quot;: { # 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. # The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support.
547 &quot;displayName&quot;: &quot;A String&quot;, # 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.
548 &quot;email&quot;: &quot;A String&quot;, # 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` instead.
549 &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
550 &quot;username&quot;: &quot;A String&quot;, # 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.
551 },
552 &quot;description&quot;: &quot;A String&quot;, # A broad description of the issue.
553 &quot;displayName&quot;: &quot;A String&quot;, # The short summary of the issue reported in this case.
554 &quot;escalated&quot;: True or False, # Whether the case is currently escalated.
555 &quot;languageCode&quot;: &quot;A String&quot;, # The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., `&quot;en&quot;`, `&quot;zh-CN&quot;`, `&quot;zh-TW&quot;`, `&quot;ja&quot;`, `&quot;ko&quot;`). 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
556 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for the case.
557 &quot;priority&quot;: &quot;A String&quot;, # The priority of this case.
558 &quot;severity&quot;: &quot;A String&quot;, # REMOVED. The severity of this case. Use priority instead.
559 &quot;state&quot;: &quot;A String&quot;, # Output only. The current status of the support case.
560 &quot;subscriberEmailAddresses&quot;: [ # The email addresses to receive updates on this case.
561 &quot;A String&quot;,
562 ],
563 &quot;testCase&quot;: True or False, # Whether this case was created for internal API testing and should not be acted on by the support team.
564 &quot;timeZone&quot;: &quot;A String&quot;, # 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.
565 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this case was last updated.
566 },
567 ],
568 &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 `cases.search` requests. If unspecified, there are no more results to retrieve.
569 }</pre>
570 </div>
571
572 <div class="method">
573 <code class="details" id="search_next">search_next()</code>
574 <pre>Retrieves the next page of results.
575
576 Args:
577 previous_request: The request for the previous page. (required)
578 previous_response: The response from the request for the previous page. (required)
579
580 Returns:
581 A request object that you can call &#x27;execute()&#x27; on to request the next
582 page. Returns None if there are no more items in the collection.
583 </pre>
584 </div>
585
586 <div class="method">
587 <code class="details" id="showFeed">showFeed(parent, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
588 <pre>Show items in the feed of this case, including case emails, attachments, and comments.
589
590 Args:
591 parent: string, Required. The resource name of the case for which feed items should be listed. (required)
592 orderBy: string, 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`
593 pageSize: integer, Optional. The maximum number of feed items fetched with each request.
594 pageToken: string, Optional. A token identifying the page of results to return. If unspecified, it retrieves the first page.
595 x__xgafv: string, V1 error format.
596 Allowed values
597 1 - v1 error format
598 2 - v2 error format
599
600 Returns:
601 An object of the form:
602
603 { # The response message for the ShowFeed endpoint.
604 &quot;feedItems&quot;: [ # The list of feed items associated with the given Case.
605 { # A feed item associated with a support case.
606 &quot;attachment&quot;: { # 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&#x27;re associated on a &quot;case&quot; level, not a &quot;comment&quot; level. # Output only. An attachment attached to the case.
607 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the attachment was created.
608 &quot;creator&quot;: { # 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. # Output only. The user who uploaded the attachment. Note, the name and email will be obfuscated if the attachment was uploaded by Google support.
609 &quot;displayName&quot;: &quot;A String&quot;, # 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.
610 &quot;email&quot;: &quot;A String&quot;, # 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` instead.
611 &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
612 &quot;username&quot;: &quot;A String&quot;, # 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.
613 },
614 &quot;filename&quot;: &quot;A String&quot;, # The filename of the attachment (e.g. `&quot;graph.jpg&quot;`).
615 &quot;mimeType&quot;: &quot;A String&quot;, # Output only. The MIME type of the attachment (e.g. text/plain).
616 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the attachment.
617 &quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size of the attachment in bytes.
618 },
619 &quot;comment&quot;: { # 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&#x27;s responses also appear as comments. # Output only. A comment added to the case.
620 &quot;body&quot;: &quot;A String&quot;, # The full comment body. Maximum of 12800 characters.
621 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the comment was created.
622 &quot;creator&quot;: { # 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. # Output only. The user or Google Support agent who created the comment.
623 &quot;displayName&quot;: &quot;A String&quot;, # 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.
624 &quot;email&quot;: &quot;A String&quot;, # 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` instead.
625 &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
626 &quot;username&quot;: &quot;A String&quot;, # 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.
627 },
628 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the comment.
629 &quot;plainTextBody&quot;: &quot;A String&quot;, # Output only. DEPRECATED. DO NOT USE. A duplicate of the `body` field. This field is only present for legacy reasons.
630 },
631 &quot;deletedAttachment&quot;: { # 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&#x27;re associated on a &quot;case&quot; level, not a &quot;comment&quot; level. # Output only. A deleted attachment that used to be associated with the support case.
632 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the attachment was created.
633 &quot;creator&quot;: { # 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. # Output only. The user who uploaded the attachment. Note, the name and email will be obfuscated if the attachment was uploaded by Google support.
634 &quot;displayName&quot;: &quot;A String&quot;, # 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.
635 &quot;email&quot;: &quot;A String&quot;, # 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` instead.
636 &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
637 &quot;username&quot;: &quot;A String&quot;, # 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.
638 },
639 &quot;filename&quot;: &quot;A String&quot;, # The filename of the attachment (e.g. `&quot;graph.jpg&quot;`).
640 &quot;mimeType&quot;: &quot;A String&quot;, # Output only. The MIME type of the attachment (e.g. text/plain).
641 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the attachment.
642 &quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size of the attachment in bytes.
643 },
644 &quot;emailMessage&quot;: { # An email associated with a support case. # Output only. An email message received in reply to the case.
645 &quot;actor&quot;: { # 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. # Output only. The user or Google Support agent that created this email message. This is inferred from the headers on the email message.
646 &quot;displayName&quot;: &quot;A String&quot;, # 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.
647 &quot;email&quot;: &quot;A String&quot;, # 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` instead.
648 &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
649 &quot;username&quot;: &quot;A String&quot;, # 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.
650 },
651 &quot;bodyContent&quot;: { # Stores text attached to a support object. # Output only. The full email message body. A best-effort attempt is made to remove extraneous reply threads.
652 &quot;plainText&quot;: &quot;A String&quot;, # Content in this field should be rendered and interpreted as-is.
653 },
654 &quot;ccEmailAddresses&quot;: [ # Output only. Email addresses CCed on the email.
655 &quot;A String&quot;,
656 ],
657 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this email message object was created.
658 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name for the email message.
659 &quot;recipientEmailAddresses&quot;: [ # Output only. Email addresses the email was sent to.
660 &quot;A String&quot;,
661 ],
662 &quot;subject&quot;: &quot;A String&quot;, # Output only. Subject of the email.
663 },
664 &quot;eventTime&quot;: &quot;A String&quot;, # Output only. Time corresponding to the event of this item.
665 },
666 ],
667 &quot;nextPageToken&quot;: &quot;A String&quot;, # 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.
668 }</pre>
669 </div>
670
671 <div class="method">
672 <code class="details" id="showFeed_next">showFeed_next()</code>
673 <pre>Retrieves the next page of results.
674
675 Args:
676 previous_request: The request for the previous page. (required)
677 previous_response: The response from the request for the previous page. (required)
678
679 Returns:
680 A request object that you can call &#x27;execute()&#x27; on to request the next
681 page. Returns None if there are no more items in the collection.
682 </pre>
683 </div>
684
685 </body></html>