Class BareMetalSolutionGrpc.BareMetalSolutionBlockingStub (0.2.0)

public static final class BareMetalSolutionGrpc.BareMetalSolutionBlockingStub extends AbstractBlockingStub<BareMetalSolutionGrpc.BareMetalSolutionBlockingStub>

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.AbstractBlockingStub > BareMetalSolutionGrpc.BareMetalSolutionBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createSnapshotSchedulePolicy(CreateSnapshotSchedulePolicyRequest request)

public SnapshotSchedulePolicy createSnapshotSchedulePolicy(CreateSnapshotSchedulePolicyRequest request)

Create a snapshot schedule policy in the specified project.

Parameter
NameDescription
requestCreateSnapshotSchedulePolicyRequest
Returns
TypeDescription
SnapshotSchedulePolicy

createVolumeSnapshot(CreateVolumeSnapshotRequest request)

public VolumeSnapshot createVolumeSnapshot(CreateVolumeSnapshotRequest request)

Create a storage volume snapshot in a containing volume.

Parameter
NameDescription
requestCreateVolumeSnapshotRequest
Returns
TypeDescription
VolumeSnapshot

deleteSnapshotSchedulePolicy(DeleteSnapshotSchedulePolicyRequest request)

public Empty deleteSnapshotSchedulePolicy(DeleteSnapshotSchedulePolicyRequest request)

Delete a named snapshot schedule policy.

Parameter
NameDescription
requestDeleteSnapshotSchedulePolicyRequest
Returns
TypeDescription
Empty

deleteVolumeSnapshot(DeleteVolumeSnapshotRequest request)

public Empty deleteVolumeSnapshot(DeleteVolumeSnapshotRequest request)

Deletes a storage volume snapshot for a given volume.

Parameter
NameDescription
requestDeleteVolumeSnapshotRequest
Returns
TypeDescription
Empty

getInstance(GetInstanceRequest request)

public Instance getInstance(GetInstanceRequest request)

Get details about a single server.

Parameter
NameDescription
requestGetInstanceRequest
Returns
TypeDescription
Instance

getLun(GetLunRequest request)

public Lun getLun(GetLunRequest request)

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

Parameter
NameDescription
requestGetLunRequest
Returns
TypeDescription
Lun

getNetwork(GetNetworkRequest request)

public Network getNetwork(GetNetworkRequest request)

Get details of a single network.

Parameter
NameDescription
requestGetNetworkRequest
Returns
TypeDescription
Network

getSnapshotSchedulePolicy(GetSnapshotSchedulePolicyRequest request)

public SnapshotSchedulePolicy getSnapshotSchedulePolicy(GetSnapshotSchedulePolicyRequest request)

Get details of a single snapshot schedule policy.

Parameter
NameDescription
requestGetSnapshotSchedulePolicyRequest
Returns
TypeDescription
SnapshotSchedulePolicy

getVolume(GetVolumeRequest request)

public Volume getVolume(GetVolumeRequest request)

Get details of a single storage volume.

Parameter
NameDescription
requestGetVolumeRequest
Returns
TypeDescription
Volume

getVolumeSnapshot(GetVolumeSnapshotRequest request)

public VolumeSnapshot getVolumeSnapshot(GetVolumeSnapshotRequest request)

Get details of a single storage volume snapshot.

Parameter
NameDescription
requestGetVolumeSnapshotRequest
Returns
TypeDescription
VolumeSnapshot

listInstances(ListInstancesRequest request)

public ListInstancesResponse listInstances(ListInstancesRequest request)

List servers in a given project and location.

Parameter
NameDescription
requestListInstancesRequest
Returns
TypeDescription
ListInstancesResponse

listLuns(ListLunsRequest request)

public ListLunsResponse listLuns(ListLunsRequest request)

List storage volume luns for given storage volume.

Parameter
NameDescription
requestListLunsRequest
Returns
TypeDescription
ListLunsResponse

listNetworks(ListNetworksRequest request)

public ListNetworksResponse listNetworks(ListNetworksRequest request)

List network in a given project and location.

Parameter
NameDescription
requestListNetworksRequest
Returns
TypeDescription
ListNetworksResponse

listSnapshotSchedulePolicies(ListSnapshotSchedulePoliciesRequest request)

public ListSnapshotSchedulePoliciesResponse listSnapshotSchedulePolicies(ListSnapshotSchedulePoliciesRequest request)

List snapshot schedule policies in a given project and location.

Parameter
NameDescription
requestListSnapshotSchedulePoliciesRequest
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse

listVolumeSnapshots(ListVolumeSnapshotsRequest request)

public ListVolumeSnapshotsResponse listVolumeSnapshots(ListVolumeSnapshotsRequest request)

List storage volume snapshots for given storage volume.

Parameter
NameDescription
requestListVolumeSnapshotsRequest
Returns
TypeDescription
ListVolumeSnapshotsResponse

listVolumes(ListVolumesRequest request)

public ListVolumesResponse listVolumes(ListVolumesRequest request)

List storage volumes in a given project and location.

Parameter
NameDescription
requestListVolumesRequest
Returns
TypeDescription
ListVolumesResponse

resetInstance(ResetInstanceRequest request)

public 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
Operation

restoreVolumeSnapshot(RestoreVolumeSnapshotRequest request)

public Operation restoreVolumeSnapshot(RestoreVolumeSnapshotRequest request)

Restore a storage volume snapshot to its containing volume.

Parameter
NameDescription
requestRestoreVolumeSnapshotRequest
Returns
TypeDescription
Operation

updateSnapshotSchedulePolicy(UpdateSnapshotSchedulePolicyRequest request)

public SnapshotSchedulePolicy updateSnapshotSchedulePolicy(UpdateSnapshotSchedulePolicyRequest request)

Update a snapshot schedule policy in the specified project.

Parameter
NameDescription
requestUpdateSnapshotSchedulePolicyRequest
Returns
TypeDescription
SnapshotSchedulePolicy

updateVolume(UpdateVolumeRequest request)

public Operation updateVolume(UpdateVolumeRequest request)

Update details of a single storage volume.

Parameter
NameDescription
requestUpdateVolumeRequest
Returns
TypeDescription
Operation