new operation(op, longrunningDescriptor, backoffSettings, callOptionsopt)
Method used to create Operation objects.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
op |
google.longrunning.Operation |
The operation to be wrapped. |
|
longrunningDescriptor |
LongRunningDescriptor |
This defines the operations service client and unpacking mechanisms for the operation. |
|
backoffSettings |
BackoffSettings |
The backoff settings used in in polling the operation. |
|
callOptions |
CallOptions |
<optional> |
CallOptions used in making get operation requests. |