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
    Returns
    
  - (::Google::Protobuf::Timestamp) — Output only. The time when the snapshot was created.
 
#description
def description() -> ::String
    Returns
    
  - (::String) — A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
 
#description=
def description=(value) -> ::String
    Parameter
    
  - value (::String) — A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
 
    Returns
    
  - (::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
    Returns
    
  - (::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}
    Returns
    
  - (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.
 
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
    Parameter
    
  - value (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.
 
    Returns
    
  - (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.
 
#name
def name() -> ::String
    Returns
    
  - 
        (::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
    Returns
    
- (::Google::Cloud::Filestore::V1::Snapshot::State) — Output only. The snapshot state.