Method: legacySdk.legacyAddAttachment

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

Legacy RPC for add attachment.

HTTP request


Path parameters

Parameters
instance

string

Required. The AddAttachment request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:addAttachment

Request body

The request body contains data with the following structure:

JSON representation
{
  "caseIdentifier": string,
  "alertIdentifier": string,
  "base64Blob": string,
  "type": string,
  "name": string,
  "description": string,
  "isImportant": boolean
}
Fields
caseIdentifier

string

Required. The case identifier.

alertIdentifier

string

Required. The alert identifier.

base64Blob

string

Required. The base64 blob.

type

string

Required. The type.

name

string

Required. The name.

description

string

Required. The description.

isImportant

boolean

Required. The is important flag.

Response body

The AddAttachmentResponse message.

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

JSON representation
{
  "payload": string
}
Fields
payload

string (int64 format)

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.