Cloud Filestore v1 API - Class CreateSnapshotRequest (2.4.0)

public sealed class CreateSnapshotRequest : IMessage<CreateSnapshotRequest>, IEquatable<CreateSnapshotRequest>, IDeepCloneable<CreateSnapshotRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Filestore v1 API class CreateSnapshotRequest.

CreateSnapshotRequest creates a snapshot.

Inheritance

object > CreateSnapshotRequest

Namespace

Google.Cloud.Filestore.V1

Assembly

Google.Cloud.Filestore.V1.dll

Constructors

CreateSnapshotRequest()

public CreateSnapshotRequest()

CreateSnapshotRequest(CreateSnapshotRequest)

public CreateSnapshotRequest(CreateSnapshotRequest other)
Parameter
NameDescription
otherCreateSnapshotRequest

Properties

Parent

public string Parent { get; set; }

Required. The Filestore Instance to create the snapshots of, in the format projects/{project_id}/locations/{location}/instances/{instance_id}

Property Value
TypeDescription
string

ParentAsInstanceName

public InstanceName ParentAsInstanceName { get; set; }

InstanceName-typed view over the Parent resource name property.

Property Value
TypeDescription
InstanceName

Snapshot

public Snapshot Snapshot { get; set; }

Required. A snapshot resource.

Property Value
TypeDescription
Snapshot

SnapshotId

public string SnapshotId { get; set; }

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.

Property Value
TypeDescription
string