Method: projects.locations.managementServers.msComplianceMetadata

Returns the Assured Workloads compliance metadata for a given project.

HTTP request

POST https://backupdr.googleapis.com/v1/{parent=projects/*/locations/*/managementServers}:msComplianceMetadata

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The project and location to be used to check CSS metadata for target project information, in the format 'projects/{projectId}/locations/{location}'. In Cloud BackupDR, locations map to Google Cloud regions, for example us-central1.

Request body

The request body contains data with the following structure:

JSON representation
{
  "projectId": string
}
Fields
projectId

string

Required. The project id of the target project

Response body

Response message for GetMsComplianceMetadata

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

JSON representation
{
  "isAssuredWorkload": boolean
}
Fields
isAssuredWorkload

boolean

The ms compliance metadata of the target project, if the project is an assured workloads project, values will be true, otherwise false.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.