Class ProjectsResource.LocationsResource.VolumePoolsResource.VolumesResource
The "volumes" collection of methods.
Inherited Members
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
|
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
|
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
|
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
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.VolumePoolsResource.VolumesResource.ListRequest |