Storage Insights V1 API - Class Google::Cloud::StorageInsights::V1::StorageInsights::Rest::ServiceStub (v0.2.2)

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_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
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
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
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
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
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
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
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, credentials:) -> ServiceStub
Returns

#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
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
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
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
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
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)