diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index b668c04..44c78f7 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:ed1f9983d5a935a89fe8085e8bb97d94e41015252c5b6c9771257cf8624367e6 - + digest: sha256:4e1991042fe54b991db9ca17c8fb386e61b22fe4d1472a568bf0fcac85dcf5d3 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f7b8344..b46d730 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -8,9 +8,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: "3.10" - name: Install nox @@ -24,9 +24,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: "3.10" - name: Install nox diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1e8b05c..f512a49 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,9 +8,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: "3.10" - name: Install nox diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 074ee25..e5be6ed 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -11,9 +11,9 @@ jobs: python: ['3.6', '3.7', '3.8', '3.9', '3.10'] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python }} - name: Install nox @@ -26,7 +26,7 @@ jobs: run: | nox -s unit-${{ matrix.python }} - name: Upload coverage results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: coverage-artifacts path: .coverage-${{ matrix.python }} @@ -37,9 +37,9 @@ jobs: - unit steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: "3.10" - name: Install coverage @@ -47,7 +47,7 @@ jobs: python -m pip install --upgrade setuptools pip wheel python -m pip install coverage - name: Download coverage results - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: coverage-artifacts path: .coverage-results/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 8238b72..ada0ff8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ # Changelog +### [1.6.1](https://github.com/googleapis/python-billingbudgets/compare/v1.6.0...v1.6.1) (2022-03-05) + + +### Bug Fixes + +* **deps:** require google-api-core>=1.31.5, >=2.3.2 ([#183](https://github.com/googleapis/python-billingbudgets/issues/183)) ([812fc65](https://github.com/googleapis/python-billingbudgets/commit/812fc6509498090d75a025bbdee8c9771225408e)) +* **deps:** require proto-plus>=1.15.0 ([812fc65](https://github.com/googleapis/python-billingbudgets/commit/812fc6509498090d75a025bbdee8c9771225408e)) + ## [1.6.0](https://github.com/googleapis/python-billingbudgets/compare/v1.5.1...v1.6.0) (2022-02-11) diff --git a/google/cloud/billing/budgets/__init__.py b/google/cloud/billing/budgets/__init__.py index c389a8f..efd56c9 100644 --- a/google/cloud/billing/budgets/__init__.py +++ b/google/cloud/billing/budgets/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1/__init__.py b/google/cloud/billing/budgets_v1/__init__.py index 1ae1451..e997b95 100644 --- a/google/cloud/billing/budgets_v1/__init__.py +++ b/google/cloud/billing/budgets_v1/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1/services/__init__.py b/google/cloud/billing/budgets_v1/services/__init__.py index 4de6597..e8e1c38 100644 --- a/google/cloud/billing/budgets_v1/services/__init__.py +++ b/google/cloud/billing/budgets_v1/services/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1/services/budget_service/__init__.py b/google/cloud/billing/budgets_v1/services/budget_service/__init__.py index 737114a..52de7ea 100644 --- a/google/cloud/billing/budgets_v1/services/budget_service/__init__.py +++ b/google/cloud/billing/budgets_v1/services/budget_service/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1/services/budget_service/async_client.py b/google/cloud/billing/budgets_v1/services/budget_service/async_client.py index 0cefde7..c40997e 100644 --- a/google/cloud/billing/budgets_v1/services/budget_service/async_client.py +++ b/google/cloud/billing/budgets_v1/services/budget_service/async_client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -223,7 +223,7 @@ async def create_budget( create. - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1 @@ -333,7 +333,7 @@ async def update_budget( changed by this method. - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1 @@ -460,7 +460,7 @@ async def get_budget( Cloud Console. - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1 @@ -572,7 +572,7 @@ async def list_budgets( Cloud Console. - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1 @@ -683,7 +683,7 @@ async def delete_budget( deleted. - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1 diff --git a/google/cloud/billing/budgets_v1/services/budget_service/client.py b/google/cloud/billing/budgets_v1/services/budget_service/client.py index 370f6f8..2459152 100644 --- a/google/cloud/billing/budgets_v1/services/budget_service/client.py +++ b/google/cloud/billing/budgets_v1/services/budget_service/client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -417,8 +417,7 @@ def create_budget( create. - - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1 @@ -528,8 +527,7 @@ def update_budget( changed by this method. - - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1 @@ -646,8 +644,7 @@ def get_budget( Cloud Console. - - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1 @@ -749,8 +746,7 @@ def list_budgets( Cloud Console. - - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1 @@ -851,8 +847,7 @@ def delete_budget( deleted. - - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1 diff --git a/google/cloud/billing/budgets_v1/services/budget_service/pagers.py b/google/cloud/billing/budgets_v1/services/budget_service/pagers.py index 715e48e..8765131 100644 --- a/google/cloud/billing/budgets_v1/services/budget_service/pagers.py +++ b/google/cloud/billing/budgets_v1/services/budget_service/pagers.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1/services/budget_service/transports/__init__.py b/google/cloud/billing/budgets_v1/services/budget_service/transports/__init__.py index f65a2e4..ffb6ed3 100644 --- a/google/cloud/billing/budgets_v1/services/budget_service/transports/__init__.py +++ b/google/cloud/billing/budgets_v1/services/budget_service/transports/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1/services/budget_service/transports/base.py b/google/cloud/billing/budgets_v1/services/budget_service/transports/base.py index 1f9c8ae..8ed37ff 100644 --- a/google/cloud/billing/budgets_v1/services/budget_service/transports/base.py +++ b/google/cloud/billing/budgets_v1/services/budget_service/transports/base.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1/services/budget_service/transports/grpc.py b/google/cloud/billing/budgets_v1/services/budget_service/transports/grpc.py index f7b5412..09d6b04 100644 --- a/google/cloud/billing/budgets_v1/services/budget_service/transports/grpc.py +++ b/google/cloud/billing/budgets_v1/services/budget_service/transports/grpc.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1/services/budget_service/transports/grpc_asyncio.py b/google/cloud/billing/budgets_v1/services/budget_service/transports/grpc_asyncio.py index 6b6a3ec..6d8c3ff 100644 --- a/google/cloud/billing/budgets_v1/services/budget_service/transports/grpc_asyncio.py +++ b/google/cloud/billing/budgets_v1/services/budget_service/transports/grpc_asyncio.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1/types/__init__.py b/google/cloud/billing/budgets_v1/types/__init__.py index 25be1b0..1ab6f8e 100644 --- a/google/cloud/billing/budgets_v1/types/__init__.py +++ b/google/cloud/billing/budgets_v1/types/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1/types/budget_model.py b/google/cloud/billing/budgets_v1/types/budget_model.py index 93d0840..4ab656b 100644 --- a/google/cloud/billing/budgets_v1/types/budget_model.py +++ b/google/cloud/billing/budgets_v1/types/budget_model.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1/types/budget_service.py b/google/cloud/billing/budgets_v1/types/budget_service.py index 0db1437..e97e8ae 100644 --- a/google/cloud/billing/budgets_v1/types/budget_service.py +++ b/google/cloud/billing/budgets_v1/types/budget_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1beta1/__init__.py b/google/cloud/billing/budgets_v1beta1/__init__.py index df3f22b..2e1626a 100644 --- a/google/cloud/billing/budgets_v1beta1/__init__.py +++ b/google/cloud/billing/budgets_v1beta1/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1beta1/services/__init__.py b/google/cloud/billing/budgets_v1beta1/services/__init__.py index 4de6597..e8e1c38 100644 --- a/google/cloud/billing/budgets_v1beta1/services/__init__.py +++ b/google/cloud/billing/budgets_v1beta1/services/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1beta1/services/budget_service/__init__.py b/google/cloud/billing/budgets_v1beta1/services/budget_service/__init__.py index 737114a..52de7ea 100644 --- a/google/cloud/billing/budgets_v1beta1/services/budget_service/__init__.py +++ b/google/cloud/billing/budgets_v1beta1/services/budget_service/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1beta1/services/budget_service/async_client.py b/google/cloud/billing/budgets_v1beta1/services/budget_service/async_client.py index a24ea29..77ff4de 100644 --- a/google/cloud/billing/budgets_v1beta1/services/budget_service/async_client.py +++ b/google/cloud/billing/budgets_v1beta1/services/budget_service/async_client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -220,7 +220,7 @@ async def create_budget( create. - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1beta1 @@ -299,7 +299,7 @@ async def update_budget( changed by this method. - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1beta1 @@ -390,7 +390,7 @@ async def get_budget( Cloud Console. - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1beta1 @@ -480,7 +480,7 @@ async def list_budgets( Cloud Console. - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1beta1 @@ -568,7 +568,7 @@ async def delete_budget( deleted. - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1beta1 diff --git a/google/cloud/billing/budgets_v1beta1/services/budget_service/client.py b/google/cloud/billing/budgets_v1beta1/services/budget_service/client.py index 5e07f24..3006a6d 100644 --- a/google/cloud/billing/budgets_v1beta1/services/budget_service/client.py +++ b/google/cloud/billing/budgets_v1beta1/services/budget_service/client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -414,8 +414,7 @@ def create_budget( create. - - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1beta1 @@ -495,8 +494,7 @@ def update_budget( changed by this method. - - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1beta1 @@ -578,8 +576,7 @@ def get_budget( Cloud Console. - - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1beta1 @@ -660,8 +657,7 @@ def list_budgets( Cloud Console. - - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1beta1 @@ -740,8 +736,7 @@ def delete_budget( deleted. - - .. code-block:: + .. code-block:: python from google.cloud.billing import budgets_v1beta1 diff --git a/google/cloud/billing/budgets_v1beta1/services/budget_service/pagers.py b/google/cloud/billing/budgets_v1beta1/services/budget_service/pagers.py index e1cef04..971076c 100644 --- a/google/cloud/billing/budgets_v1beta1/services/budget_service/pagers.py +++ b/google/cloud/billing/budgets_v1beta1/services/budget_service/pagers.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1beta1/services/budget_service/transports/__init__.py b/google/cloud/billing/budgets_v1beta1/services/budget_service/transports/__init__.py index f65a2e4..ffb6ed3 100644 --- a/google/cloud/billing/budgets_v1beta1/services/budget_service/transports/__init__.py +++ b/google/cloud/billing/budgets_v1beta1/services/budget_service/transports/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1beta1/services/budget_service/transports/base.py b/google/cloud/billing/budgets_v1beta1/services/budget_service/transports/base.py index 56d0322..ab5fe00 100644 --- a/google/cloud/billing/budgets_v1beta1/services/budget_service/transports/base.py +++ b/google/cloud/billing/budgets_v1beta1/services/budget_service/transports/base.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1beta1/services/budget_service/transports/grpc.py b/google/cloud/billing/budgets_v1beta1/services/budget_service/transports/grpc.py index a18d1af..d33dca5 100644 --- a/google/cloud/billing/budgets_v1beta1/services/budget_service/transports/grpc.py +++ b/google/cloud/billing/budgets_v1beta1/services/budget_service/transports/grpc.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1beta1/services/budget_service/transports/grpc_asyncio.py b/google/cloud/billing/budgets_v1beta1/services/budget_service/transports/grpc_asyncio.py index 88c4520..79e52ad 100644 --- a/google/cloud/billing/budgets_v1beta1/services/budget_service/transports/grpc_asyncio.py +++ b/google/cloud/billing/budgets_v1beta1/services/budget_service/transports/grpc_asyncio.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1beta1/types/__init__.py b/google/cloud/billing/budgets_v1beta1/types/__init__.py index aac91d6..49bc43d 100644 --- a/google/cloud/billing/budgets_v1beta1/types/__init__.py +++ b/google/cloud/billing/budgets_v1beta1/types/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1beta1/types/budget_model.py b/google/cloud/billing/budgets_v1beta1/types/budget_model.py index 683c6d9..14a573f 100644 --- a/google/cloud/billing/budgets_v1beta1/types/budget_model.py +++ b/google/cloud/billing/budgets_v1beta1/types/budget_model.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/billing/budgets_v1beta1/types/budget_service.py b/google/cloud/billing/budgets_v1beta1/types/budget_service.py index 01d779f..4cc1a96 100644 --- a/google/cloud/billing/budgets_v1beta1/types/budget_service.py +++ b/google/cloud/billing/budgets_v1beta1/types/budget_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_create_budget_async.py b/samples/generated_samples/billingbudgets_v1_generated_budget_service_create_budget_async.py similarity index 87% rename from samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_create_budget_async.py rename to samples/generated_samples/billingbudgets_v1_generated_budget_service_create_budget_async.py index 29cfa5f..3bd38c9 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_create_budget_async.py +++ b/samples/generated_samples/billingbudgets_v1_generated_budget_service_create_budget_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1_BudgetService_CreateBudget_async] +# [START billingbudgets_v1_generated_BudgetService_CreateBudget_async] from google.cloud.billing import budgets_v1 @@ -42,4 +42,4 @@ async def sample_create_budget(): # Handle the response print(response) -# [END billingbudgets_generated_budgets_v1_BudgetService_CreateBudget_async] +# [END billingbudgets_v1_generated_BudgetService_CreateBudget_async] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_create_budget_sync.py b/samples/generated_samples/billingbudgets_v1_generated_budget_service_create_budget_sync.py similarity index 87% rename from samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_create_budget_sync.py rename to samples/generated_samples/billingbudgets_v1_generated_budget_service_create_budget_sync.py index bdb8eed..0402109 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_create_budget_sync.py +++ b/samples/generated_samples/billingbudgets_v1_generated_budget_service_create_budget_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1_BudgetService_CreateBudget_sync] +# [START billingbudgets_v1_generated_BudgetService_CreateBudget_sync] from google.cloud.billing import budgets_v1 @@ -42,4 +42,4 @@ def sample_create_budget(): # Handle the response print(response) -# [END billingbudgets_generated_budgets_v1_BudgetService_CreateBudget_sync] +# [END billingbudgets_v1_generated_BudgetService_CreateBudget_sync] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_delete_budget_async.py b/samples/generated_samples/billingbudgets_v1_generated_budget_service_delete_budget_async.py similarity index 87% rename from samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_delete_budget_async.py rename to samples/generated_samples/billingbudgets_v1_generated_budget_service_delete_budget_async.py index eeb57af..24147c4 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_delete_budget_async.py +++ b/samples/generated_samples/billingbudgets_v1_generated_budget_service_delete_budget_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1_BudgetService_DeleteBudget_async] +# [START billingbudgets_v1_generated_BudgetService_DeleteBudget_async] from google.cloud.billing import budgets_v1 @@ -40,4 +40,4 @@ async def sample_delete_budget(): await client.delete_budget(request=request) -# [END billingbudgets_generated_budgets_v1_BudgetService_DeleteBudget_async] +# [END billingbudgets_v1_generated_BudgetService_DeleteBudget_async] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_delete_budget_sync.py b/samples/generated_samples/billingbudgets_v1_generated_budget_service_delete_budget_sync.py similarity index 87% rename from samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_delete_budget_sync.py rename to samples/generated_samples/billingbudgets_v1_generated_budget_service_delete_budget_sync.py index ea3ffcd..b120241 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_delete_budget_sync.py +++ b/samples/generated_samples/billingbudgets_v1_generated_budget_service_delete_budget_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1_BudgetService_DeleteBudget_sync] +# [START billingbudgets_v1_generated_BudgetService_DeleteBudget_sync] from google.cloud.billing import budgets_v1 @@ -40,4 +40,4 @@ def sample_delete_budget(): client.delete_budget(request=request) -# [END billingbudgets_generated_budgets_v1_BudgetService_DeleteBudget_sync] +# [END billingbudgets_v1_generated_BudgetService_DeleteBudget_sync] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_get_budget_async.py b/samples/generated_samples/billingbudgets_v1_generated_budget_service_get_budget_async.py similarity index 87% rename from samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_get_budget_async.py rename to samples/generated_samples/billingbudgets_v1_generated_budget_service_get_budget_async.py index 1731c90..411a68d 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_get_budget_async.py +++ b/samples/generated_samples/billingbudgets_v1_generated_budget_service_get_budget_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1_BudgetService_GetBudget_async] +# [START billingbudgets_v1_generated_BudgetService_GetBudget_async] from google.cloud.billing import budgets_v1 @@ -42,4 +42,4 @@ async def sample_get_budget(): # Handle the response print(response) -# [END billingbudgets_generated_budgets_v1_BudgetService_GetBudget_async] +# [END billingbudgets_v1_generated_BudgetService_GetBudget_async] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_get_budget_sync.py b/samples/generated_samples/billingbudgets_v1_generated_budget_service_get_budget_sync.py similarity index 87% rename from samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_get_budget_sync.py rename to samples/generated_samples/billingbudgets_v1_generated_budget_service_get_budget_sync.py index e845a72..924d095 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_get_budget_sync.py +++ b/samples/generated_samples/billingbudgets_v1_generated_budget_service_get_budget_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1_BudgetService_GetBudget_sync] +# [START billingbudgets_v1_generated_BudgetService_GetBudget_sync] from google.cloud.billing import budgets_v1 @@ -42,4 +42,4 @@ def sample_get_budget(): # Handle the response print(response) -# [END billingbudgets_generated_budgets_v1_BudgetService_GetBudget_sync] +# [END billingbudgets_v1_generated_BudgetService_GetBudget_sync] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_list_budgets_async.py b/samples/generated_samples/billingbudgets_v1_generated_budget_service_list_budgets_async.py similarity index 88% rename from samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_list_budgets_async.py rename to samples/generated_samples/billingbudgets_v1_generated_budget_service_list_budgets_async.py index 5b92672..edbdce0 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_list_budgets_async.py +++ b/samples/generated_samples/billingbudgets_v1_generated_budget_service_list_budgets_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1_BudgetService_ListBudgets_async] +# [START billingbudgets_v1_generated_BudgetService_ListBudgets_async] from google.cloud.billing import budgets_v1 @@ -43,4 +43,4 @@ async def sample_list_budgets(): async for response in page_result: print(response) -# [END billingbudgets_generated_budgets_v1_BudgetService_ListBudgets_async] +# [END billingbudgets_v1_generated_BudgetService_ListBudgets_async] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_list_budgets_sync.py b/samples/generated_samples/billingbudgets_v1_generated_budget_service_list_budgets_sync.py similarity index 88% rename from samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_list_budgets_sync.py rename to samples/generated_samples/billingbudgets_v1_generated_budget_service_list_budgets_sync.py index bd8e5bd..f71b961 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_list_budgets_sync.py +++ b/samples/generated_samples/billingbudgets_v1_generated_budget_service_list_budgets_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1_BudgetService_ListBudgets_sync] +# [START billingbudgets_v1_generated_BudgetService_ListBudgets_sync] from google.cloud.billing import budgets_v1 @@ -43,4 +43,4 @@ def sample_list_budgets(): for response in page_result: print(response) -# [END billingbudgets_generated_budgets_v1_BudgetService_ListBudgets_sync] +# [END billingbudgets_v1_generated_BudgetService_ListBudgets_sync] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_update_budget_async.py b/samples/generated_samples/billingbudgets_v1_generated_budget_service_update_budget_async.py similarity index 87% rename from samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_update_budget_async.py rename to samples/generated_samples/billingbudgets_v1_generated_budget_service_update_budget_async.py index 15cafb6..e480a2d 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_update_budget_async.py +++ b/samples/generated_samples/billingbudgets_v1_generated_budget_service_update_budget_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1_BudgetService_UpdateBudget_async] +# [START billingbudgets_v1_generated_BudgetService_UpdateBudget_async] from google.cloud.billing import budgets_v1 @@ -41,4 +41,4 @@ async def sample_update_budget(): # Handle the response print(response) -# [END billingbudgets_generated_budgets_v1_BudgetService_UpdateBudget_async] +# [END billingbudgets_v1_generated_BudgetService_UpdateBudget_async] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_update_budget_sync.py b/samples/generated_samples/billingbudgets_v1_generated_budget_service_update_budget_sync.py similarity index 87% rename from samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_update_budget_sync.py rename to samples/generated_samples/billingbudgets_v1_generated_budget_service_update_budget_sync.py index 267cca9..362065a 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1_budget_service_update_budget_sync.py +++ b/samples/generated_samples/billingbudgets_v1_generated_budget_service_update_budget_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1_BudgetService_UpdateBudget_sync] +# [START billingbudgets_v1_generated_BudgetService_UpdateBudget_sync] from google.cloud.billing import budgets_v1 @@ -41,4 +41,4 @@ def sample_update_budget(): # Handle the response print(response) -# [END billingbudgets_generated_budgets_v1_BudgetService_UpdateBudget_sync] +# [END billingbudgets_v1_generated_BudgetService_UpdateBudget_sync] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_create_budget_async.py b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_create_budget_async.py similarity index 87% rename from samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_create_budget_async.py rename to samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_create_budget_async.py index 54a41a8..49bbbd7 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_create_budget_async.py +++ b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_create_budget_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1beta1_BudgetService_CreateBudget_async] +# [START billingbudgets_v1beta1_generated_BudgetService_CreateBudget_async] from google.cloud.billing import budgets_v1beta1 @@ -42,4 +42,4 @@ async def sample_create_budget(): # Handle the response print(response) -# [END billingbudgets_generated_budgets_v1beta1_BudgetService_CreateBudget_async] +# [END billingbudgets_v1beta1_generated_BudgetService_CreateBudget_async] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_create_budget_sync.py b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_create_budget_sync.py similarity index 87% rename from samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_create_budget_sync.py rename to samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_create_budget_sync.py index 3dbe2eb..3af6364 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_create_budget_sync.py +++ b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_create_budget_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1beta1_BudgetService_CreateBudget_sync] +# [START billingbudgets_v1beta1_generated_BudgetService_CreateBudget_sync] from google.cloud.billing import budgets_v1beta1 @@ -42,4 +42,4 @@ def sample_create_budget(): # Handle the response print(response) -# [END billingbudgets_generated_budgets_v1beta1_BudgetService_CreateBudget_sync] +# [END billingbudgets_v1beta1_generated_BudgetService_CreateBudget_sync] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_delete_budget_async.py b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_delete_budget_async.py similarity index 86% rename from samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_delete_budget_async.py rename to samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_delete_budget_async.py index 0907e2a..8138103 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_delete_budget_async.py +++ b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_delete_budget_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1beta1_BudgetService_DeleteBudget_async] +# [START billingbudgets_v1beta1_generated_BudgetService_DeleteBudget_async] from google.cloud.billing import budgets_v1beta1 @@ -40,4 +40,4 @@ async def sample_delete_budget(): await client.delete_budget(request=request) -# [END billingbudgets_generated_budgets_v1beta1_BudgetService_DeleteBudget_async] +# [END billingbudgets_v1beta1_generated_BudgetService_DeleteBudget_async] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_delete_budget_sync.py b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_delete_budget_sync.py similarity index 86% rename from samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_delete_budget_sync.py rename to samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_delete_budget_sync.py index 3a789da..148fb3a 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_delete_budget_sync.py +++ b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_delete_budget_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1beta1_BudgetService_DeleteBudget_sync] +# [START billingbudgets_v1beta1_generated_BudgetService_DeleteBudget_sync] from google.cloud.billing import budgets_v1beta1 @@ -40,4 +40,4 @@ def sample_delete_budget(): client.delete_budget(request=request) -# [END billingbudgets_generated_budgets_v1beta1_BudgetService_DeleteBudget_sync] +# [END billingbudgets_v1beta1_generated_BudgetService_DeleteBudget_sync] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_get_budget_async.py b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_get_budget_async.py similarity index 87% rename from samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_get_budget_async.py rename to samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_get_budget_async.py index 028d629..ead3f84 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_get_budget_async.py +++ b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_get_budget_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1beta1_BudgetService_GetBudget_async] +# [START billingbudgets_v1beta1_generated_BudgetService_GetBudget_async] from google.cloud.billing import budgets_v1beta1 @@ -42,4 +42,4 @@ async def sample_get_budget(): # Handle the response print(response) -# [END billingbudgets_generated_budgets_v1beta1_BudgetService_GetBudget_async] +# [END billingbudgets_v1beta1_generated_BudgetService_GetBudget_async] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_get_budget_sync.py b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_get_budget_sync.py similarity index 87% rename from samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_get_budget_sync.py rename to samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_get_budget_sync.py index e26fb46..a4b55b0 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_get_budget_sync.py +++ b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_get_budget_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1beta1_BudgetService_GetBudget_sync] +# [START billingbudgets_v1beta1_generated_BudgetService_GetBudget_sync] from google.cloud.billing import budgets_v1beta1 @@ -42,4 +42,4 @@ def sample_get_budget(): # Handle the response print(response) -# [END billingbudgets_generated_budgets_v1beta1_BudgetService_GetBudget_sync] +# [END billingbudgets_v1beta1_generated_BudgetService_GetBudget_sync] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_list_budgets_async.py b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_list_budgets_async.py similarity index 87% rename from samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_list_budgets_async.py rename to samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_list_budgets_async.py index bcaee91..f33d7ff 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_list_budgets_async.py +++ b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_list_budgets_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1beta1_BudgetService_ListBudgets_async] +# [START billingbudgets_v1beta1_generated_BudgetService_ListBudgets_async] from google.cloud.billing import budgets_v1beta1 @@ -43,4 +43,4 @@ async def sample_list_budgets(): async for response in page_result: print(response) -# [END billingbudgets_generated_budgets_v1beta1_BudgetService_ListBudgets_async] +# [END billingbudgets_v1beta1_generated_BudgetService_ListBudgets_async] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_list_budgets_sync.py b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_list_budgets_sync.py similarity index 87% rename from samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_list_budgets_sync.py rename to samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_list_budgets_sync.py index ef965a7..c31c841 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_list_budgets_sync.py +++ b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_list_budgets_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1beta1_BudgetService_ListBudgets_sync] +# [START billingbudgets_v1beta1_generated_BudgetService_ListBudgets_sync] from google.cloud.billing import budgets_v1beta1 @@ -43,4 +43,4 @@ def sample_list_budgets(): for response in page_result: print(response) -# [END billingbudgets_generated_budgets_v1beta1_BudgetService_ListBudgets_sync] +# [END billingbudgets_v1beta1_generated_BudgetService_ListBudgets_sync] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_update_budget_async.py b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_update_budget_async.py similarity index 87% rename from samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_update_budget_async.py rename to samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_update_budget_async.py index f7b87bb..4fa4ed5 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_update_budget_async.py +++ b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_update_budget_async.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1beta1_BudgetService_UpdateBudget_async] +# [START billingbudgets_v1beta1_generated_BudgetService_UpdateBudget_async] from google.cloud.billing import budgets_v1beta1 @@ -41,4 +41,4 @@ async def sample_update_budget(): # Handle the response print(response) -# [END billingbudgets_generated_budgets_v1beta1_BudgetService_UpdateBudget_async] +# [END billingbudgets_v1beta1_generated_BudgetService_UpdateBudget_async] diff --git a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_update_budget_sync.py b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_update_budget_sync.py similarity index 87% rename from samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_update_budget_sync.py rename to samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_update_budget_sync.py index f7e88eb..04e8105 100644 --- a/samples/generated_samples/billingbudgets_generated_budgets_v1beta1_budget_service_update_budget_sync.py +++ b/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_update_budget_sync.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-billing-budgets -# [START billingbudgets_generated_budgets_v1beta1_BudgetService_UpdateBudget_sync] +# [START billingbudgets_v1beta1_generated_BudgetService_UpdateBudget_sync] from google.cloud.billing import budgets_v1beta1 @@ -41,4 +41,4 @@ def sample_update_budget(): # Handle the response print(response) -# [END billingbudgets_generated_budgets_v1beta1_BudgetService_UpdateBudget_sync] +# [END billingbudgets_v1beta1_generated_BudgetService_UpdateBudget_sync] diff --git a/samples/generated_samples/snippet_metadata_budgets_v1.json b/samples/generated_samples/snippet_metadata_budgets_v1.json index 064a86e..c619605 100644 --- a/samples/generated_samples/snippet_metadata_budgets_v1.json +++ b/samples/generated_samples/snippet_metadata_budgets_v1.json @@ -10,8 +10,8 @@ "shortName": "CreateBudget" } }, - "file": "billingbudgets_generated_budgets_v1_budget_service_create_budget_async.py", - "regionTag": "billingbudgets_generated_budgets_v1_BudgetService_CreateBudget_async", + "file": "billingbudgets_v1_generated_budget_service_create_budget_async.py", + "regionTag": "billingbudgets_v1_generated_BudgetService_CreateBudget_async", "segments": [ { "end": 44, @@ -54,8 +54,8 @@ "shortName": "CreateBudget" } }, - "file": "billingbudgets_generated_budgets_v1_budget_service_create_budget_sync.py", - "regionTag": "billingbudgets_generated_budgets_v1_BudgetService_CreateBudget_sync", + "file": "billingbudgets_v1_generated_budget_service_create_budget_sync.py", + "regionTag": "billingbudgets_v1_generated_BudgetService_CreateBudget_sync", "segments": [ { "end": 44, @@ -99,8 +99,8 @@ "shortName": "DeleteBudget" } }, - "file": "billingbudgets_generated_budgets_v1_budget_service_delete_budget_async.py", - "regionTag": "billingbudgets_generated_budgets_v1_BudgetService_DeleteBudget_async", + "file": "billingbudgets_v1_generated_budget_service_delete_budget_async.py", + "regionTag": "billingbudgets_v1_generated_BudgetService_DeleteBudget_async", "segments": [ { "end": 42, @@ -141,8 +141,8 @@ "shortName": "DeleteBudget" } }, - "file": "billingbudgets_generated_budgets_v1_budget_service_delete_budget_sync.py", - "regionTag": "billingbudgets_generated_budgets_v1_BudgetService_DeleteBudget_sync", + "file": "billingbudgets_v1_generated_budget_service_delete_budget_sync.py", + "regionTag": "billingbudgets_v1_generated_BudgetService_DeleteBudget_sync", "segments": [ { "end": 42, @@ -184,8 +184,8 @@ "shortName": "GetBudget" } }, - "file": "billingbudgets_generated_budgets_v1_budget_service_get_budget_async.py", - "regionTag": "billingbudgets_generated_budgets_v1_BudgetService_GetBudget_async", + "file": "billingbudgets_v1_generated_budget_service_get_budget_async.py", + "regionTag": "billingbudgets_v1_generated_BudgetService_GetBudget_async", "segments": [ { "end": 44, @@ -228,8 +228,8 @@ "shortName": "GetBudget" } }, - "file": "billingbudgets_generated_budgets_v1_budget_service_get_budget_sync.py", - "regionTag": "billingbudgets_generated_budgets_v1_BudgetService_GetBudget_sync", + "file": "billingbudgets_v1_generated_budget_service_get_budget_sync.py", + "regionTag": "billingbudgets_v1_generated_BudgetService_GetBudget_sync", "segments": [ { "end": 44, @@ -273,8 +273,8 @@ "shortName": "ListBudgets" } }, - "file": "billingbudgets_generated_budgets_v1_budget_service_list_budgets_async.py", - "regionTag": "billingbudgets_generated_budgets_v1_BudgetService_ListBudgets_async", + "file": "billingbudgets_v1_generated_budget_service_list_budgets_async.py", + "regionTag": "billingbudgets_v1_generated_BudgetService_ListBudgets_async", "segments": [ { "end": 45, @@ -317,8 +317,8 @@ "shortName": "ListBudgets" } }, - "file": "billingbudgets_generated_budgets_v1_budget_service_list_budgets_sync.py", - "regionTag": "billingbudgets_generated_budgets_v1_BudgetService_ListBudgets_sync", + "file": "billingbudgets_v1_generated_budget_service_list_budgets_sync.py", + "regionTag": "billingbudgets_v1_generated_BudgetService_ListBudgets_sync", "segments": [ { "end": 45, @@ -362,8 +362,8 @@ "shortName": "UpdateBudget" } }, - "file": "billingbudgets_generated_budgets_v1_budget_service_update_budget_async.py", - "regionTag": "billingbudgets_generated_budgets_v1_BudgetService_UpdateBudget_async", + "file": "billingbudgets_v1_generated_budget_service_update_budget_async.py", + "regionTag": "billingbudgets_v1_generated_BudgetService_UpdateBudget_async", "segments": [ { "end": 43, @@ -406,8 +406,8 @@ "shortName": "UpdateBudget" } }, - "file": "billingbudgets_generated_budgets_v1_budget_service_update_budget_sync.py", - "regionTag": "billingbudgets_generated_budgets_v1_BudgetService_UpdateBudget_sync", + "file": "billingbudgets_v1_generated_budget_service_update_budget_sync.py", + "regionTag": "billingbudgets_v1_generated_BudgetService_UpdateBudget_sync", "segments": [ { "end": 43, diff --git a/samples/generated_samples/snippet_metadata_budgets_v1beta1.json b/samples/generated_samples/snippet_metadata_budgets_v1beta1.json index bfd952a..7c18f35 100644 --- a/samples/generated_samples/snippet_metadata_budgets_v1beta1.json +++ b/samples/generated_samples/snippet_metadata_budgets_v1beta1.json @@ -10,8 +10,8 @@ "shortName": "CreateBudget" } }, - "file": "billingbudgets_generated_budgets_v1beta1_budget_service_create_budget_async.py", - "regionTag": "billingbudgets_generated_budgets_v1beta1_BudgetService_CreateBudget_async", + "file": "billingbudgets_v1beta1_generated_budget_service_create_budget_async.py", + "regionTag": "billingbudgets_v1beta1_generated_BudgetService_CreateBudget_async", "segments": [ { "end": 44, @@ -54,8 +54,8 @@ "shortName": "CreateBudget" } }, - "file": "billingbudgets_generated_budgets_v1beta1_budget_service_create_budget_sync.py", - "regionTag": "billingbudgets_generated_budgets_v1beta1_BudgetService_CreateBudget_sync", + "file": "billingbudgets_v1beta1_generated_budget_service_create_budget_sync.py", + "regionTag": "billingbudgets_v1beta1_generated_BudgetService_CreateBudget_sync", "segments": [ { "end": 44, @@ -99,8 +99,8 @@ "shortName": "DeleteBudget" } }, - "file": "billingbudgets_generated_budgets_v1beta1_budget_service_delete_budget_async.py", - "regionTag": "billingbudgets_generated_budgets_v1beta1_BudgetService_DeleteBudget_async", + "file": "billingbudgets_v1beta1_generated_budget_service_delete_budget_async.py", + "regionTag": "billingbudgets_v1beta1_generated_BudgetService_DeleteBudget_async", "segments": [ { "end": 42, @@ -141,8 +141,8 @@ "shortName": "DeleteBudget" } }, - "file": "billingbudgets_generated_budgets_v1beta1_budget_service_delete_budget_sync.py", - "regionTag": "billingbudgets_generated_budgets_v1beta1_BudgetService_DeleteBudget_sync", + "file": "billingbudgets_v1beta1_generated_budget_service_delete_budget_sync.py", + "regionTag": "billingbudgets_v1beta1_generated_BudgetService_DeleteBudget_sync", "segments": [ { "end": 42, @@ -184,8 +184,8 @@ "shortName": "GetBudget" } }, - "file": "billingbudgets_generated_budgets_v1beta1_budget_service_get_budget_async.py", - "regionTag": "billingbudgets_generated_budgets_v1beta1_BudgetService_GetBudget_async", + "file": "billingbudgets_v1beta1_generated_budget_service_get_budget_async.py", + "regionTag": "billingbudgets_v1beta1_generated_BudgetService_GetBudget_async", "segments": [ { "end": 44, @@ -228,8 +228,8 @@ "shortName": "GetBudget" } }, - "file": "billingbudgets_generated_budgets_v1beta1_budget_service_get_budget_sync.py", - "regionTag": "billingbudgets_generated_budgets_v1beta1_BudgetService_GetBudget_sync", + "file": "billingbudgets_v1beta1_generated_budget_service_get_budget_sync.py", + "regionTag": "billingbudgets_v1beta1_generated_BudgetService_GetBudget_sync", "segments": [ { "end": 44, @@ -273,8 +273,8 @@ "shortName": "ListBudgets" } }, - "file": "billingbudgets_generated_budgets_v1beta1_budget_service_list_budgets_async.py", - "regionTag": "billingbudgets_generated_budgets_v1beta1_BudgetService_ListBudgets_async", + "file": "billingbudgets_v1beta1_generated_budget_service_list_budgets_async.py", + "regionTag": "billingbudgets_v1beta1_generated_BudgetService_ListBudgets_async", "segments": [ { "end": 45, @@ -317,8 +317,8 @@ "shortName": "ListBudgets" } }, - "file": "billingbudgets_generated_budgets_v1beta1_budget_service_list_budgets_sync.py", - "regionTag": "billingbudgets_generated_budgets_v1beta1_BudgetService_ListBudgets_sync", + "file": "billingbudgets_v1beta1_generated_budget_service_list_budgets_sync.py", + "regionTag": "billingbudgets_v1beta1_generated_BudgetService_ListBudgets_sync", "segments": [ { "end": 45, @@ -362,8 +362,8 @@ "shortName": "UpdateBudget" } }, - "file": "billingbudgets_generated_budgets_v1beta1_budget_service_update_budget_async.py", - "regionTag": "billingbudgets_generated_budgets_v1beta1_BudgetService_UpdateBudget_async", + "file": "billingbudgets_v1beta1_generated_budget_service_update_budget_async.py", + "regionTag": "billingbudgets_v1beta1_generated_BudgetService_UpdateBudget_async", "segments": [ { "end": 43, @@ -406,8 +406,8 @@ "shortName": "UpdateBudget" } }, - "file": "billingbudgets_generated_budgets_v1beta1_budget_service_update_budget_sync.py", - "regionTag": "billingbudgets_generated_budgets_v1beta1_BudgetService_UpdateBudget_sync", + "file": "billingbudgets_v1beta1_generated_budget_service_update_budget_sync.py", + "regionTag": "billingbudgets_v1beta1_generated_BudgetService_UpdateBudget_sync", "segments": [ { "end": 43, diff --git a/scripts/fixup_budgets_v1_keywords.py b/scripts/fixup_budgets_v1_keywords.py index 42b5e76..5b03e5b 100644 --- a/scripts/fixup_budgets_v1_keywords.py +++ b/scripts/fixup_budgets_v1_keywords.py @@ -1,6 +1,6 @@ #! /usr/bin/env python3 # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/scripts/fixup_budgets_v1beta1_keywords.py b/scripts/fixup_budgets_v1beta1_keywords.py index 42b5e76..5b03e5b 100644 --- a/scripts/fixup_budgets_v1beta1_keywords.py +++ b/scripts/fixup_budgets_v1beta1_keywords.py @@ -1,6 +1,6 @@ #! /usr/bin/env python3 # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/setup.py b/setup.py index e05caa6..9d94fe7 100644 --- a/setup.py +++ b/setup.py @@ -22,14 +22,14 @@ name = "google-cloud-billing-budgets" description = "Cloud Billing Budget API API client library" -version = "1.6.0" +version = "1.6.1" release_status = "Development Status :: 5 - Production/Stable" dependencies = [ # NOTE: Maintainers, please do not require google-api-core>=2.x.x # Until this issue is closed # https://github.com/googleapis/google-cloud-python/issues/10566 - "google-api-core[grpc] >= 1.28.0, <3.0.0dev", - "proto-plus >= 1.10.0", + "google-api-core[grpc] >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0", + "proto-plus >= 1.15.0", ] extras = {"libcst": "libcst >= 0.2.5"} diff --git a/testing/constraints-3.6.txt b/testing/constraints-3.6.txt index 4af7e2d..9f829f6 100644 --- a/testing/constraints-3.6.txt +++ b/testing/constraints-3.6.txt @@ -5,6 +5,6 @@ # # e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", # Then this file should have foo==1.14.0 -google-api-core==1.28.0 -proto-plus==1.10.0 +google-api-core==1.31.5 +proto-plus==1.15.0 libcst==0.2.5 diff --git a/tests/__init__.py b/tests/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/unit/__init__.py +++ b/tests/unit/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/__init__.py b/tests/unit/gapic/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/unit/gapic/__init__.py +++ b/tests/unit/gapic/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/budgets_v1/__init__.py b/tests/unit/gapic/budgets_v1/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/unit/gapic/budgets_v1/__init__.py +++ b/tests/unit/gapic/budgets_v1/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/budgets_v1/test_budget_service.py b/tests/unit/gapic/budgets_v1/test_budget_service.py index e0a655c..537d32c 100644 --- a/tests/unit/gapic/budgets_v1/test_budget_service.py +++ b/tests/unit/gapic/budgets_v1/test_budget_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/budgets_v1beta1/__init__.py b/tests/unit/gapic/budgets_v1beta1/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/unit/gapic/budgets_v1beta1/__init__.py +++ b/tests/unit/gapic/budgets_v1beta1/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/budgets_v1beta1/test_budget_service.py b/tests/unit/gapic/budgets_v1beta1/test_budget_service.py index 23ddfa4..01a0044 100644 --- a/tests/unit/gapic/budgets_v1beta1/test_budget_service.py +++ b/tests/unit/gapic/budgets_v1beta1/test_budget_service.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.