Reference documentation and code samples for the Google Cloud Net App V1 Client class OntapSource.
Represents ONTAP source details.
Generated from protobuf message google.cloud.netapp.v1.OntapSource
Namespace
Google \ Cloud \ NetApp \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ storage_pool |
string
Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode volumes. Format: |
↳ volume_uuid |
string
Required. The UUID of the ONTAP source volume. |
↳ snapshot_uuid |
string
Optional. The UUID of the ONTAP source snapshot. |
getStoragePool
Required. Name of the storage pool. This must be specified for creating
backups for ONTAP mode volumes. Format:
projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
hasStoragePool
clearStoragePool
setStoragePool
Required. Name of the storage pool. This must be specified for creating
backups for ONTAP mode volumes. Format:
projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVolumeUuid
Required. The UUID of the ONTAP source volume.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVolumeUuid
Required. The UUID of the ONTAP source volume.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSnapshotUuid
Optional. The UUID of the ONTAP source snapshot.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSnapshotUuid
Optional. The UUID of the ONTAP source snapshot.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|