Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.VolumePoolsResource.VolumesResource

The "volumes" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.VolumePoolsResource.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.CloudFilestore.v1beta1
Assembly: Google.Apis.CloudFilestore.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.VolumePoolsResource.VolumesResource

Constructors

VolumesResource(IClientService)

Constructs a new resource.

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

Methods

Create(Volume, string)

Creates a volume.

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

The body of the request.

string parent

Required. The parent volume pool path, in the format projects/{project}/locations/{location}/volumePools/{volume_pool}.

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

Delete(string)

Deletes a volume.

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

Required. The volume resource name, in the format projects/{project}/locations/{location}/volumePools/{volume_pool}/volumes/{volume}.

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

Get(string)

Gets the details of a specific volume.

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

Required. The volume resource name, in the format projects/{project}/locations/{location}/volumePools/{volume_pool}/volumes/{volume}.

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

List(string)

Lists all volumes for a specified volume pool.

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

Required. The volume pool for which to retrieve volume information, in the format projects/{project}/locations/{location}/volumePools/{volume_pool}.

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