Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::CreateSnapshotRequest.
CreateSnapshotRequest creates a snapshot.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
-
(::String) — Required. The Filestore Instance to create the snapshots of, in the format
projects/{project_id}/locations/{location}/instances/{instance_id}
#parent=
def parent=(value) -> ::String
-
value (::String) — Required. The Filestore Instance to create the snapshots of, in the format
projects/{project_id}/locations/{location}/instances/{instance_id}
-
(::String) — Required. The Filestore Instance to create the snapshots of, in the format
projects/{project_id}/locations/{location}/instances/{instance_id}
#snapshot
def snapshot() -> ::Google::Cloud::Filestore::V1::Snapshot
- (::Google::Cloud::Filestore::V1::Snapshot) — Required. A snapshot resource.
#snapshot=
def snapshot=(value) -> ::Google::Cloud::Filestore::V1::Snapshot
- value (::Google::Cloud::Filestore::V1::Snapshot) — Required. A snapshot resource.
- (::Google::Cloud::Filestore::V1::Snapshot) — Required. A snapshot resource.
#snapshot_id
def snapshot_id() -> ::String
-
(::String) — Required. The ID to use for the snapshot.
The ID must be unique within the specified instance.
This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
#snapshot_id=
def snapshot_id=(value) -> ::String
-
value (::String) — Required. The ID to use for the snapshot.
The ID must be unique within the specified instance.
This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
-
(::String) — Required. The ID to use for the snapshot.
The ID must be unique within the specified instance.
This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.