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
- request_pb (::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::StorageInsights::V1::ReportConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::StorageInsights::V1::ReportConfig) — A result object deserialized from the server's reply
- (::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
- request_pb (::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#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
- request_pb (::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::StorageInsights::V1::ReportConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::StorageInsights::V1::ReportConfig) — A result object deserialized from the server's reply
- (::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
- request_pb (::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::StorageInsights::V1::ReportDetail)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::StorageInsights::V1::ReportDetail) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#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
- request_pb (::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::StorageInsights::V1::ListReportConfigsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::StorageInsights::V1::ListReportConfigsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::StorageInsights::V1::ListReportDetailsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::StorageInsights::V1::ListReportDetailsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#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
- request_pb (::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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::StorageInsights::V1::ReportConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::StorageInsights::V1::ReportConfig) — A result object deserialized from the server's reply
- (::ArgumentError)