Skip to content

Commit

Permalink
feat: [google-cloud-quotas] A new value NOT_SUPPORTED is added to e…
Browse files Browse the repository at this point in the history
…num `IneligibilityReason` (#13270)

- [ ] Regenerate this pull request now.

BEGIN_COMMIT_OVERRIDE
feat: A new value `NOT_ENOUGH_USAGE_HISTORY` is added to enum
`IneligibilityReason`
feat: A new value `NOT_SUPPORTED` is added to enum `IneligibilityReason`
END_COMMIT_OVERRIDE


PiperOrigin-RevId: 695766513

Source-Link:
googleapis/googleapis@453365e

Source-Link:
googleapis/googleapis-gen@9bed04e
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXF1b3Rhcy8uT3dsQm90LnlhbWwiLCJoIjoiOWJlZDA0ZTNmYjIzZDhmMjVkODU2OTE3MmFkZDVhYTA1OWEzMzY5NCJ9

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Nov 12, 2024
1 parent ede7d85 commit 1c9fcd9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.12" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.12" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,19 @@ class IneligibilityReason(proto.Enum):
NO_VALID_BILLING_ACCOUNT (1):
The container is not linked with a valid
billing account.
NOT_SUPPORTED (3):
Quota increase is not supported for the
quota.
NOT_ENOUGH_USAGE_HISTORY (4):
There is not enough usage history to
determine the eligibility.
OTHER (2):
Other reasons.
"""
INELIGIBILITY_REASON_UNSPECIFIED = 0
NO_VALID_BILLING_ACCOUNT = 1
NOT_SUPPORTED = 3
NOT_ENOUGH_USAGE_HISTORY = 4
OTHER = 2

is_eligible: bool = proto.Field(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-quotas",
"version": "0.1.12"
"version": "0.1.0"
},
"snippets": [
{
Expand Down

0 comments on commit 1c9fcd9

Please sign in to comment.