Reference documentation and code samples for the Workload Manager V1 API class Google::Cloud::WorkloadManager::V1::WorkloadManager::Rest::ServiceStub.
REST service stub for the WorkloadManager service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_evaluation
def create_evaluation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the create_evaluation REST call
- request_pb (::Google::Cloud::WorkloadManager::V1::CreateEvaluationRequest) — 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_evaluation
def delete_evaluation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_evaluation REST call
- request_pb (::Google::Cloud::WorkloadManager::V1::DeleteEvaluationRequest) — 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_execution
def delete_execution(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_execution REST call
- request_pb (::Google::Cloud::WorkloadManager::V1::DeleteExecutionRequest) — 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)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#get_evaluation
def get_evaluation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WorkloadManager::V1::EvaluationBaseline implementation for the get_evaluation REST call
- request_pb (::Google::Cloud::WorkloadManager::V1::GetEvaluationRequest) — 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::WorkloadManager::V1::Evaluation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WorkloadManager::V1::Evaluation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_execution
def get_execution(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WorkloadManager::V1::ExecutionBaseline implementation for the get_execution REST call
- request_pb (::Google::Cloud::WorkloadManager::V1::GetExecutionRequest) — 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::WorkloadManager::V1::Execution)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WorkloadManager::V1::Execution) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_evaluations
def list_evaluations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WorkloadManager::V1::ListEvaluationsResponseBaseline implementation for the list_evaluations REST call
- request_pb (::Google::Cloud::WorkloadManager::V1::ListEvaluationsRequest) — 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::WorkloadManager::V1::ListEvaluationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WorkloadManager::V1::ListEvaluationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_execution_results
def list_execution_results(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WorkloadManager::V1::ListExecutionResultsResponseBaseline implementation for the list_execution_results REST call
- request_pb (::Google::Cloud::WorkloadManager::V1::ListExecutionResultsRequest) — 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::WorkloadManager::V1::ListExecutionResultsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WorkloadManager::V1::ListExecutionResultsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_executions
def list_executions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WorkloadManager::V1::ListExecutionsResponseBaseline implementation for the list_executions REST call
- request_pb (::Google::Cloud::WorkloadManager::V1::ListExecutionsRequest) — 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::WorkloadManager::V1::ListExecutionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WorkloadManager::V1::ListExecutionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_rules
def list_rules(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WorkloadManager::V1::ListRulesResponseBaseline implementation for the list_rules REST call
- request_pb (::Google::Cloud::WorkloadManager::V1::ListRulesRequest) — 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::WorkloadManager::V1::ListRulesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WorkloadManager::V1::ListRulesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_scanned_resources
def list_scanned_resources(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WorkloadManager::V1::ListScannedResourcesResponseBaseline implementation for the list_scanned_resources REST call
- request_pb (::Google::Cloud::WorkloadManager::V1::ListScannedResourcesRequest) — 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::WorkloadManager::V1::ListScannedResourcesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WorkloadManager::V1::ListScannedResourcesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#run_evaluation
def run_evaluation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the run_evaluation REST call
- request_pb (::Google::Cloud::WorkloadManager::V1::RunEvaluationRequest) — 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() -> StringThe effective universe domain
- (String)
#update_evaluation
def update_evaluation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_evaluation REST call
- request_pb (::Google::Cloud::WorkloadManager::V1::UpdateEvaluationRequest) — 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)