Google Cloud Lustre V1 Client - Class ImportDataRequest (0.6.0)

Reference documentation and code samples for the Google Cloud Lustre V1 Client class ImportDataRequest.

Message for importing data to Lustre.

Generated from protobuf message google.cloud.lustre.v1.ImportDataRequest

Namespace

Google \ Cloud \ Lustre \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ gcs_path 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 (/).

↳ lustre_path LustrePath

Lustre path destination.

↳ name string

Required. The name of the Managed Lustre instance in the format projects/{project}/locations/{location}/instances/{instance}.

↳ request_id string

Optional. UUID to identify requests.

↳ service_account string

Optional. User-specified service account used to perform the transfer. If unspecified, the default Managed Lustre service agent will be used. Use one of the following formats: * * {EMAIL_ADDRESS_OR_UNIQUE_ID} * * projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID} * * projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}

getGcsPath

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 (/).

Returns
Type Description
GcsPath|null

hasGcsPath

setGcsPath

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 (/).

Parameter
Name Description
var GcsPath
Returns
Type Description
$this

getLustrePath

Lustre path destination.

Returns
Type Description
LustrePath|null

hasLustrePath

setLustrePath

Lustre path destination.

Parameter
Name Description
var LustrePath
Returns
Type Description
$this

getName

Required. The name of the Managed Lustre instance in the format projects/{project}/locations/{location}/instances/{instance}.

Returns
Type Description
string

setName

Required. The name of the Managed Lustre instance in the format projects/{project}/locations/{location}/instances/{instance}.

Parameter
Name Description
var string
Returns
Type Description
$this

getRequestId

Optional. UUID to identify requests.

Returns
Type Description
string

setRequestId

Optional. UUID to identify requests.

Parameter
Name Description
var string
Returns
Type Description
$this

getServiceAccount

Optional. User-specified service account used to perform the transfer.

If unspecified, the default Managed Lustre service agent will be used. Use one of the following formats:

  • {EMAIL_ADDRESS_OR_UNIQUE_ID}
  • projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}
  • projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}
Returns
Type Description
string

setServiceAccount

Optional. User-specified service account used to perform the transfer.

If unspecified, the default Managed Lustre service agent will be used. Use one of the following formats:

  • {EMAIL_ADDRESS_OR_UNIQUE_ID}
  • projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}
  • projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}
Parameter
Name Description
var string
Returns
Type Description
$this

getSource

Returns
Type Description
string

getDestination

Returns
Type Description
string

static::build

Parameter
Name Description
name string

Required. The name of the Managed Lustre instance in the format projects/{project}/locations/{location}/instances/{instance}. Please see LustreClient::instanceName() for help formatting this field.

Returns
Type Description
ImportDataRequest