Workload Manager V1 API - Class Google::Cloud::WorkloadManager::V1::WorkloadManager::Rest::ServiceStub (v0.1.0)

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::Operation

Baseline implementation for the create_evaluation REST call

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

#delete_evaluation

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

Baseline implementation for the delete_evaluation REST call

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

#delete_execution

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

Baseline implementation for the delete_execution 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_evaluation

def get_evaluation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WorkloadManager::V1::Evaluation

Baseline implementation for the get_evaluation REST call

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

#get_execution

def get_execution(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WorkloadManager::V1::Execution

Baseline implementation for the get_execution REST call

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

#list_evaluations

def list_evaluations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WorkloadManager::V1::ListEvaluationsResponse

Baseline implementation for the list_evaluations REST call

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

#list_execution_results

def list_execution_results(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WorkloadManager::V1::ListExecutionResultsResponse

Baseline implementation for the list_execution_results REST call

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

#list_executions

def list_executions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WorkloadManager::V1::ListExecutionsResponse

Baseline implementation for the list_executions REST call

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

#list_rules

def list_rules(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WorkloadManager::V1::ListRulesResponse

Baseline implementation for the list_rules REST call

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

#list_scanned_resources

def list_scanned_resources(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WorkloadManager::V1::ListScannedResourcesResponse

Baseline implementation for the list_scanned_resources 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)

#run_evaluation

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

Baseline implementation for the run_evaluation 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)

#update_evaluation

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

Baseline implementation for the update_evaluation REST call

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