Google Cloud Net App V1 Client - Class DestinationVolumeParameters (0.1.1)

Reference documentation and code samples for the Google Cloud Net App V1 Client class DestinationVolumeParameters.

DestinationVolumeParameters specify input parameters used for creating destination volume.

Generated from protobuf message google.cloud.netapp.v1.DestinationVolumeParameters

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ storage_pool string

Required. Existing destination StoragePool name.

↳ volume_id string

Desired destination volume resource id. If not specified, source volume's resource id will be used. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

↳ share_name string

Destination volume's share name. If not specified, source volume's share name will be used.

↳ description string

Description for the destination volume.

getStoragePool

Required. Existing destination StoragePool name.

Returns
TypeDescription
string

setStoragePool

Required. Existing destination StoragePool name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVolumeId

Desired destination volume resource id. If not specified, source volume's resource id will be used.

This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

Returns
TypeDescription
string

setVolumeId

Desired destination volume resource id. If not specified, source volume's resource id will be used.

This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getShareName

Destination volume's share name. If not specified, source volume's share name will be used.

Returns
TypeDescription
string

setShareName

Destination volume's share name. If not specified, source volume's share name will be used.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

Description for the destination volume.

Returns
TypeDescription
string

hasDescription

clearDescription

setDescription

Description for the destination volume.

Parameter
NameDescription
var string
Returns
TypeDescription
$this