Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::CapacityPlanningService::Rest::ServiceStub.
REST service stub for the CapacityPlanningService 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)
#get_capacity_plan
def get_capacity_plan(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CapacityPlanner::V1beta::CapacityPlan
Baseline implementation for the get_capacity_plan REST call
- request_pb (::Google::Cloud::CapacityPlanner::V1beta::GetCapacityPlanRequest) — 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::CapacityPlanner::V1beta::CapacityPlan)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CapacityPlanner::V1beta::CapacityPlan) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#query_capacity_plan_insights
def query_capacity_plan_insights(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CapacityPlanner::V1beta::QueryCapacityPlanInsightsResponse
Baseline implementation for the query_capacity_plan_insights REST call
- request_pb (::Google::Cloud::CapacityPlanner::V1beta::QueryCapacityPlanInsightsRequest) — 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::CapacityPlanner::V1beta::QueryCapacityPlanInsightsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CapacityPlanner::V1beta::QueryCapacityPlanInsightsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#query_capacity_plans
def query_capacity_plans(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CapacityPlanner::V1beta::QueryCapacityPlansResponse
Baseline implementation for the query_capacity_plans REST call
- request_pb (::Google::Cloud::CapacityPlanner::V1beta::QueryCapacityPlansRequest) — 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::CapacityPlanner::V1beta::QueryCapacityPlansResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CapacityPlanner::V1beta::QueryCapacityPlansResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)