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.Baremetalsolution.v2
Assembly: Google.Apis.Baremetalsolution.v2.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

Luns

Gets the Luns resource.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.LunsResource Luns { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.VolumesResource.LunsResource

Snapshots

Gets the Snapshots resource.

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

Methods

Evict(EvictVolumeRequest, string)

Skips volume's cooloff and deletes it now. Volume must be in cooloff state.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.EvictRequest Evict(EvictVolumeRequest body, string name)
Parameters
Type Name Description
EvictVolumeRequest body

The body of the request.

string name

Required. The name of the Volume.

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.EvictRequest

Get(string)

Get details of a single storage volume.

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

Required. Name of the resource.

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.GetRequest

List(string)

List storage volumes in a given project and location.

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)

Update details of a single storage 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

Output only. The resource name of this Volume. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/volumes/{volume}

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.PatchRequest

Rename(RenameVolumeRequest, string)

RenameVolume sets a new name for a volume. Use with caution, previous names become immediately invalidated.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.RenameRequest Rename(RenameVolumeRequest body, string name)
Parameters
Type Name Description
RenameVolumeRequest body

The body of the request.

string name

Required. The name field is used to identify the volume. Format: projects/{project}/locations/{location}/volumes/{volume}

Returns
Type Description
ProjectsResource.LocationsResource.VolumesResource.RenameRequest

Resize(ResizeVolumeRequest, string)

Emergency Volume resize.

Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.ResizeRequest Resize(ResizeVolumeRequest body, string volume)
Parameters
Type Name Description
ResizeVolumeRequest body

The body of the request.

string volume

Required. Volume to resize.

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