Class ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource
The "snapshots" collection of methods.
Inherited Members
Namespace: Google.Apis.NetAppFiles.v1beta1
Assembly: Google.Apis.NetAppFiles.v1beta1.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
|
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
|
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
|
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
|
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:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource.PatchRequest |