Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::GlobalOrganizationOperations::Rest::NonstandardLro (v2.7.0)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::GlobalOrganizationOperations::Rest::NonstandardLro.

A module containing nonstandard lro helpers

Methods

.create_operation

def self.create_operation(operation:, client:, request_values:, options:) -> Gapic::GenericLRO::Operation

Creates a Generic LRO operation object that wraps the nonstandard long-running operation specific to this service.

Parameters
  • operation (Object) — The long-running operation object that is returned by the initial method call.
  • client (::Google::Cloud::Compute::V1::GlobalOrganizationOperations::Rest::Client) — The client that handles the polling for the longrunning operation.
  • request_values (Map<String, String>) — The values that are to be copied from the request that triggered the longrunning operation, into the request that polls for the longrunning operation. The format is name of the request field -> value
  • options (Gapic::CallOptions) — call options for this operation
Returns
  • (Gapic::GenericLRO::Operation)