Show items in the feed of this case, including case emails, attachments, and comments.

### HTTP request

`GET https://cloudsupport.googleapis.com/v2beta/{parent=*/*/cases/*}:showFeed`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The resource name of the case for which feed items should be listed. |

### Query parameters

| Parameters ||
|---|---|
| `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` |
| `pageSize` | `integer` Optional. The maximum number of feed items fetched with each request. |
| `pageToken` | `string` Optional. A token identifying the page of results to return. If unspecified, it retrieves the first page. |

### Request body

The request body must be empty.

### Response body

The response message for the cases.showFeed endpoint.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "feedItems": [ { object (`https://docs.cloud.google.com/support/docs/reference/rest/v2beta/cases/showFeed#FeedItem`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `feedItems[]` | ``object (`https://docs.cloud.google.com/support/docs/reference/rest/v2beta/cases/showFeed#FeedItem`)`` The list of feed items associated with the given Case. |
| `nextPageToken` | `string` A token to retrieve the next page of results. This should be set in the `pageToken` field of subsequent `ShowFeedRequests`. If unspecified, there are no more results to retrieve. |

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/cloudsupport`
- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

## FeedItem

A feed item associated with a support case.

| JSON representation |
|---|
| ``` { "eventTime": string, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "comment": { object (`https://docs.cloud.google.com/support/docs/reference/rest/v2beta/cases.comments#Comment`) }, "attachment": { object (`https://docs.cloud.google.com/support/docs/reference/rest/v2beta/cases.attachments#Attachment`) }, "emailMessage": { object (`https://docs.cloud.google.com/support/docs/reference/rest/v2beta/cases/showFeed#EmailMessage`) }, "deletedAttachment": { object (`https://docs.cloud.google.com/support/docs/reference/rest/v2beta/cases.attachments#Attachment`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `eventTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Time corresponding to the event of this item. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| The object corresponding to the event. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `comment` | ``object (`https://docs.cloud.google.com/support/docs/reference/rest/v2beta/cases.comments#Comment`)`` Output only. A comment added to the case. |
| `attachment` | ``object (`https://docs.cloud.google.com/support/docs/reference/rest/v2beta/cases.attachments#Attachment`)`` Output only. An attachment attached to the case. |
| `emailMessage` | ``object (`https://docs.cloud.google.com/support/docs/reference/rest/v2beta/cases/showFeed#EmailMessage`)`` Output only. An email message received in reply to the case. |
| `deletedAttachment` | ``object (`https://docs.cloud.google.com/support/docs/reference/rest/v2beta/cases.attachments#Attachment`)`` Output only. A deleted attachment that used to be associated with the support case. |
| End of mutually exclusive fields. ||

## EmailMessage

An email associated with a support case.

| JSON representation |
|---|
| ``` { "name": string, "createTime": string, "actor": { object (`https://docs.cloud.google.com/support/docs/reference/rest/v2beta/Actor`) }, "subject": string, "recipientEmailAddresses": [ string ], "ccEmailAddresses": [ string ], "bodyContent": { object (`https://docs.cloud.google.com/support/docs/reference/rest/v2beta/cases/showFeed#TextContent`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. Resource name for the email message. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Time when this email message object was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `actor` | ``object (`https://docs.cloud.google.com/support/docs/reference/rest/v2beta/Actor`)`` Output only. The user or Google Support agent that created this email message. This is inferred from the headers on the email message. |
| `subject` | `string` Output only. Subject of the email. |
| `recipientEmailAddresses[]` | `string` Output only. Email addresses the email was sent to. |
| `ccEmailAddresses[]` | `string` Output only. Email addresses CCed on the email. |
| `bodyContent` | ``object (`https://docs.cloud.google.com/support/docs/reference/rest/v2beta/cases/showFeed#TextContent`)`` Output only. The full email message body. A best-effort attempt is made to remove extraneous reply threads. |

## TextContent

Stores text attached to a support object.

| JSON representation |
|---|
| ``` { "plainText": string } ``` |

| Fields ||
|---|---|
| `plainText` | `string` Content in this field should be rendered and interpreted as-is. |