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 |
CreateFromSource(CreateFromSourceRequest, string)
Creates a volume in a volume pool from an existing data source (such as a Filestore backup).
Declaration
public virtual ProjectsResource.LocationsResource.VolumePoolsResource.VolumesResource.CreateFromSourceRequest CreateFromSource(CreateFromSourceRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateFromSourceRequest | body | The body of the request. |
| string | parent | Required. The parent resource where this volume will be created. Format: projects/{project}/locations/{location}/volumePools/{volume_pool} |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.VolumePoolsResource.VolumesResource.CreateFromSourceRequest |
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 |
DirectCreate(Volume, string)
Creates a volume directly on the CLH, bypassing CCFE. This is a temporary PoC that will be used for testing and removed.
Declaration
public virtual ProjectsResource.LocationsResource.VolumePoolsResource.VolumesResource.DirectCreateRequest DirectCreate(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.DirectCreateRequest |
DirectDelete(DeleteVolumeRequest, string)
Deletes a volume directly on the CLH, bypassing CCFE. This is a temporary PoC that will be used for testing and removed.
Declaration
public virtual ProjectsResource.LocationsResource.VolumePoolsResource.VolumesResource.DirectDeleteRequest DirectDelete(DeleteVolumeRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteVolumeRequest | body | The body of the request. |
| string | name | Required. The volume resource name, in the format
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.VolumePoolsResource.VolumesResource.DirectDeleteRequest |
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 |
Patch(Volume, string)
Updates the settings of a specific volume.
Declaration
public virtual ProjectsResource.LocationsResource.VolumePoolsResource.VolumesResource.PatchRequest Patch(Volume body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Volume | body | The body of the request. |
| string | name | Identifier. The resource name of the volume, in the format
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.VolumePoolsResource.VolumesResource.PatchRequest |
Unfreeze(UnfreezeVolumeRequest, string)
Unfreezes a volume.
Declaration
public virtual ProjectsResource.LocationsResource.VolumePoolsResource.VolumesResource.UnfreezeRequest Unfreeze(UnfreezeVolumeRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| UnfreezeVolumeRequest | body | The body of the request. |
| string | name | Required. The name of the volume to unfreeze. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.VolumePoolsResource.VolumesResource.UnfreezeRequest |