Class ProjectsResource.LocationsResource.VolumesResource | Google.Apis.NetAppFiles.v1
Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.VolumesResource

The "volumes" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.VolumesResource
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

Constructors

VolumesResource(IClientService)

Constructs a new resource.

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

Properties

QuotaRules

Gets the QuotaRules resource.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.QuotaRulesResource QuotaRules { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.VolumesResource.QuotaRulesResource

Replications

Gets the Replications resource.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource Replications { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.VolumesResource.ReplicationsResource

Snapshots

Gets the Snapshots resource.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource Snapshots { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.VolumesResource.SnapshotsResource

Methods

Create(Volume, string)

Creates a new Volume in a given project and location.

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

The body of the request.

string parent

Required. Value for parent.

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.CreateRequest

Delete(string)

Deletes a single Volume.

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

Required. Name of the volume

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.DeleteRequest

Get(string)

Gets details of a single Volume.

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

Required. Name of the volume

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.GetRequest

List(string)

Lists Volumes in a given project.

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

Required. Parent value for ListVolumesRequest

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.ListRequest

Patch(Volume, string)

Updates the parameters of a single Volume.

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

The body of the request.

string name

Identifier. Name of the volume

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.PatchRequest

Revert(RevertVolumeRequest, string)

Revert an existing volume to a specified snapshot. Warning! This operation will permanently revert all changes made after the snapshot was created.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.RevertRequest Revert(RevertVolumeRequest body, string name)
Parameters
Type Name Description
RevertVolumeRequest body

The body of the request.

string name

Required. The resource name of the volume, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}.

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