# Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::BareMetalSolution::Rest::ServiceStub (v1.5.0)

1.5.0 (latest) 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.10.0 0.9.0 0.8.1 0.7.2 0.6.0 0.5.1 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::BareMetalSolution::Rest::ServiceStub.

REST service stub for the BareMetalSolution service.
Service stub contains baseline method implementations
including transcoding, making the REST call, and deserialing the response.

## Inherits

- Object

## Methods

### #create_nfs_share

    def create_nfs_share(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_nfs_share REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::CreateNfsShareRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-CreateNfsShareRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #create_provisioning_config

    def create_provisioning_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::ProvisioningConfig

Baseline implementation for the create_provisioning_config REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::CreateProvisioningConfigRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-CreateProvisioningConfigRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::ProvisioningConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ProvisioningConfig))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::ProvisioningConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ProvisioningConfig)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #create_ssh_key

    def create_ssh_key(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::SSHKey

Baseline implementation for the create_ssh_key REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::CreateSSHKeyRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-CreateSSHKeyRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::SSHKey](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-SSHKey))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::SSHKey](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-SSHKey)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #create_volume_snapshot

    def create_volume_snapshot(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::VolumeSnapshot

Baseline implementation for the create_volume_snapshot REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::CreateVolumeSnapshotRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-CreateVolumeSnapshotRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::VolumeSnapshot](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-VolumeSnapshot))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::VolumeSnapshot](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-VolumeSnapshot)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #delete_nfs_share

    def delete_nfs_share(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_nfs_share REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::DeleteNfsShareRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-DeleteNfsShareRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #delete_ssh_key

    def delete_ssh_key(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_ssh_key REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::DeleteSSHKeyRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-DeleteSSHKeyRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Protobuf-Empty))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Protobuf-Empty)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #delete_volume_snapshot

    def delete_volume_snapshot(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_volume_snapshot REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::DeleteVolumeSnapshotRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-DeleteVolumeSnapshotRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Protobuf-Empty))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Protobuf-Empty)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #detach_lun

    def detach_lun(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the detach_lun REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::DetachLunRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-DetachLunRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #disable_interactive_serial_console

    def disable_interactive_serial_console(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the disable_interactive_serial_console REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::DisableInteractiveSerialConsoleRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-DisableInteractiveSerialConsoleRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #enable_interactive_serial_console

    def enable_interactive_serial_console(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the enable_interactive_serial_console REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::EnableInteractiveSerialConsoleRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-EnableInteractiveSerialConsoleRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #endpoint

    def endpoint() -> String

The effective endpoint
**Returns**

- (String)

### #evict_lun

    def evict_lun(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the evict_lun REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::EvictLunRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-EvictLunRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #evict_volume

    def evict_volume(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the evict_volume REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::EvictVolumeRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-EvictVolumeRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_instance

    def get_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::Instance

Baseline implementation for the get_instance REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::GetInstanceRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-GetInstanceRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-Instance))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-Instance)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_lun

    def get_lun(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::Lun

Baseline implementation for the get_lun REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::GetLunRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-GetLunRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::Lun](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-Lun))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::Lun](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-Lun)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_network

    def get_network(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::Network

Baseline implementation for the get_network REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::GetNetworkRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-GetNetworkRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::Network](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-Network))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::Network](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-Network)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_nfs_share

    def get_nfs_share(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::NfsShare

Baseline implementation for the get_nfs_share REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::GetNfsShareRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-GetNfsShareRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::NfsShare](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-NfsShare))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::NfsShare](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-NfsShare)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_provisioning_config

    def get_provisioning_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::ProvisioningConfig

Baseline implementation for the get_provisioning_config REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::GetProvisioningConfigRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-GetProvisioningConfigRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::ProvisioningConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ProvisioningConfig))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::ProvisioningConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ProvisioningConfig)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_volume

    def get_volume(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::Volume

Baseline implementation for the get_volume REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::GetVolumeRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-GetVolumeRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::Volume](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-Volume))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::Volume](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-Volume)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_volume_snapshot

    def get_volume_snapshot(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::VolumeSnapshot

Baseline implementation for the get_volume_snapshot REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::GetVolumeSnapshotRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-GetVolumeSnapshotRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::VolumeSnapshot](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-VolumeSnapshot))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::VolumeSnapshot](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-VolumeSnapshot)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_instances

    def list_instances(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::ListInstancesResponse

Baseline implementation for the list_instances REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::ListInstancesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListInstancesRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::ListInstancesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListInstancesResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::ListInstancesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListInstancesResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_luns

    def list_luns(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::ListLunsResponse

Baseline implementation for the list_luns REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::ListLunsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListLunsRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::ListLunsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListLunsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::ListLunsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListLunsResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_network_usage

    def list_network_usage(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::ListNetworkUsageResponse

Baseline implementation for the list_network_usage REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::ListNetworkUsageRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListNetworkUsageRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::ListNetworkUsageResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListNetworkUsageResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::ListNetworkUsageResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListNetworkUsageResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_networks

    def list_networks(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::ListNetworksResponse

Baseline implementation for the list_networks REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::ListNetworksRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListNetworksRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::ListNetworksResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListNetworksResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::ListNetworksResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListNetworksResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_nfs_shares

    def list_nfs_shares(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::ListNfsSharesResponse

Baseline implementation for the list_nfs_shares REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::ListNfsSharesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListNfsSharesRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::ListNfsSharesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListNfsSharesResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::ListNfsSharesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListNfsSharesResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_os_images

    def list_os_images(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::ListOSImagesResponse

Baseline implementation for the list_os_images REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::ListOSImagesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListOSImagesRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::ListOSImagesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListOSImagesResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::ListOSImagesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListOSImagesResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_provisioning_quotas

    def list_provisioning_quotas(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::ListProvisioningQuotasResponse

Baseline implementation for the list_provisioning_quotas REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::ListProvisioningQuotasRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListProvisioningQuotasRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::ListProvisioningQuotasResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListProvisioningQuotasResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::ListProvisioningQuotasResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListProvisioningQuotasResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_ssh_keys

    def list_ssh_keys(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::ListSSHKeysResponse

Baseline implementation for the list_ssh_keys REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::ListSSHKeysRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListSSHKeysRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::ListSSHKeysResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListSSHKeysResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::ListSSHKeysResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListSSHKeysResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_volume_snapshots

    def list_volume_snapshots(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::ListVolumeSnapshotsResponse

Baseline implementation for the list_volume_snapshots REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::ListVolumeSnapshotsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListVolumeSnapshotsRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::ListVolumeSnapshotsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListVolumeSnapshotsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::ListVolumeSnapshotsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListVolumeSnapshotsResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_volumes

    def list_volumes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::ListVolumesResponse

Baseline implementation for the list_volumes REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::ListVolumesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListVolumesRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::ListVolumesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListVolumesResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::ListVolumesResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ListVolumesResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #logger

    def logger(stub: false) -> Logger

The logger used for request/response debug logging.
**Returns**

- (Logger)

### #rename_instance

    def rename_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::Instance

Baseline implementation for the rename_instance REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::RenameInstanceRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-RenameInstanceRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-Instance))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-Instance)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #rename_network

    def rename_network(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::Network

Baseline implementation for the rename_network REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::RenameNetworkRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-RenameNetworkRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::Network](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-Network))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::Network](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-Network)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #rename_nfs_share

    def rename_nfs_share(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::NfsShare

Baseline implementation for the rename_nfs_share REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::RenameNfsShareRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-RenameNfsShareRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::NfsShare](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-NfsShare))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::NfsShare](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-NfsShare)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #rename_volume

    def rename_volume(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::Volume

Baseline implementation for the rename_volume REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::RenameVolumeRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-RenameVolumeRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::Volume](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-Volume))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::Volume](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-Volume)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #reset_instance

    def reset_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the reset_instance REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::ResetInstanceRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ResetInstanceRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #resize_volume

    def resize_volume(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the resize_volume REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::ResizeVolumeRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ResizeVolumeRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #restore_volume_snapshot

    def restore_volume_snapshot(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the restore_volume_snapshot REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::RestoreVolumeSnapshotRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-RestoreVolumeSnapshotRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #start_instance

    def start_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the start_instance REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::StartInstanceRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-StartInstanceRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #stop_instance

    def stop_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the stop_instance REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::StopInstanceRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-StopInstanceRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #submit_provisioning_config

    def submit_provisioning_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::SubmitProvisioningConfigResponse

Baseline implementation for the submit_provisioning_config REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::SubmitProvisioningConfigRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-SubmitProvisioningConfigRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::SubmitProvisioningConfigResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-SubmitProvisioningConfigResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::SubmitProvisioningConfigResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-SubmitProvisioningConfigResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #universe_domain

    def universe_domain() -> String

The effective universe domain
**Returns**

- (String)

### #update_instance

    def update_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_instance REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::UpdateInstanceRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-UpdateInstanceRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #update_network

    def update_network(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_network REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::UpdateNetworkRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-UpdateNetworkRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #update_nfs_share

    def update_nfs_share(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_nfs_share REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::UpdateNfsShareRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-UpdateNfsShareRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #update_provisioning_config

    def update_provisioning_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BareMetalSolution::V2::ProvisioningConfig

Baseline implementation for the update_provisioning_config REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::UpdateProvisioningConfigRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-UpdateProvisioningConfigRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::BareMetalSolution::V2::ProvisioningConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ProvisioningConfig))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::BareMetalSolution::V2::ProvisioningConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ProvisioningConfig)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #update_volume

    def update_volume(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_volume REST call
**Parameters**

- **request_pb** ([::Google::Cloud::BareMetalSolution::V2::UpdateVolumeRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-UpdateVolumeRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Longrunning::Operation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Longrunning-Operation)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)