Method: projects.locations.instances.export

Export instance.

HTTP request

POST https://looker.googleapis.com/v1/{name=projects/*/locations/*/instances/*}:export

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Format: projects/{project}/locations/{location}/instances/{instance}.

Request body

The request body contains data with the following structure:

JSON representation
{
  "encryptionConfig": {
    object (ExportEncryptionConfig)
  },

  // Union field target can be only one of the following:
  "gcsUri": string
  // End of list of possible types for union field target.
}
Fields
encryptionConfig

object (ExportEncryptionConfig)

Required. Encryption configuration (CMEK). For CMEK enabled instances it should be same as looker CMEK.

Union field target. The path to the folder in Google Cloud Storage where the export will be stored. The URI is in the form gs://bucketName/folderName. target can be only one of the following:
gcsUri

string

The path to the folder in Google Cloud Storage where the export will be stored. The URI is in the form gs://bucketName/folderName.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • looker.googleapis.com/looker.instances.export

For more information, see the IAM documentation.

ExportEncryptionConfig

Configuration for Encryption - e.g. CMEK.

JSON representation
{
  "kmsKeyName": string
}
Fields
kmsKeyName

string

Required. Name of the CMEK key in KMS.