Method: projects.locations.instances.importData

Imports data from Cloud Storage to a Managed Lustre instance.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the resource.

Request body

The request body contains data with the following structure:

JSON representation
{
  "requestId": string,
  "serviceAccount": string,

  // Union field source can be only one of the following:
  "gcsPath": {
    object (GcsPath)
  }
  // End of list of possible types for union field source.

  // Union field destination can be only one of the following:
  "lustrePath": {
    object (LustrePath)
  }
  // End of list of possible types for union field destination.
}
Fields
requestId

string

Optional. UUID to identify requests.

serviceAccount

string

Optional. User-specified service account used to perform the transfer. If unspecified, the default Managed Lustre service agent will be used.

Union field source. A Cloud Storage URI of a folder to import file data from, in the form of gs://<bucket_name>/<path_inside_bucket>/. source can be only one of the following:
gcsPath

object (GcsPath)

The Cloud Storage source bucket and, optionally, path inside the bucket. If a path inside the bucket is specified, it must end with a forward slash (/).

Union field destination. The destination of the data transfer. destination can be only one of the following:
lustrePath

object (LustrePath)

Lustre path destination.

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:

  • lustre.instances.importData

For more information, see the IAM documentation.