You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline">Retrieve valid classifications to be used when creating a support case. The classications are hierarchical, with each classification containing all levels of the hierarchy, separated by `" > "`. For example `"Technical Issue > Compute > Compute Engine"`. 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.</p>
<pre>Retrieve valid classifications to be used when creating a support case. The classications are hierarchical, with each classification containing all levels of the hierarchy, separated by `" > "`. For example `"Technical Issue > Compute > Compute Engine"`. 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.
95
+
96
+
Args:
97
+
pageSize: integer, The maximum number of cases fetched with each request.
98
+
pageToken: string, A token identifying the page of results to return. If unspecified, the first page is retrieved.
99
+
query: string, An expression written in the Google Cloud filter language. If non-empty, then only cases whose fields match the filter are returned. If empty, then no messages are filtered out.
100
+
x__xgafv: string, V1 error format.
101
+
Allowed values
102
+
1 - v1 error format
103
+
2 - v2 error format
104
+
105
+
Returns:
106
+
An object of the form:
107
+
108
+
{ # The response message for SearchCaseClassifications endpoint.
109
+
"caseClassifications": [ # The classifications retrieved.
110
+
{ # A classification object with a product type and value.
111
+
"displayName": "A String", # 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.
112
+
"id": "A String", # 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.
113
+
},
114
+
],
115
+
"nextPageToken": "A String", # A token to retrieve the next page of results. This should be set in the `page_token` field of subsequent `SearchCaseClassificationsRequest` message that is issued. If unspecified, there are no more results to retrieve.
<pre>Retrieve all attachments associated with a support case.
95
+
96
+
Args:
97
+
parent: string, Required. The resource name of Case object for which attachments should be listed. (required)
98
+
pageSize: integer, 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.
99
+
pageToken: string, A token identifying the page of results to return. If unspecified, the first page is retrieved.
100
+
x__xgafv: string, V1 error format.
101
+
Allowed values
102
+
1 - v1 error format
103
+
2 - v2 error format
104
+
105
+
Returns:
106
+
An object of the form:
107
+
108
+
{ # The response message for the ListAttachments endpoint.
109
+
"attachments": [ # The list of attachments associated with the given case.
110
+
{ # Represents a file attached to a support case.
111
+
"createTime": "A String", # Output only. The time at which the attachment was created.
112
+
"creator": { # An object containing information about the effective user and authenticated principal responsible for an action. # Output only. The user who uploaded the attachment. Note, the name and email will be obfuscated if the attachment was uploaded by Google support.
113
+
"displayName": "A String", # 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.
114
+
"email": "A String", # The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.
115
+
"googleSupport": True or False, # Output only. Whether the actor is a Google support actor.
116
+
},
117
+
"filename": "A String", # The filename of the attachment (e.g. `"graph.jpg"`).
118
+
"mimeType": "A String", # Output only. The MIME type of the attachment (e.g. text/plain).
119
+
"name": "A String", # Output only. The resource name of the attachment.
120
+
"sizeBytes": "A String", # Output only. The size of the attachment in bytes.
121
+
},
122
+
],
123
+
"nextPageToken": "A String", # A token to retrieve the next page of results. This should be set in the `page_token` field of subsequent `cases.attachments.list` requests. If unspecified, there are no more results to retrieve.
0 commit comments