Module: Google::Cloud::Compute::V1::ZoneOperations::Rest::NonstandardLro
- Defined in:
- lib/google/cloud/compute/v1/zone_operations/rest/nonstandard_lro.rb
Overview
A module containing nonstandard lro helpers
Class Method Summary collapse
-
.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.
Class Method Details
.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.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/google/cloud/compute/v1/zone_operations/rest/nonstandard_lro.rb', line 47 def create_operation operation:, client:, request_values:, options: Gapic::GenericLRO::Operation.new(operation, client: client, polling_method_name: "get", request_values: request_values, operation_status_field: "status", operation_name_field: "name", operation_err_code_field: "http_error_status_code", operation_err_msg_field: "http_error_message", operation_copy_fields: { "name" => "operation" }, options: ) end |