Class BareMetalSolutionGrpc.BareMetalSolutionImplBase (0.1.1)

public abstract static class BareMetalSolutionGrpc.BareMetalSolutionImplBase implements BindableService

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 > BareMetalSolutionGrpc.BareMetalSolutionImplBase

Implements

io.grpc.BindableService

Constructors

BareMetalSolutionImplBase()

public BareMetalSolutionImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

createSnapshotSchedulePolicy(CreateSnapshotSchedulePolicyRequest request, StreamObserver<SnapshotSchedulePolicy> responseObserver)

public void createSnapshotSchedulePolicy(CreateSnapshotSchedulePolicyRequest request, StreamObserver<SnapshotSchedulePolicy> responseObserver)

Create a snapshot schedule policy in the specified project.

Parameters
NameDescription
requestCreateSnapshotSchedulePolicyRequest
responseObserverio.grpc.stub.StreamObserver<SnapshotSchedulePolicy>

createVolumeSnapshot(CreateVolumeSnapshotRequest request, StreamObserver<VolumeSnapshot> responseObserver)

public void createVolumeSnapshot(CreateVolumeSnapshotRequest request, StreamObserver<VolumeSnapshot> responseObserver)

Create a storage volume snapshot in a containing volume.

Parameters
NameDescription
requestCreateVolumeSnapshotRequest
responseObserverio.grpc.stub.StreamObserver<VolumeSnapshot>

deleteSnapshotSchedulePolicy(DeleteSnapshotSchedulePolicyRequest request, StreamObserver<Empty> responseObserver)

public void deleteSnapshotSchedulePolicy(DeleteSnapshotSchedulePolicyRequest request, StreamObserver<Empty> responseObserver)

Delete a named snapshot schedule policy.

Parameters
NameDescription
requestDeleteSnapshotSchedulePolicyRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deleteVolumeSnapshot(DeleteVolumeSnapshotRequest request, StreamObserver<Empty> responseObserver)

public void deleteVolumeSnapshot(DeleteVolumeSnapshotRequest request, StreamObserver<Empty> responseObserver)

Deletes a storage volume snapshot for a given volume.

Parameters
NameDescription
requestDeleteVolumeSnapshotRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)

public void getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)

Get details about a single server.

Parameters
NameDescription
requestGetInstanceRequest
responseObserverio.grpc.stub.StreamObserver<Instance>

getLun(GetLunRequest request, StreamObserver<Lun> responseObserver)

public void getLun(GetLunRequest request, StreamObserver<Lun> responseObserver)

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

Parameters
NameDescription
requestGetLunRequest
responseObserverio.grpc.stub.StreamObserver<Lun>

getNetwork(GetNetworkRequest request, StreamObserver<Network> responseObserver)

public void getNetwork(GetNetworkRequest request, StreamObserver<Network> responseObserver)

Get details of a single network.

Parameters
NameDescription
requestGetNetworkRequest
responseObserverio.grpc.stub.StreamObserver<Network>

getSnapshotSchedulePolicy(GetSnapshotSchedulePolicyRequest request, StreamObserver<SnapshotSchedulePolicy> responseObserver)

public void getSnapshotSchedulePolicy(GetSnapshotSchedulePolicyRequest request, StreamObserver<SnapshotSchedulePolicy> responseObserver)

Get details of a single snapshot schedule policy.

Parameters
NameDescription
requestGetSnapshotSchedulePolicyRequest
responseObserverio.grpc.stub.StreamObserver<SnapshotSchedulePolicy>

getVolume(GetVolumeRequest request, StreamObserver<Volume> responseObserver)

public void getVolume(GetVolumeRequest request, StreamObserver<Volume> responseObserver)

Get details of a single storage volume.

Parameters
NameDescription
requestGetVolumeRequest
responseObserverio.grpc.stub.StreamObserver<Volume>

getVolumeSnapshot(GetVolumeSnapshotRequest request, StreamObserver<VolumeSnapshot> responseObserver)

public void getVolumeSnapshot(GetVolumeSnapshotRequest request, StreamObserver<VolumeSnapshot> responseObserver)

Get details of a single storage volume snapshot.

Parameters
NameDescription
requestGetVolumeSnapshotRequest
responseObserverio.grpc.stub.StreamObserver<VolumeSnapshot>

listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)

public void listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)

List servers in a given project and location.

Parameters
NameDescription
requestListInstancesRequest
responseObserverio.grpc.stub.StreamObserver<ListInstancesResponse>

listLuns(ListLunsRequest request, StreamObserver<ListLunsResponse> responseObserver)

public void listLuns(ListLunsRequest request, StreamObserver<ListLunsResponse> responseObserver)

List storage volume luns for given storage volume.

Parameters
NameDescription
requestListLunsRequest
responseObserverio.grpc.stub.StreamObserver<ListLunsResponse>

listNetworks(ListNetworksRequest request, StreamObserver<ListNetworksResponse> responseObserver)

public void listNetworks(ListNetworksRequest request, StreamObserver<ListNetworksResponse> responseObserver)

List network in a given project and location.

Parameters
NameDescription
requestListNetworksRequest
responseObserverio.grpc.stub.StreamObserver<ListNetworksResponse>

listSnapshotSchedulePolicies(ListSnapshotSchedulePoliciesRequest request, StreamObserver<ListSnapshotSchedulePoliciesResponse> responseObserver)

public void listSnapshotSchedulePolicies(ListSnapshotSchedulePoliciesRequest request, StreamObserver<ListSnapshotSchedulePoliciesResponse> responseObserver)

List snapshot schedule policies in a given project and location.

Parameters
NameDescription
requestListSnapshotSchedulePoliciesRequest
responseObserverio.grpc.stub.StreamObserver<ListSnapshotSchedulePoliciesResponse>

listVolumeSnapshots(ListVolumeSnapshotsRequest request, StreamObserver<ListVolumeSnapshotsResponse> responseObserver)

public void listVolumeSnapshots(ListVolumeSnapshotsRequest request, StreamObserver<ListVolumeSnapshotsResponse> responseObserver)

List storage volume snapshots for given storage volume.

Parameters
NameDescription
requestListVolumeSnapshotsRequest
responseObserverio.grpc.stub.StreamObserver<ListVolumeSnapshotsResponse>

listVolumes(ListVolumesRequest request, StreamObserver<ListVolumesResponse> responseObserver)

public void listVolumes(ListVolumesRequest request, StreamObserver<ListVolumesResponse> responseObserver)

List storage volumes in a given project and location.

Parameters
NameDescription
requestListVolumesRequest
responseObserverio.grpc.stub.StreamObserver<ListVolumesResponse>

resetInstance(ResetInstanceRequest request, StreamObserver<Operation> responseObserver)

public void resetInstance(ResetInstanceRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
NameDescription
requestResetInstanceRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

restoreVolumeSnapshot(RestoreVolumeSnapshotRequest request, StreamObserver<Operation> responseObserver)

public void restoreVolumeSnapshot(RestoreVolumeSnapshotRequest request, StreamObserver<Operation> responseObserver)

Restore a storage volume snapshot to its containing volume.

Parameters
NameDescription
requestRestoreVolumeSnapshotRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateSnapshotSchedulePolicy(UpdateSnapshotSchedulePolicyRequest request, StreamObserver<SnapshotSchedulePolicy> responseObserver)

public void updateSnapshotSchedulePolicy(UpdateSnapshotSchedulePolicyRequest request, StreamObserver<SnapshotSchedulePolicy> responseObserver)

Update a snapshot schedule policy in the specified project.

Parameters
NameDescription
requestUpdateSnapshotSchedulePolicyRequest
responseObserverio.grpc.stub.StreamObserver<SnapshotSchedulePolicy>

updateVolume(UpdateVolumeRequest request, StreamObserver<Operation> responseObserver)

public void updateVolume(UpdateVolumeRequest request, StreamObserver<Operation> responseObserver)

Update details of a single storage volume.

Parameters
NameDescription
requestUpdateVolumeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>