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::OperationBaseline implementation for the create_report REST call
- request_pb (::Google::Cloud::Appoptimize::V1beta::CreateReportRequest) — 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)
#delete_report
def delete_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::EmptyBaseline implementation for the delete_report REST call
- request_pb (::Google::Cloud::Appoptimize::V1beta::DeleteReportRequest) — 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() -> StringThe effective endpoint
- (String)
#get_report
def get_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Appoptimize::V1beta::ReportBaseline implementation for the get_report REST call
- request_pb (::Google::Cloud::Appoptimize::V1beta::GetReportRequest) — 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::Appoptimize::V1beta::Report)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Appoptimize::V1beta::Report) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_reports
def list_reports(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Appoptimize::V1beta::ListReportsResponseBaseline implementation for the list_reports REST call
- request_pb (::Google::Cloud::Appoptimize::V1beta::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::Appoptimize::V1beta::ListReportsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Appoptimize::V1beta::ListReportsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#read_report
def read_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Appoptimize::V1beta::ReadReportResponseBaseline implementation for the read_report REST call
- request_pb (::Google::Cloud::Appoptimize::V1beta::ReadReportRequest) — 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::Appoptimize::V1beta::ReadReportResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Appoptimize::V1beta::ReadReportResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)