[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Net App V1 Client - Class Snapshot (1.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.6.1 (latest)](/php/docs/reference/cloud-netapp/latest/V1.Snapshot)\n- [1.6.0](/php/docs/reference/cloud-netapp/1.6.0/V1.Snapshot)\n- [1.4.0](/php/docs/reference/cloud-netapp/1.4.0/V1.Snapshot)\n- [1.3.1](/php/docs/reference/cloud-netapp/1.3.1/V1.Snapshot)\n- [1.2.1](/php/docs/reference/cloud-netapp/1.2.1/V1.Snapshot)\n- [1.1.1](/php/docs/reference/cloud-netapp/1.1.1/V1.Snapshot)\n- [1.0.1](/php/docs/reference/cloud-netapp/1.0.1/V1.Snapshot)\n- [0.3.1](/php/docs/reference/cloud-netapp/0.3.1/V1.Snapshot)\n- [0.2.6](/php/docs/reference/cloud-netapp/0.2.6/V1.Snapshot)\n- [0.1.1](/php/docs/reference/cloud-netapp/0.1.1/V1.Snapshot) \nReference documentation and code samples for the Google Cloud Net App V1 Client class Snapshot.\n\nSnapshot is a point-in-time version of a Volume's content.\n\nGenerated from protobuf message `google.cloud.netapp.v1.Snapshot`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetApp \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. The resource name of the snapshot.\n\nFormat:\n`projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`.\n\n### setName\n\nIdentifier. The resource name of the snapshot.\n\nFormat:\n`projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`.\n\n### getState\n\nOutput only. The snapshot state.\n\n### setState\n\nOutput only. The snapshot state.\n\n### getStateDetails\n\nOutput only. State details of the storage pool\n\n### setStateDetails\n\nOutput only. State details of the storage pool\n\n### getDescription\n\nA description of the snapshot with 2048 characters or less.\n\nRequests with longer descriptions will be rejected.\n\n### setDescription\n\nA description of the snapshot with 2048 characters or less.\n\nRequests with longer descriptions will be rejected.\n\n### getUsedBytes\n\nOutput only. Current storage usage for the snapshot in bytes.\n\n### setUsedBytes\n\nOutput only. Current storage usage for the snapshot in bytes.\n\n### getCreateTime\n\nOutput only. The time when the snapshot was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The time when the snapshot was created.\n\n### getLabels\n\nResource labels to represent user provided metadata.\n\n### setLabels\n\nResource labels to represent user provided metadata."]]