Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource

The "snapshots" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.NetAppFiles.v1
Assembly: Google.Apis.NetAppFiles.v1.dll
Syntax
public class ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource

Constructors

SnapshotsResource(IClientService)

Constructs a new resource.

Declaration
public SnapshotsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(Snapshot, string)

Create a new snapshot for a volume.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource.CreateRequest Create(Snapshot body, string parent)
Parameters
Type Name Description
Snapshot body

The body of the request.

string parent

Required. The NetApp volume to create the snapshots of, in the format projects/{project_id}/locations/{location}/volumes/{volume_id}

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource.CreateRequest

Delete(string)

Deletes a snapshot.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The snapshot resource name, in the format projects/*/locations/*/volumes/*/snapshots/{snapshot_id}

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource.DeleteRequest

Get(string)

Describe a snapshot for a volume.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The snapshot resource name, in the format projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource.GetRequest

List(string)

Returns descriptions of all snapshots for a volume.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The volume for which to retrieve snapshot information, in the format projects/{project_id}/locations/{location}/volumes/{volume_id}.

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource.ListRequest

Patch(Snapshot, string)

Updates the settings of a specific snapshot.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource.PatchRequest Patch(Snapshot body, string name)
Parameters
Type Name Description
Snapshot body

The body of the request.

string name

Identifier. The resource name of the snapshot. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}.

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource.PatchRequest
In this article
Back to top Generated by DocFX