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.v1beta1
Assembly: Google.Apis.NetAppFiles.v1beta1.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

EstablishPeering(EstablishVolumePeeringRequest, string)

Establish volume peering. This is used to establish cluster and svm peerings between the GCNV and OnPrem clusters.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.EstablishPeeringRequest EstablishPeering(EstablishVolumePeeringRequest body, string name)
Parameters
Type Name Description
EstablishVolumePeeringRequest body

The body of the request.

string name

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

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.EstablishPeeringRequest

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

GetSplitStatus(string)

Retrieves the current state, progress, and details of a split operation for a volume. This method is relevant when the volume is a clone. For volumes that are not clones, this method will return an error.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.GetSplitStatusRequest GetSplitStatus(string name)
Parameters
Type Name Description
string name

Required. The full name of the volume. Format: projects/{project_number}/locations/{location}/volumes/{volume_id}

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.GetSplitStatusRequest

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

Restore(RestoreBackupFilesRequest, string)

Restore files from a backup to a volume.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.RestoreRequest Restore(RestoreBackupFilesRequest body, string name)
Parameters
Type Name Description
RestoreBackupFilesRequest body

The body of the request.

string name

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

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.RestoreRequest

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

StartSplit(StartSplitRequest, string)

Splits a clone volume from its source volume. This operation will only work for volumes which have clone_details set(clones). For volumes that are not clones, this operation will return an error.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.StartSplitRequest StartSplit(StartSplitRequest body, string name)
Parameters
Type Name Description
StartSplitRequest body

The body of the request.

string name

Required. The full name of the clone volume to be split from its source. Format: projects/{project_number}/locations/{location}/volumes/{volume_id}

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