Method: cases.showFeed

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 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 (FeedItem)
    }
  ],
  "nextPageToken": string
}
Fields
feedItems[]

object (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.

FeedItem

A feed item associated with a support case.

JSON representation
{
  "eventTime": string,

  // Union field event_object can be only one of the following:
  "comment": {
    object (Comment)
  },
  "attachment": {
    object (Attachment)
  },
  "emailMessage": {
    object (EmailMessage)
  },
  "deletedAttachment": {
    object (Attachment)
  }
  // End of list of possible types for union field event_object.
}
Fields
eventTime

string (Timestamp format)

Output only. Time corresponding to the event of this item.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Union field event_object. The object corresponding to the event. event_object can be only one of the following:
comment

object (Comment)

Output only. A comment added to the case.

attachment

object (Attachment)

Output only. An attachment attached to the case.

emailMessage

object (EmailMessage)

Output only. An email message received in reply to the case.

deletedAttachment

object (Attachment)

Output only. A deleted attachment that used to be associated with the support case.

EmailMessage

An email associated with a support case.

JSON representation
{
  "name": string,
  "createTime": string,
  "actor": {
    object (Actor)
  },
  "subject": string,
  "recipientEmailAddresses": [
    string
  ],
  "ccEmailAddresses": [
    string
  ],
  "bodyContent": {
    object (TextContent)
  }
}
Fields
name

string

Identifier. Resource name for the email message.

createTime

string (Timestamp format)

Output only. Time when this email message object was created.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

actor

object (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 (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.