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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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. |
↳ tiering_policy |
TieringPolicy
Optional. Tiering policy for the volume. |
getStoragePool
Required. Existing destination StoragePool name.
Returns | |
---|---|
Type | Description |
string |
setStoragePool
Required. Existing destination StoragePool name.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getShareName
Destination volume's share name. If not specified, source volume's share name will be used.
Returns | |
---|---|
Type | Description |
string |
setShareName
Destination volume's share name. If not specified, source volume's share name will be used.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDescription
Description for the destination volume.
Returns | |
---|---|
Type | Description |
string |
hasDescription
clearDescription
setDescription
Description for the destination volume.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getTieringPolicy
Optional. Tiering policy for the volume.
Returns | |
---|---|
Type | Description |
TieringPolicy|null |
hasTieringPolicy
clearTieringPolicy
setTieringPolicy
Optional. Tiering policy for the volume.
Parameter | |
---|---|
Name | Description |
var |
TieringPolicy
|
Returns | |
---|---|
Type | Description |
$this |