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
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#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
- request_pb (::Google::Cloud::Channel::V1::FetchReportResultsRequest) — 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::Channel::V1::FetchReportResultsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Channel::V1::FetchReportResultsResponse) — 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_reports
def list_reports(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Channel::V1::ListReportsResponse
Baseline implementation for the list_reports REST call
- 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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Channel::V1::ListReportsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Channel::V1::ListReportsResponse) — A result object deserialized from the server's reply
- (::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
- 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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)