class documentation
class QuotaAllowanceServiceClient(client.Client): (source)
Constructor: QuotaAllowanceServiceClient(channel)
Undocumented
Method | get |
Gets a quota by its ID. |
Method | get |
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 |
Undocumented |
Class Variable | __service |
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.
Undocumented
Value |
|