Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::Snapshot.
A Filestore snapshot.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time when the snapshot was created.
#description
def description() -> ::String
- (::String) — A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
#description=
def description=(value) -> ::String
- value (::String) — A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
- (::String) — A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
#filesystem_used_bytes
def filesystem_used_bytes() -> ::Integer
- (::Integer) — Output only. The amount of bytes needed to allocate a full copy of the snapshot content
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.
- (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.
#name
def name() -> ::String
-
(::String) — Output only. The resource name of the snapshot, in the format
projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}
.
#state
def state() -> ::Google::Cloud::Filestore::V1::Snapshot::State
- (::Google::Cloud::Filestore::V1::Snapshot::State) — Output only. The snapshot state.
#tags
def tags() -> ::Google::Protobuf::Map{::String => ::String}
-
(::Google::Protobuf::Map{::String => ::String}) —
Optional. Input only. Immutable. Tag key-value pairs bound to this resource. Each key must be a namespaced name and each value a short name. Example: "123456789012/environment" : "production", "123456789013/costCenter" : "marketing" See the documentation for more information:
- Namespaced name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key
- Short name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value
#tags=
def tags=(value) -> ::Google::Protobuf::Map{::String => ::String}
-
value (::Google::Protobuf::Map{::String => ::String}) —
Optional. Input only. Immutable. Tag key-value pairs bound to this resource. Each key must be a namespaced name and each value a short name. Example: "123456789012/environment" : "production", "123456789013/costCenter" : "marketing" See the documentation for more information:
- Namespaced name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key
- Short name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value
-
(::Google::Protobuf::Map{::String => ::String}) —
Optional. Input only. Immutable. Tag key-value pairs bound to this resource. Each key must be a namespaced name and each value a short name. Example: "123456789012/environment" : "production", "123456789013/costCenter" : "marketing" See the documentation for more information:
- Namespaced name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key
- Short name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value