Cloud Channel V1 API - Class Google::Cloud::Channel::V1::CloudChannelReportsService::Rest::ServiceStub (v0.21.0)

Reference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::CloudChannelReportsService::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#fetch_report_results

def fetch_report_results(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Channel::V1::FetchReportResultsResponse

Baseline implementation for the fetch_report_results 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_reports

def list_reports(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Channel::V1::ListReportsResponse

Baseline implementation for the list_reports REST call

Parameters
  • request_pb (::Google::Cloud::Channel::V1::ListReportsRequest) — 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
Returns
Raises
  • (::ArgumentError)

#run_report_job

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

Baseline implementation for the run_report_job REST call

Parameters
  • request_pb (::Google::Cloud::Channel::V1::RunReportJobRequest) — 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
Returns
Raises
  • (::ArgumentError)