# Storage Insights V1 API - Class Google::Cloud::StorageInsights::V1::StorageInsights::Rest::ServiceStub (v1.7.0)

1.7.0 (latest) 1.6.1 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.7.0 0.6.0 0.5.1 0.4.2 0.3.0 0.2.2 0.1.0 Reference documentation and code samples for the Storage Insights V1 API class Google::Cloud::StorageInsights::V1::StorageInsights::Rest::ServiceStub.

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

## Inherits

- Object

## Methods

### #create_dataset_config

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

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

- **request_pb** ([::Google::Cloud::StorageInsights::V1::CreateDatasetConfigRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-CreateDatasetConfigRequest)) --- 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-storage_insights-v1/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #create_report_config

    def create_report_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::StorageInsights::V1::ReportConfig

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

- **request_pb** ([::Google::Cloud::StorageInsights::V1::CreateReportConfigRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-CreateReportConfigRequest)) --- 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::StorageInsights::V1::ReportConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ReportConfig))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::StorageInsights::V1::ReportConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ReportConfig)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #delete_dataset_config

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

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

- **request_pb** ([::Google::Cloud::StorageInsights::V1::DeleteDatasetConfigRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-DeleteDatasetConfigRequest)) --- 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-storage_insights-v1/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #delete_report_config

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

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

- **request_pb** ([::Google::Cloud::StorageInsights::V1::DeleteReportConfigRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-DeleteReportConfigRequest)) --- 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-storage_insights-v1/latest/Google-Protobuf-Empty))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #endpoint

    def endpoint() -> String

The effective endpoint
**Returns**

- (String)

### #get_dataset_config

    def get_dataset_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::StorageInsights::V1::DatasetConfig

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

- **request_pb** ([::Google::Cloud::StorageInsights::V1::GetDatasetConfigRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-GetDatasetConfigRequest)) --- 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::StorageInsights::V1::DatasetConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-DatasetConfig))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::StorageInsights::V1::DatasetConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-DatasetConfig)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_report_config

    def get_report_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::StorageInsights::V1::ReportConfig

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

- **request_pb** ([::Google::Cloud::StorageInsights::V1::GetReportConfigRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-GetReportConfigRequest)) --- 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::StorageInsights::V1::ReportConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ReportConfig))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::StorageInsights::V1::ReportConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ReportConfig)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_report_detail

    def get_report_detail(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::StorageInsights::V1::ReportDetail

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

- **request_pb** ([::Google::Cloud::StorageInsights::V1::GetReportDetailRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-GetReportDetailRequest)) --- 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::StorageInsights::V1::ReportDetail](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ReportDetail))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::StorageInsights::V1::ReportDetail](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ReportDetail)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #link_dataset

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

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

- **request_pb** ([::Google::Cloud::StorageInsights::V1::LinkDatasetRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-LinkDatasetRequest)) --- 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-storage_insights-v1/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #list_dataset_configs

    def list_dataset_configs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::StorageInsights::V1::ListDatasetConfigsResponse

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

- **request_pb** ([::Google::Cloud::StorageInsights::V1::ListDatasetConfigsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ListDatasetConfigsRequest)) --- 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::StorageInsights::V1::ListDatasetConfigsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ListDatasetConfigsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::StorageInsights::V1::ListDatasetConfigsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ListDatasetConfigsResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_report_configs

    def list_report_configs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::StorageInsights::V1::ListReportConfigsResponse

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

- **request_pb** ([::Google::Cloud::StorageInsights::V1::ListReportConfigsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ListReportConfigsRequest)) --- 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::StorageInsights::V1::ListReportConfigsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ListReportConfigsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::StorageInsights::V1::ListReportConfigsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ListReportConfigsResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_report_details

    def list_report_details(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::StorageInsights::V1::ListReportDetailsResponse

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

- **request_pb** ([::Google::Cloud::StorageInsights::V1::ListReportDetailsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ListReportDetailsRequest)) --- 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::StorageInsights::V1::ListReportDetailsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ListReportDetailsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::StorageInsights::V1::ListReportDetailsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ListReportDetailsResponse)) --- 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)

### #universe_domain

    def universe_domain() -> String

The effective universe domain
**Returns**

- (String)

### #unlink_dataset

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

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

- **request_pb** ([::Google::Cloud::StorageInsights::V1::UnlinkDatasetRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-UnlinkDatasetRequest)) --- 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-storage_insights-v1/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #update_dataset_config

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

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

- **request_pb** ([::Google::Cloud::StorageInsights::V1::UpdateDatasetConfigRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-UpdateDatasetConfigRequest)) --- 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-storage_insights-v1/latest/Google-Longrunning-Operation))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

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

- (::ArgumentError)

### #update_report_config

    def update_report_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::StorageInsights::V1::ReportConfig

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

- **request_pb** ([::Google::Cloud::StorageInsights::V1::UpdateReportConfigRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-UpdateReportConfigRequest)) --- 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::StorageInsights::V1::ReportConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ReportConfig))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::StorageInsights::V1::ReportConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_insights-v1/latest/Google-Cloud-StorageInsights-V1-ReportConfig)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)