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.
Implements
IMessageCreateSnapshotRequest, IEquatableCreateSnapshotRequest, IDeepCloneableCreateSnapshotRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Filestore.V1Assembly
Google.Cloud.Filestore.V1.dll
Constructors
CreateSnapshotRequest()
public CreateSnapshotRequest()
CreateSnapshotRequest(CreateSnapshotRequest)
public CreateSnapshotRequest(CreateSnapshotRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateSnapshotRequest |
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 | |
---|---|
Type | Description |
string |
ParentAsInstanceName
public InstanceName ParentAsInstanceName { get; set; }
InstanceName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
InstanceName |
Snapshot
public Snapshot Snapshot { get; set; }
Required. A snapshot resource.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |