App Optimize V1BETA API - Class Google::Cloud::Appoptimize::V1beta::AppOptimize::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the App Optimize V1BETA API class Google::Cloud::Appoptimize::V1beta::AppOptimize::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_report

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

Baseline implementation for the create_report REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_report

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

Baseline implementation for the delete_report REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_report

def get_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Appoptimize::V1beta::Report

Baseline implementation for the get_report REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_reports

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

Baseline implementation for the list_reports REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#read_report

def read_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Appoptimize::V1beta::ReadReportResponse

Baseline implementation for the read_report REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)