Method: legacySdk.legacyCaseMetadata

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

Legacy RPC for getting case metadata.

HTTP request


Path parameters

Parameters
instance

string

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

Query parameters

Parameters
caseId

string (int64 format)

Required. The case id to get the metadata for.

Request body

The request body must be empty.

Response body

ApiCyberCase message.

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

JSON representation
{
  "title": string,
  "description": string,
  "environment": string,
  "priority": integer,
  "stage": string,
  "assignedUser": string,
  "status": integer,
  "alertCount": integer,
  "highRiskProducts": [
    string
  ],
  "slaExpirationUnixTime": string,
  "identifier": string,
  "creationTimeUnixMs": string,
  "modificationTimeUnixMs": string,
  "additionalProperties": {
    string: string,
    ...
  },
  "isTouched": boolean,
  "isMerged": boolean,
  "isImportant": boolean,
  "isIncident": boolean,
  "hasWorkflow": boolean,
  "isLocked": boolean,
  "hasSuspiciousEntity": boolean
}
Fields
title

string

Case title

description

string

Case description

environment

string

Case environment

priority

integer

Case priority

stage

string

Case stage

assignedUser

string

Assigned user

status

integer

Case status

alertCount

integer

Alert count

highRiskProducts[]

string

High risk products

slaExpirationUnixTime

string

Sla expiration unix time

identifier

string

Case identifier

creationTimeUnixMs

string (int64 format)

Creation time in unix ms

modificationTimeUnixMs

string (int64 format)

Modification time in unix ms

additionalProperties

map (key: string, value: string)

Additional properties

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

isTouched

boolean

Is touched

isMerged

boolean

Is merged

isImportant

boolean

Is important

isIncident

boolean

Is incident

hasWorkflow

boolean

Has workflow

isLocked

boolean

Is locked

hasSuspiciousEntity

boolean

Has suspicious entity

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.