class documentation
class TargetGroupServiceClient(ClientWithOperations[
Constructor: TargetGroupServiceClient(channel)
TargetGroupService provides operations for managing target groups.
This class provides client methods for the nebius.vpc.v1.TargetGroupService service.
| Class Method | get |
Return the protobuf service descriptor from the registry. |
| Method | get |
Retrieves a target group by its ID. |
| Method | operation |
Return the client that manages long-running operations. |
| Method | update |
Updates an existing target group with new configuration parameters. |
| Constant | __PB2 |
Alias for code that expects a protobuf service descriptor. |
| Class Variable | __api |
API gateway name for service routes. |
| Class Variable | __operation |
RPC method that supplies the operation route. |
| Class Variable | __operation |
Message type representing a long-running operation. |
| Class Variable | __service |
Fully qualified protobuf service name for RPC routes. |
| Instance Variable | __operation |
Undocumented |
Inherited from ClientWithOperations:
| Method | __init__ |
Initialize the client-with-operations. |
| Class Variable | __operation |
the client class used to manage operations. |
Inherited from Client (via ClientWithOperations):
| 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. |
| Class Variable | __service |
Optional deprecation message. The client writes this message to the warning log when it starts. |
| Instance Variable | _channel |
Undocumented |
def get(self, request:
GetTargetGroupRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ GetTargetGroupRequest, TargetGroup]:
(source)
¶
Retrieves a target group by its ID.
The request object is returned without starting the RPC.
def update(self, request:
UpdateTargetGroupRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ UpdateTargetGroupRequest, nebius.aio.operation.Operation[ Operation]]:
(source)
¶
Updates an existing target group with new configuration parameters.
The request object is returned without starting the RPC.
Alias for code that expects a protobuf service descriptor.
| Value |
|