Reference documentation and code samples for the Google Cloud Net App V1 Client class Snapshot.
Snapshot is a point-in-time version of a Volume's content.
Generated from protobuf message google.cloud.netapp.v1.Snapshot
Namespace
Google \ Cloud \ NetApp \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The resource name of the snapshot. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}
.
↳ state
int
Output only. The snapshot state.
↳ state_details
string
Output only. State details of the storage pool
↳ description
string
A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
↳ used_bytes
float
Output only. Current storage usage for the snapshot in bytes.
↳ create_time
↳ labels
getName
Output only. The resource name of the snapshot.
Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}
.
string
setName
Output only. The resource name of the snapshot.
Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}
.
var
string
$this
getState
Output only. The snapshot state.
int
setState
Output only. The snapshot state.
var
int
$this
getStateDetails
Output only. State details of the storage pool
string
setStateDetails
Output only. State details of the storage pool
var
string
$this
getDescription
A description of the snapshot with 2048 characters or less.
Requests with longer descriptions will be rejected.
string
setDescription
A description of the snapshot with 2048 characters or less.
Requests with longer descriptions will be rejected.
var
string
$this
getUsedBytes
Output only. Current storage usage for the snapshot in bytes.
float
setUsedBytes
Output only. Current storage usage for the snapshot in bytes.
var
float
$this
getCreateTime
Output only. The time when the snapshot was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the snapshot was created.
$this
getLabels
Resource labels to represent user provided metadata.
setLabels
Resource labels to represent user provided metadata.
$this