com.google.longrunning.operations
Type members
Classlikes
The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].
The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].
- Value Params
- name
The name of the operation resource to be cancelled.
- Companion
- object
- Companion
- class
The request message for [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation].
The request message for [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation].
- Value Params
- name
The name of the operation resource to be deleted.
- Companion
- object
- Companion
- class
The request message for [Operations.GetOperation][google.longrunning.Operations.GetOperation].
The request message for [Operations.GetOperation][google.longrunning.Operations.GetOperation].
- Value Params
- name
The name of the operation resource.
- Companion
- object
- Companion
- class
The request message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
The request message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
- Value Params
- filter
The standard list filter.
- name
The name of the operation's parent resource.
- pageSize
The standard list page size.
- pageToken
The standard list page token.
- Companion
- object
- Companion
- class
The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
- Value Params
- nextPageToken
The standard List next-page token.
- operations
A list of operations that matches the specified filter in the request.
- Companion
- object
- Companion
- class
This resource represents a long-running operation that is the result of a network API call.
This resource represents a long-running operation that is the result of a network API call.
- Value Params
- done
If the value is
false
, it means the operation is still in progress. Iftrue
, the operation is completed, and eithererror
orresponse
is available.- metadata
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
- name
The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the
name
should be a resource name ending withoperations/{unique_id}
.
- Companion
- object
A message representing the message types used by a long-running operation.
A message representing the message types used by a long-running operation.
Example:
rpc LongRunningRecognize(LongRunningRecognizeRequest) returns (google.longrunning.Operation) { option (google.longrunning.operation_info) = { response_type: "LongRunningRecognizeResponse" metadata_type: "LongRunningRecognizeMetadata" }; }
- Value Params
- metadataType
Required. The message name of the metadata type for this long-running operation. If the response is in a different package from the rpc, a fully-qualified message name must be used (e.g.
google.protobuf.Struct
). Note: Altering this value constitutes a breaking change.- responseType
Required. The message name of the primary return type for this long-running operation. This type will be used to deserialize the LRO's response. If the response is in a different package from the rpc, a fully-qualified message name must be used (e.g.
google.protobuf.Struct
). Note: Altering this value constitutes a breaking change.
- Companion
- object
- Companion
- class
The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation].
The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation].
- Value Params
- name
The name of the operation resource to wait on.
- timeout
The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
- Companion
- object
- Companion
- class