0.22.5 (latest) 0.22.4 0.21.0 0.20.0 0.19.0 0.18.0 0.17.37 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.2 0.2.0 0.1.2

    Limit(mapping=None, *, ignore_unknown_fields=False, **kwargs)

UsageResourceAllowance limitation.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `calendar_period` | `https://docs.cloud.google.com/python/docs/reference/batch/latest/google.cloud.batch_v1alpha.types.CalendarPeriod` Optional. A CalendarPeriod represents the abstract concept of a time period that has a canonical start. This field is a member of `oneof`_ `duration`. |
| `limit` | `float` Required. Limit value of a UsageResourceAllowance within its one duration. Limit cannot be a negative value. Default is 0. For example, you can set `limit` as 10000.0 with duration of the current month by setting `calendar_period` field as monthly. That means in your current month, 10000.0 is the core hour limitation that your resources are allowed to consume. This field is a member of `oneof`_ `_limit`. |