Method: slaDefinitions.import

Full name: projects.locations.instances.slaDefinitions.import

Imports a SlaDefinitions.

HTTP request


Path parameters

Parameters
parent

string

Required. The instance into which SlaDefinitions should be imported. Format: projects/{project}/locations/{location}/instances/{instance}/slaDefinitions

Request body

The request body contains data with the following structure:

JSON representation
{
  "content": string,
  "overrideExistingRecords": boolean
}
Fields
content

string (bytes format)

Required. The CSV file content containing SlaDefinitions to import.

A base64-encoded string.

overrideExistingRecords

boolean

Optional. Whether to override existing SlaDefinition records during import.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.