Reference documentation and code samples for the Google Cloud Net App V1 Client class CloneDetails.
Details about a clone volume.
Generated from protobuf message google.cloud.netapp.v1.Volume.CloneDetails
Namespace
Google \ Cloud \ NetApp \ V1 \ VolumeMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ source_snapshot |
string
Output only. Specifies the full resource name of the source snapshot from which this volume was cloned. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot} |
↳ source_volume |
string
Output only. Full name of the source volume resource. Format: projects/{project}/locations/{location}/volumes/{volume} |
↳ shared_space_gib |
int|string
Output only. Shared space in GiB. Determined at volume creation time based on size of source snapshot. |
getSourceSnapshot
Output only. Specifies the full resource name of the source snapshot from which this volume was cloned. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}
| Returns | |
|---|---|
| Type | Description |
string |
|
setSourceSnapshot
Output only. Specifies the full resource name of the source snapshot from which this volume was cloned. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSourceVolume
Output only. Full name of the source volume resource.
Format: projects/{project}/locations/{location}/volumes/{volume}
| Returns | |
|---|---|
| Type | Description |
string |
|
setSourceVolume
Output only. Full name of the source volume resource.
Format: projects/{project}/locations/{location}/volumes/{volume}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSharedSpaceGib
Output only. Shared space in GiB. Determined at volume creation time based on size of source snapshot.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setSharedSpaceGib
Output only. Shared space in GiB. Determined at volume creation time based on size of source snapshot.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|