Method: cases.batchAttachEvidence

Full name: projects.locations.instances.cases.batchAttachEvidence

Batch attaches case evidences to cases. This operation is atomic; either all attachments succeed, or all fail.

HTTP request


POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{name}:batchAttachEvidence

Path parameters

Parameters
name

string

Required. The resource name of the Case to batch attach case evidence for. Format: projects/{project}/locations/{location}/instances/{instance}/cases/{case}

Request body

The request body contains data with the following structure:

JSON representation
{
  "requests": [
    {
      object (AttachCaseEvidenceRequestItem)
    }
  ]
}
Fields
requests[]

object (AttachCaseEvidenceRequestItem)

Required. The requests to attach case evidence.

Response body

Response message for cases.batchAttachEvidence.

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

JSON representation
{
  "caseEvidences": [
    {
      object (CaseEvidence)
    }
  ]
}
Fields
caseEvidences[]

object (CaseEvidence)

The case evidences created.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • chronicle.cases.update

For more information, see the IAM documentation.

AttachCaseEvidenceRequestItem

Request message for AttachCaseEvidenceRequestItem.

JSON representation
{

  // Union field request can be only one of the following:
  "attachCaseEvidenceRequest": {
    object (AttachCaseEvidenceRequest)
  }
  // End of list of possible types for union field request.
}
Fields
Union field request. The request to attach case evidence. request can be only one of the following:
attachCaseEvidenceRequest

object (AttachCaseEvidenceRequest)

The request to attach case evidence.

AttachCaseEvidenceRequest

Request message for AttachCaseEvidence.

JSON representation
{
  "evidenceId": string,
  "evidenceType": enum (EvidenceType)
}
Fields
evidenceId

string

Required. The evidence id to attach.

evidenceType

enum (EvidenceType)

Required. The type of the evidence to attach.