Reference documentation and code samples for the Google Cloud Filestore V1 Client class Snapshot.
A Filestore snapshot.
Generated from protobuf message google.cloud.filestore.v1.Snapshot
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}
.
↳ description
string
A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
↳ state
int
Output only. The snapshot state.
↳ create_time
↳ labels
↳ filesystem_used_bytes
int|string
Output only. The amount of bytes needed to allocate a full copy of the snapshot content
getName
Output only. The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}
.
string
setName
Output only. The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}
.
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
getState
Output only. The snapshot state.
int
setState
Output only. The snapshot state.
var
int
$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
getFilesystemUsedBytes
Output only. The amount of bytes needed to allocate a full copy of the snapshot content
int|string
setFilesystemUsedBytes
Output only. The amount of bytes needed to allocate a full copy of the snapshot content
var
int|string
$this