Filestore V1 API - Class Google::Cloud::Filestore::V1::CreateSnapshotRequest (v1.0.1)

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
Returns
  • (::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
Parameter
  • value (::String) — Required. The Filestore Instance to create the snapshots of, in the format projects/{project_id}/locations/{location}/instances/{instance_id}
Returns
  • (::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
Returns

#snapshot=

def snapshot=(value) -> ::Google::Cloud::Filestore::V1::Snapshot
Parameter
Returns

#snapshot_id

def snapshot_id() -> ::String
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.