class documentation

class QuotaAllowanceServiceClient(client.Client): (source)

Constructor: QuotaAllowanceServiceClient(channel)

View In Hierarchy

Undocumented

Method get Gets a quota by its ID.
Method get_by_name Gets a quota by an ID of a Tenant or a Project, its region, and name.
Method list Lists quotas by an ID of a Tenant or a Project.
Constant __PB2_DESCRIPTOR__ Undocumented
Class Variable __service_name__ Undocumented

Inherited from Client:

Method __init__ Undocumented
Method request Undocumented
Instance Variable _channel Undocumented
def get(self, request: GetQuotaAllowanceRequest, metadata: abc.Iterable[builtins.tuple[builtins.str, builtins.str]] | None = None, timeout: builtins.float | None = None, credentials: grpc.CallCredentials | None = None, compression: grpc.Compression | None = None, retries: builtins.int | None = 3, per_retry_timeout: builtins.float | None = None) -> request.Request[GetQuotaAllowanceRequest, QuotaAllowance]: (source)

Gets a quota by its ID.

def get_by_name(self, request: GetByNameRequest, metadata: abc.Iterable[builtins.tuple[builtins.str, builtins.str]] | None = None, timeout: builtins.float | None = None, credentials: grpc.CallCredentials | None = None, compression: grpc.Compression | None = None, retries: builtins.int | None = 3, per_retry_timeout: builtins.float | None = None) -> request.Request[GetByNameRequest, QuotaAllowance]: (source)

Gets a quota by an ID of a Tenant or a Project, its region, and name.

def list(self, request: ListQuotaAllowancesRequest, metadata: abc.Iterable[builtins.tuple[builtins.str, builtins.str]] | None = None, timeout: builtins.float | None = None, credentials: grpc.CallCredentials | None = None, compression: grpc.Compression | None = None, retries: builtins.int | None = 3, per_retry_timeout: builtins.float | None = None) -> request.Request[ListQuotaAllowancesRequest, ListQuotaAllowancesResponse]: (source)

Lists quotas by an ID of a Tenant or a Project.

__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.ServiceDescriptor]('.nebius.quotas.v1.Quo
taAllowanceService',
                                                          quota_allowance_service_pb2.DESCRIPTOR
,
                                                          descriptor_1.ServiceDescriptor
)
__service_name__: str = (source)