Method: legacySdk.legacyAttachmentData

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

Legacy RPC for getting attachment.

HTTP request


Path parameters

Parameters
instance

string

Required. The GetAttachment request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:legacyAttachmentData?attachmentId={attachmentId}

Query parameters

Parameters
attachmentId

string

Required. The attachment id to get the attachment data for.

Request body

The request body must be empty.

Response body

The GetAttachmentResponse message.

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

JSON representation
{
  "payload": string
}
Fields
payload

string (bytes format)

The instance of the legacy sdk.

A base64-encoded string.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.