3.8.0-rc 3.7.0 (latest) 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 2.48.0-rc 2.47.1 2.46.0 2.45.0 2.44.0 2.43.0 2.42.0 2.41.0 2.40.0 2.39.0 2.38.0 2.37.0 2.36.0 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.0 2.29.0 2.28.0 2.27.0 2.26.0 2.25.1 2.24.0 2.23.0 2.22.1 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.1 2.14.0 2.13.0 2.12.0 2.11.0 A class to mock `BareMetalSolutionConnection`.
Application developers may want to test their code with simulated responses, including errors, from an object of type `BareMetalSolutionClient`. To do so, construct an object of type `BareMetalSolutionClient` with an instance of this class. Then use the Google Test framework functions to program the behavior of this mock.

###### See Also

[This example](https://cloud.google.com/cpp/docs/reference/bigquery/latest/bigquery-read-mock) for how to test your application with GoogleTest. While the example showcases types from the BigQuery library, the underlying principles apply for any pair of `*Client` and `*Connection`.

## Functions

### virtual options()

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Options` |   |

### virtual ListInstances(google::cloud::baremetalsolution::v2::ListInstancesRequest)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::ListInstancesRequest` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::baremetalsolution::v2::Instance >` |   |

### virtual GetInstance(google::cloud::baremetalsolution::v2::GetInstanceRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::GetInstanceRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::Instance >` |   |

### virtual UpdateInstance(google::longrunning::Operation const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::baremetalsolution::v2::Instance > >` |   |

### virtual RenameInstance(google::cloud::baremetalsolution::v2::RenameInstanceRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::RenameInstanceRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::Instance >` |   |

### virtual ResetInstance(google::longrunning::Operation const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::baremetalsolution::v2::ResetInstanceResponse > >` |   |

### virtual StartInstance(google::longrunning::Operation const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::baremetalsolution::v2::StartInstanceResponse > >` |   |

### virtual StopInstance(google::longrunning::Operation const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::baremetalsolution::v2::StopInstanceResponse > >` |   |

### virtual EnableInteractiveSerialConsole(google::longrunning::Operation const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::baremetalsolution::v2::EnableInteractiveSerialConsoleResponse > >` |   |

### virtual DisableInteractiveSerialConsole(google::longrunning::Operation const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::baremetalsolution::v2::DisableInteractiveSerialConsoleResponse > >` |   |

### virtual DetachLun(google::longrunning::Operation const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::baremetalsolution::v2::Instance > >` |   |

### virtual ListSSHKeys(google::cloud::baremetalsolution::v2::ListSSHKeysRequest)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::ListSSHKeysRequest` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::baremetalsolution::v2::SSHKey >` |   |

### virtual CreateSSHKey(google::cloud::baremetalsolution::v2::CreateSSHKeyRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::CreateSSHKeyRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::SSHKey >` |   |

### virtual DeleteSSHKey(google::cloud::baremetalsolution::v2::DeleteSSHKeyRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::DeleteSSHKeyRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Status` |   |

### virtual ListVolumes(google::cloud::baremetalsolution::v2::ListVolumesRequest)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::ListVolumesRequest` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::baremetalsolution::v2::Volume >` |   |

### virtual GetVolume(google::cloud::baremetalsolution::v2::GetVolumeRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::GetVolumeRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::Volume >` |   |

### virtual UpdateVolume(google::longrunning::Operation const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::baremetalsolution::v2::Volume > >` |   |

### virtual RenameVolume(google::cloud::baremetalsolution::v2::RenameVolumeRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::RenameVolumeRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::Volume >` |   |

### virtual EvictVolume(google::longrunning::Operation const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::baremetalsolution::v2::OperationMetadata > >` |   |

### virtual ResizeVolume(google::longrunning::Operation const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::baremetalsolution::v2::Volume > >` |   |

### virtual ListNetworks(google::cloud::baremetalsolution::v2::ListNetworksRequest)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::ListNetworksRequest` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::baremetalsolution::v2::Network >` |   |

### virtual ListNetworkUsage(google::cloud::baremetalsolution::v2::ListNetworkUsageRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::ListNetworkUsageRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::ListNetworkUsageResponse >` |   |

### virtual GetNetwork(google::cloud::baremetalsolution::v2::GetNetworkRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::GetNetworkRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::Network >` |   |

### virtual UpdateNetwork(google::longrunning::Operation const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::baremetalsolution::v2::Network > >` |   |

### virtual CreateVolumeSnapshot(google::cloud::baremetalsolution::v2::CreateVolumeSnapshotRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::CreateVolumeSnapshotRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::VolumeSnapshot >` |   |

### virtual RestoreVolumeSnapshot(google::longrunning::Operation const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::baremetalsolution::v2::VolumeSnapshot > >` |   |

### virtual DeleteVolumeSnapshot(google::cloud::baremetalsolution::v2::DeleteVolumeSnapshotRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::DeleteVolumeSnapshotRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Status` |   |

### virtual GetVolumeSnapshot(google::cloud::baremetalsolution::v2::GetVolumeSnapshotRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::GetVolumeSnapshotRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::VolumeSnapshot >` |   |

### virtual ListVolumeSnapshots(google::cloud::baremetalsolution::v2::ListVolumeSnapshotsRequest)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::ListVolumeSnapshotsRequest` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::baremetalsolution::v2::VolumeSnapshot >` |   |

### virtual GetLun(google::cloud::baremetalsolution::v2::GetLunRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::GetLunRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::Lun >` |   |

### virtual ListLuns(google::cloud::baremetalsolution::v2::ListLunsRequest)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::ListLunsRequest` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::baremetalsolution::v2::Lun >` |   |

### virtual EvictLun(google::longrunning::Operation const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::baremetalsolution::v2::OperationMetadata > >` |   |

### virtual GetNfsShare(google::cloud::baremetalsolution::v2::GetNfsShareRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::GetNfsShareRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::NfsShare >` |   |

### virtual ListNfsShares(google::cloud::baremetalsolution::v2::ListNfsSharesRequest)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::ListNfsSharesRequest` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::baremetalsolution::v2::NfsShare >` |   |

### virtual UpdateNfsShare(google::longrunning::Operation const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::baremetalsolution::v2::NfsShare > >` |   |

### virtual CreateNfsShare(google::longrunning::Operation const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::baremetalsolution::v2::NfsShare > >` |   |

### virtual RenameNfsShare(google::cloud::baremetalsolution::v2::RenameNfsShareRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::RenameNfsShareRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::NfsShare >` |   |

### virtual DeleteNfsShare(google::longrunning::Operation const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::baremetalsolution::v2::OperationMetadata > >` |   |

### virtual ListProvisioningQuotas(google::cloud::baremetalsolution::v2::ListProvisioningQuotasRequest)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::ListProvisioningQuotasRequest` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::baremetalsolution::v2::ProvisioningQuota >` |   |

### virtual SubmitProvisioningConfig(google::cloud::baremetalsolution::v2::SubmitProvisioningConfigRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::SubmitProvisioningConfigRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::SubmitProvisioningConfigResponse >` |   |

### virtual GetProvisioningConfig(google::cloud::baremetalsolution::v2::GetProvisioningConfigRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::GetProvisioningConfigRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::ProvisioningConfig >` |   |

### virtual CreateProvisioningConfig(google::cloud::baremetalsolution::v2::CreateProvisioningConfigRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::CreateProvisioningConfigRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::ProvisioningConfig >` |   |

### virtual UpdateProvisioningConfig(google::cloud::baremetalsolution::v2::UpdateProvisioningConfigRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::UpdateProvisioningConfigRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::ProvisioningConfig >` |   |

### virtual RenameNetwork(google::cloud::baremetalsolution::v2::RenameNetworkRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::RenameNetworkRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::baremetalsolution::v2::Network >` |   |

### virtual ListOSImages(google::cloud::baremetalsolution::v2::ListOSImagesRequest)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::baremetalsolution::v2::ListOSImagesRequest` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::baremetalsolution::v2::OSImage >` |   |

### virtual ListLocations(google::cloud::location::ListLocationsRequest)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::location::ListLocationsRequest` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::location::Location >` |   |

### virtual GetLocation(google::cloud::location::GetLocationRequest const \&)

This function is implemented using [gMock](https://google.github.io/googletest)'s `MOCK_METHOD()`.
Consult the gMock documentation to use this mock in your tests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::location::GetLocationRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::location::Location >` |   |