Method: legacySdk.legacyAttachments

Full name: projects.locations.instances.legacySdk.legacyAttachments

Legacy RPC for getting attachments.

HTTP request


Path parameters

Parameters
instance

string

Required. The GetAttachments request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:legacyAttachments?caseId={caseId}

Query parameters

Parameters
caseId

string

Required. The case id to get the attachments for.

Request body

The request body must be empty.

Response body

The GetAttachmentsResponse message.

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

JSON representation
{
  "payload": [
    {
      object (SdkApiAttachmentMetadata)
    }
  ]
}
Fields
payload[]

object (SdkApiAttachmentMetadata)

The instance of the legacy sdk.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

SdkApiAttachmentMetadata

ApiAttachmentMetadata message.

JSON representation
{
  "id": string,
  "type": string,
  "name": string,
  "description": string,
  "isFavorite": boolean
}
Fields
id

string (int64 format)

Attachment id.

type

string

Attachment type.

name

string

Attachment name.

description

string

Attachment description.

isFavorite

boolean

Is favorite.