class documentation
class OperationServiceClient(Client): (source)
Constructor: OperationServiceClient(channel)
Service for reading operations.
Migrate to common/v1.
This class provides client methods for the nebius.common.v1alpha1.OperationService service.
| Class Method | get |
Return the protobuf service descriptor from the registry. |
| Method | get |
Returns the latest state of the specified operation. |
| Method | list |
Lists operations for the specified resource. |
| Constant | __PB2 |
Alias for code that expects a protobuf service descriptor. |
| Class Variable | __api |
API gateway name for service routes. |
| Class Variable | __service |
Deprecation details emitted when the client is created. |
| Class Variable | __service |
Fully qualified protobuf service name for RPC routes. |
Inherited from Client:
| Method | __init__ |
Create a client bound to a channel. |
| Method | request |
Construct a nebius.aio.request.Request for an RPC. |
| Method | stream |
Construct a native async request for a streaming RPC shape. |
| Class Variable | __registry__ |
Descriptor registry for request metadata. |
| Instance Variable | _channel |
Undocumented |
def get(self, request:
GetOperationRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ GetOperationRequest, nebius.aio.operation.Operation[ Operation]]:
(source)
¶
Returns the latest state of the specified operation.
The request object is returned without starting the RPC.
def list(self, request:
ListOperationsRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ ListOperationsRequest, ListOperationsResponse]:
(source)
¶
Lists operations for the specified resource.
The request object is returned without starting the RPC.
Alias for code that expects a protobuf service descriptor.
| Value |
|