Class BareMetalSolutionGrpc.BareMetalSolutionFutureStub (0.1.1)

public static final class BareMetalSolutionGrpc.BareMetalSolutionFutureStub extends AbstractFutureStub<BareMetalSolutionGrpc.BareMetalSolutionFutureStub>

Performs management operations on Bare Metal Solution servers. The baremetalsolution.googleapis.com service provides management capabilities for Bare Metal Solution servers. To access the API methods, you must assign Bare Metal Solution IAM roles containing the desired permissions to your staff in your Google Cloud project. You must also enable the Bare Metal Solution API. Once enabled, the methods act upon specific servers in your Bare Metal Solution environment.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > BareMetalSolutionGrpc.BareMetalSolutionFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected BareMetalSolutionGrpc.BareMetalSolutionFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
BareMetalSolutionGrpc.BareMetalSolutionFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createSnapshotSchedulePolicy(CreateSnapshotSchedulePolicyRequest request)

public ListenableFuture<SnapshotSchedulePolicy> createSnapshotSchedulePolicy(CreateSnapshotSchedulePolicyRequest request)

Create a snapshot schedule policy in the specified project.

Parameter
NameDescription
requestCreateSnapshotSchedulePolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SnapshotSchedulePolicy>

createVolumeSnapshot(CreateVolumeSnapshotRequest request)

public ListenableFuture<VolumeSnapshot> createVolumeSnapshot(CreateVolumeSnapshotRequest request)

Create a storage volume snapshot in a containing volume.

Parameter
NameDescription
requestCreateVolumeSnapshotRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<VolumeSnapshot>

deleteSnapshotSchedulePolicy(DeleteSnapshotSchedulePolicyRequest request)

public ListenableFuture<Empty> deleteSnapshotSchedulePolicy(DeleteSnapshotSchedulePolicyRequest request)

Delete a named snapshot schedule policy.

Parameter
NameDescription
requestDeleteSnapshotSchedulePolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteVolumeSnapshot(DeleteVolumeSnapshotRequest request)

public ListenableFuture<Empty> deleteVolumeSnapshot(DeleteVolumeSnapshotRequest request)

Deletes a storage volume snapshot for a given volume.

Parameter
NameDescription
requestDeleteVolumeSnapshotRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getInstance(GetInstanceRequest request)

public ListenableFuture<Instance> getInstance(GetInstanceRequest request)

Get details about a single server.

Parameter
NameDescription
requestGetInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Instance>

getLun(GetLunRequest request)

public ListenableFuture<Lun> getLun(GetLunRequest request)

Get details of a single storage logical unit number(LUN).

Parameter
NameDescription
requestGetLunRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Lun>

getNetwork(GetNetworkRequest request)

public ListenableFuture<Network> getNetwork(GetNetworkRequest request)

Get details of a single network.

Parameter
NameDescription
requestGetNetworkRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Network>

getSnapshotSchedulePolicy(GetSnapshotSchedulePolicyRequest request)

public ListenableFuture<SnapshotSchedulePolicy> getSnapshotSchedulePolicy(GetSnapshotSchedulePolicyRequest request)

Get details of a single snapshot schedule policy.

Parameter
NameDescription
requestGetSnapshotSchedulePolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SnapshotSchedulePolicy>

getVolume(GetVolumeRequest request)

public ListenableFuture<Volume> getVolume(GetVolumeRequest request)

Get details of a single storage volume.

Parameter
NameDescription
requestGetVolumeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Volume>

getVolumeSnapshot(GetVolumeSnapshotRequest request)

public ListenableFuture<VolumeSnapshot> getVolumeSnapshot(GetVolumeSnapshotRequest request)

Get details of a single storage volume snapshot.

Parameter
NameDescription
requestGetVolumeSnapshotRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<VolumeSnapshot>

listInstances(ListInstancesRequest request)

public ListenableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)

List servers in a given project and location.

Parameter
NameDescription
requestListInstancesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse>

listLuns(ListLunsRequest request)

public ListenableFuture<ListLunsResponse> listLuns(ListLunsRequest request)

List storage volume luns for given storage volume.

Parameter
NameDescription
requestListLunsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListLunsResponse>

listNetworks(ListNetworksRequest request)

public ListenableFuture<ListNetworksResponse> listNetworks(ListNetworksRequest request)

List network in a given project and location.

Parameter
NameDescription
requestListNetworksRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListNetworksResponse>

listSnapshotSchedulePolicies(ListSnapshotSchedulePoliciesRequest request)

public ListenableFuture<ListSnapshotSchedulePoliciesResponse> listSnapshotSchedulePolicies(ListSnapshotSchedulePoliciesRequest request)

List snapshot schedule policies in a given project and location.

Parameter
NameDescription
requestListSnapshotSchedulePoliciesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListSnapshotSchedulePoliciesResponse>

listVolumeSnapshots(ListVolumeSnapshotsRequest request)

public ListenableFuture<ListVolumeSnapshotsResponse> listVolumeSnapshots(ListVolumeSnapshotsRequest request)

List storage volume snapshots for given storage volume.

Parameter
NameDescription
requestListVolumeSnapshotsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListVolumeSnapshotsResponse>

listVolumes(ListVolumesRequest request)

public ListenableFuture<ListVolumesResponse> listVolumes(ListVolumesRequest request)

List storage volumes in a given project and location.

Parameter
NameDescription
requestListVolumesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListVolumesResponse>

resetInstance(ResetInstanceRequest request)

public ListenableFuture<Operation> resetInstance(ResetInstanceRequest request)

Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.

Parameter
NameDescription
requestResetInstanceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

restoreVolumeSnapshot(RestoreVolumeSnapshotRequest request)

public ListenableFuture<Operation> restoreVolumeSnapshot(RestoreVolumeSnapshotRequest request)

Restore a storage volume snapshot to its containing volume.

Parameter
NameDescription
requestRestoreVolumeSnapshotRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateSnapshotSchedulePolicy(UpdateSnapshotSchedulePolicyRequest request)

public ListenableFuture<SnapshotSchedulePolicy> updateSnapshotSchedulePolicy(UpdateSnapshotSchedulePolicyRequest request)

Update a snapshot schedule policy in the specified project.

Parameter
NameDescription
requestUpdateSnapshotSchedulePolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SnapshotSchedulePolicy>

updateVolume(UpdateVolumeRequest request)

public ListenableFuture<Operation> updateVolume(UpdateVolumeRequest request)

Update details of a single storage volume.

Parameter
NameDescription
requestUpdateVolumeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>