diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 39ad3ce..44c78f7 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:d22cd2ddce65fdac6986f115563faf2fc81482b09dfbea83ac2808c92ecfdff0 + 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 fa3b84d..d1143f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.2.2](https://github.com/googleapis/python-binary-authorization/compare/v1.2.1...v1.2.2) (2022-03-05) + + +### Bug Fixes + +* **deps:** require google-api-core>=1.31.5, >=2.3.2 ([#126](https://github.com/googleapis/python-binary-authorization/issues/126)) ([2b7e982](https://github.com/googleapis/python-binary-authorization/commit/2b7e982e09b85570af842acba3ca6c48831a49e2)) + ### [1.2.1](https://github.com/googleapis/python-binary-authorization/compare/v1.2.0...v1.2.1) (2022-02-11) diff --git a/google/cloud/binaryauthorization/__init__.py b/google/cloud/binaryauthorization/__init__.py index b480307..daddba4 100644 --- a/google/cloud/binaryauthorization/__init__.py +++ b/google/cloud/binaryauthorization/__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/binaryauthorization_v1/__init__.py b/google/cloud/binaryauthorization_v1/__init__.py index c26f179..feb79fb 100644 --- a/google/cloud/binaryauthorization_v1/__init__.py +++ b/google/cloud/binaryauthorization_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/binaryauthorization_v1/services/__init__.py b/google/cloud/binaryauthorization_v1/services/__init__.py index 4de6597..e8e1c38 100644 --- a/google/cloud/binaryauthorization_v1/services/__init__.py +++ b/google/cloud/binaryauthorization_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/binaryauthorization_v1/services/binauthz_management_service_v1/__init__.py b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/__init__.py index 0cb1382..cb4f207 100644 --- a/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/__init__.py +++ b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_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/binaryauthorization_v1/services/binauthz_management_service_v1/async_client.py b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/async_client.py index 387715e..87a44fb 100644 --- a/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/async_client.py +++ b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/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. @@ -248,7 +248,7 @@ async def get_policy( project does not have one. - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 @@ -357,7 +357,7 @@ async def update_policy( request is malformed. - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 @@ -477,7 +477,7 @@ async def create_attestor( already exists. - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 @@ -602,7 +602,7 @@ async def get_attestor( not exist. - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 @@ -709,7 +709,7 @@ async def update_attestor( not exist. - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 @@ -822,7 +822,7 @@ async def list_attestors( Returns INVALID_ARGUMENT if the project does not exist. - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 @@ -939,7 +939,7 @@ async def delete_attestor( not exist. - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 diff --git a/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/client.py b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/client.py index 33b4ce2..bf06a79 100644 --- a/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/client.py +++ b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/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. @@ -446,8 +446,7 @@ def get_policy( project does not have one. - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 @@ -546,8 +545,7 @@ def update_policy( request is malformed. - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 @@ -657,8 +655,7 @@ def create_attestor( already exists. - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 @@ -783,8 +780,7 @@ def get_attestor( not exist. - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 @@ -881,8 +877,7 @@ def update_attestor( not exist. - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 @@ -985,8 +980,7 @@ def list_attestors( Returns INVALID_ARGUMENT if the project does not exist. - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 @@ -1093,8 +1087,7 @@ def delete_attestor( not exist. - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 diff --git a/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/pagers.py b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/pagers.py index e32c1de..8bf9786 100644 --- a/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/pagers.py +++ b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/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/binaryauthorization_v1/services/binauthz_management_service_v1/transports/__init__.py b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/transports/__init__.py index 444c09e..f5730ee 100644 --- a/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/transports/__init__.py +++ b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/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/binaryauthorization_v1/services/binauthz_management_service_v1/transports/base.py b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/transports/base.py index 76a8268..8ca9c25 100644 --- a/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/transports/base.py +++ b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/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/binaryauthorization_v1/services/binauthz_management_service_v1/transports/grpc.py b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/transports/grpc.py index 6fc5a12..aaa204c 100644 --- a/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/transports/grpc.py +++ b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/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/binaryauthorization_v1/services/binauthz_management_service_v1/transports/grpc_asyncio.py b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/transports/grpc_asyncio.py index bd32619..d43bb45 100644 --- a/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/transports/grpc_asyncio.py +++ b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/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/binaryauthorization_v1/services/system_policy_v1/__init__.py b/google/cloud/binaryauthorization_v1/services/system_policy_v1/__init__.py index 0d527b7..9d04ee9 100644 --- a/google/cloud/binaryauthorization_v1/services/system_policy_v1/__init__.py +++ b/google/cloud/binaryauthorization_v1/services/system_policy_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/binaryauthorization_v1/services/system_policy_v1/async_client.py b/google/cloud/binaryauthorization_v1/services/system_policy_v1/async_client.py index 9fc18f2..13997b9 100644 --- a/google/cloud/binaryauthorization_v1/services/system_policy_v1/async_client.py +++ b/google/cloud/binaryauthorization_v1/services/system_policy_v1/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. @@ -216,7 +216,7 @@ async def get_system_policy( location. - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 diff --git a/google/cloud/binaryauthorization_v1/services/system_policy_v1/client.py b/google/cloud/binaryauthorization_v1/services/system_policy_v1/client.py index d8f6d78..e8f4d10 100644 --- a/google/cloud/binaryauthorization_v1/services/system_policy_v1/client.py +++ b/google/cloud/binaryauthorization_v1/services/system_policy_v1/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. @@ -408,8 +408,7 @@ def get_system_policy( location. - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 diff --git a/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/__init__.py b/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/__init__.py index bc3c745..991750c 100644 --- a/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/__init__.py +++ b/google/cloud/binaryauthorization_v1/services/system_policy_v1/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/binaryauthorization_v1/services/system_policy_v1/transports/base.py b/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/base.py index 70448e1..cdaedf4 100644 --- a/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/base.py +++ b/google/cloud/binaryauthorization_v1/services/system_policy_v1/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/binaryauthorization_v1/services/system_policy_v1/transports/grpc.py b/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/grpc.py index 56c8d40..7706211 100644 --- a/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/grpc.py +++ b/google/cloud/binaryauthorization_v1/services/system_policy_v1/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/binaryauthorization_v1/services/system_policy_v1/transports/grpc_asyncio.py b/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/grpc_asyncio.py index 646b1f3..0a4cb24 100644 --- a/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/grpc_asyncio.py +++ b/google/cloud/binaryauthorization_v1/services/system_policy_v1/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/binaryauthorization_v1/services/validation_helper_v1/__init__.py b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/__init__.py index 0f6d61a..699db16 100644 --- a/google/cloud/binaryauthorization_v1/services/validation_helper_v1/__init__.py +++ b/google/cloud/binaryauthorization_v1/services/validation_helper_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/binaryauthorization_v1/services/validation_helper_v1/async_client.py b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/async_client.py index 8d9a2b0..9858b14 100644 --- a/google/cloud/binaryauthorization_v1/services/validation_helper_v1/async_client.py +++ b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/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. @@ -212,7 +212,7 @@ async def validate_attestation_occurrence( image URI was signed by the given Attestor - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 diff --git a/google/cloud/binaryauthorization_v1/services/validation_helper_v1/client.py b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/client.py index 3200756..554605d 100644 --- a/google/cloud/binaryauthorization_v1/services/validation_helper_v1/client.py +++ b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/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. @@ -396,8 +396,7 @@ def validate_attestation_occurrence( image URI was signed by the given Attestor - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1 diff --git a/google/cloud/binaryauthorization_v1/services/validation_helper_v1/transports/__init__.py b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/transports/__init__.py index a280567..22a9059 100644 --- a/google/cloud/binaryauthorization_v1/services/validation_helper_v1/transports/__init__.py +++ b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/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/binaryauthorization_v1/services/validation_helper_v1/transports/base.py b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/transports/base.py index 6eab85c..5268466 100644 --- a/google/cloud/binaryauthorization_v1/services/validation_helper_v1/transports/base.py +++ b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/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/binaryauthorization_v1/services/validation_helper_v1/transports/grpc.py b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/transports/grpc.py index ad6cc37..ef1c5f6 100644 --- a/google/cloud/binaryauthorization_v1/services/validation_helper_v1/transports/grpc.py +++ b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/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/binaryauthorization_v1/services/validation_helper_v1/transports/grpc_asyncio.py b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/transports/grpc_asyncio.py index 1699853..bd16156 100644 --- a/google/cloud/binaryauthorization_v1/services/validation_helper_v1/transports/grpc_asyncio.py +++ b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/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/binaryauthorization_v1/types/__init__.py b/google/cloud/binaryauthorization_v1/types/__init__.py index c682ebc..82de34f 100644 --- a/google/cloud/binaryauthorization_v1/types/__init__.py +++ b/google/cloud/binaryauthorization_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/binaryauthorization_v1/types/resources.py b/google/cloud/binaryauthorization_v1/types/resources.py index e1628cb..7838f10 100644 --- a/google/cloud/binaryauthorization_v1/types/resources.py +++ b/google/cloud/binaryauthorization_v1/types/resources.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/binaryauthorization_v1/types/service.py b/google/cloud/binaryauthorization_v1/types/service.py index 67832b7..b1a8640 100644 --- a/google/cloud/binaryauthorization_v1/types/service.py +++ b/google/cloud/binaryauthorization_v1/types/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/binaryauthorization_v1beta1/__init__.py b/google/cloud/binaryauthorization_v1beta1/__init__.py index 40c2c2b..22b6788 100644 --- a/google/cloud/binaryauthorization_v1beta1/__init__.py +++ b/google/cloud/binaryauthorization_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/binaryauthorization_v1beta1/services/__init__.py b/google/cloud/binaryauthorization_v1beta1/services/__init__.py index 4de6597..e8e1c38 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/__init__.py +++ b/google/cloud/binaryauthorization_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/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/__init__.py b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/__init__.py index e133615..6e7af7c 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/__init__.py +++ b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/__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/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/async_client.py b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/async_client.py index a7f2761..51eb8e0 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/async_client.py +++ b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/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. @@ -257,7 +257,7 @@ async def get_policy( project does not have one. - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1beta1 @@ -367,7 +367,7 @@ async def update_policy( INVALID_ARGUMENT if the request is malformed. - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1beta1 @@ -489,7 +489,7 @@ async def create_attestor( already exists. - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1beta1 @@ -614,7 +614,7 @@ async def get_attestor( does not exist. - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1beta1 @@ -721,7 +721,7 @@ async def update_attestor( does not exist. - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1beta1 @@ -835,7 +835,7 @@ async def list_attestors( Returns INVALID_ARGUMENT if the project does not exist. - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1beta1 @@ -952,7 +952,7 @@ async def delete_attestor( does not exist. - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1beta1 diff --git a/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/client.py b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/client.py index ba26f96..7e2a9fa 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/client.py +++ b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/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. @@ -453,8 +453,7 @@ def get_policy( project does not have one. - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1beta1 @@ -554,8 +553,7 @@ def update_policy( INVALID_ARGUMENT if the request is malformed. - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1beta1 @@ -667,8 +665,7 @@ def create_attestor( already exists. - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1beta1 @@ -793,8 +790,7 @@ def get_attestor( does not exist. - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1beta1 @@ -891,8 +887,7 @@ def update_attestor( does not exist. - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1beta1 @@ -996,8 +991,7 @@ def list_attestors( Returns INVALID_ARGUMENT if the project does not exist. - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1beta1 @@ -1104,8 +1098,7 @@ def delete_attestor( does not exist. - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1beta1 diff --git a/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/pagers.py b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/pagers.py index 81a7ae4..cc8d97b 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/pagers.py +++ b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/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/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/__init__.py b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/__init__.py index bf3c24d..19d288a 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/__init__.py +++ b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/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/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/base.py b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/base.py index 9e68259..dd724ae 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/base.py +++ b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/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/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/grpc.py b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/grpc.py index 8c246b1..f89bb42 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/grpc.py +++ b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/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/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/grpc_asyncio.py b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/grpc_asyncio.py index 00cce20..cb4a5cc 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/grpc_asyncio.py +++ b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/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/binaryauthorization_v1beta1/services/system_policy_v1_beta1/__init__.py b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/__init__.py index f56960f..a248343 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/__init__.py +++ b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/__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/binaryauthorization_v1beta1/services/system_policy_v1_beta1/async_client.py b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/async_client.py index 39c4e79..c5319ae 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/async_client.py +++ b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/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. @@ -217,7 +217,7 @@ async def get_system_policy( location. - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1beta1 diff --git a/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/client.py b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/client.py index f8ef374..9195fca 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/client.py +++ b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/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. @@ -410,8 +410,7 @@ def get_system_policy( location. - - .. code-block:: + .. code-block:: python from google.cloud import binaryauthorization_v1beta1 diff --git a/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/__init__.py b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/__init__.py index 75e13a4..ee82c9f 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/__init__.py +++ b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/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/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/base.py b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/base.py index ec49c46..c770144 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/base.py +++ b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/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/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/grpc.py b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/grpc.py index ab71598..0d5d12a 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/grpc.py +++ b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/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/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/grpc_asyncio.py b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/grpc_asyncio.py index 6998929..73b522a 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/grpc_asyncio.py +++ b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/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/binaryauthorization_v1beta1/types/__init__.py b/google/cloud/binaryauthorization_v1beta1/types/__init__.py index 2ccdf4c..30b8ea4 100644 --- a/google/cloud/binaryauthorization_v1beta1/types/__init__.py +++ b/google/cloud/binaryauthorization_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/binaryauthorization_v1beta1/types/continuous_validation_logging.py b/google/cloud/binaryauthorization_v1beta1/types/continuous_validation_logging.py index e6cecd7..d197207 100644 --- a/google/cloud/binaryauthorization_v1beta1/types/continuous_validation_logging.py +++ b/google/cloud/binaryauthorization_v1beta1/types/continuous_validation_logging.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/binaryauthorization_v1beta1/types/resources.py b/google/cloud/binaryauthorization_v1beta1/types/resources.py index 92bc75d..7b57bbc 100644 --- a/google/cloud/binaryauthorization_v1beta1/types/resources.py +++ b/google/cloud/binaryauthorization_v1beta1/types/resources.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/binaryauthorization_v1beta1/types/service.py b/google/cloud/binaryauthorization_v1beta1/types/service.py index e415efc..44fb077 100644 --- a/google/cloud/binaryauthorization_v1beta1/types/service.py +++ b/google/cloud/binaryauthorization_v1beta1/types/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/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_create_attestor_async.py b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_create_attestor_async.py similarity index 86% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_create_attestor_async.py rename to samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_create_attestor_async.py index de267a6..6e76c02 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_create_attestor_async.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_create_attestor_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_CreateAttestor_async] +# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_async] from google.cloud import binaryauthorization_v1 @@ -48,4 +48,4 @@ async def sample_create_attestor(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_CreateAttestor_async] +# [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_create_attestor_sync.py b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_create_attestor_sync.py similarity index 86% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_create_attestor_sync.py rename to samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_create_attestor_sync.py index bf2943b..02dd1eb 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_create_attestor_sync.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_create_attestor_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_CreateAttestor_sync] +# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_sync] from google.cloud import binaryauthorization_v1 @@ -48,4 +48,4 @@ def sample_create_attestor(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_CreateAttestor_sync] +# [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_sync] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_delete_attestor_async.py b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_delete_attestor_async.py similarity index 83% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_delete_attestor_async.py rename to samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_delete_attestor_async.py index e637f68..e8b092d 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_delete_attestor_async.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_delete_attestor_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_DeleteAttestor_async] +# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_async] from google.cloud import binaryauthorization_v1 @@ -40,4 +40,4 @@ async def sample_delete_attestor(): await client.delete_attestor(request=request) -# [END binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_DeleteAttestor_async] +# [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_delete_attestor_sync.py b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_delete_attestor_sync.py similarity index 83% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_delete_attestor_sync.py rename to samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_delete_attestor_sync.py index 7621791..a63ce0f 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_delete_attestor_sync.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_delete_attestor_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_DeleteAttestor_sync] +# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_sync] from google.cloud import binaryauthorization_v1 @@ -40,4 +40,4 @@ def sample_delete_attestor(): client.delete_attestor(request=request) -# [END binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_DeleteAttestor_sync] +# [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_sync] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_get_attestor_async.py b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_get_attestor_async.py similarity index 84% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_get_attestor_async.py rename to samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_get_attestor_async.py index 5e3867e..73d1141 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_get_attestor_async.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_get_attestor_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_GetAttestor_async] +# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_async] from google.cloud import binaryauthorization_v1 @@ -42,4 +42,4 @@ async def sample_get_attestor(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_GetAttestor_async] +# [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_get_attestor_sync.py b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_get_attestor_sync.py similarity index 84% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_get_attestor_sync.py rename to samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_get_attestor_sync.py index 54883c7..601f7fc 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_get_attestor_sync.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_get_attestor_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_GetAttestor_sync] +# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_sync] from google.cloud import binaryauthorization_v1 @@ -42,4 +42,4 @@ def sample_get_attestor(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_GetAttestor_sync] +# [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_sync] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_get_policy_async.py b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_get_policy_async.py similarity index 84% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_get_policy_async.py rename to samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_get_policy_async.py index a883c5d..29ecf96 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_get_policy_async.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_get_policy_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_GetPolicy_async] +# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_async] from google.cloud import binaryauthorization_v1 @@ -42,4 +42,4 @@ async def sample_get_policy(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_GetPolicy_async] +# [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_get_policy_sync.py b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_get_policy_sync.py similarity index 84% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_get_policy_sync.py rename to samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_get_policy_sync.py index 1b854cd..a18f16b 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_get_policy_sync.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_get_policy_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_GetPolicy_sync] +# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_sync] from google.cloud import binaryauthorization_v1 @@ -42,4 +42,4 @@ def sample_get_policy(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_GetPolicy_sync] +# [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_sync] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_list_attestors_async.py b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_list_attestors_async.py similarity index 85% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_list_attestors_async.py rename to samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_list_attestors_async.py index 765725f..b83710c 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_list_attestors_async.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_list_attestors_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_ListAttestors_async] +# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_async] from google.cloud import binaryauthorization_v1 @@ -43,4 +43,4 @@ async def sample_list_attestors(): async for response in page_result: print(response) -# [END binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_ListAttestors_async] +# [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_list_attestors_sync.py b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_list_attestors_sync.py similarity index 84% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_list_attestors_sync.py rename to samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_list_attestors_sync.py index e58ea93..6934946 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_list_attestors_sync.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_list_attestors_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_ListAttestors_sync] +# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_sync] from google.cloud import binaryauthorization_v1 @@ -43,4 +43,4 @@ def sample_list_attestors(): for response in page_result: print(response) -# [END binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_ListAttestors_sync] +# [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_sync] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_update_attestor_async.py b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_update_attestor_async.py similarity index 85% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_update_attestor_async.py rename to samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_update_attestor_async.py index a8c05ad..f845fd9 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_update_attestor_async.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_update_attestor_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_UpdateAttestor_async] +# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_async] from google.cloud import binaryauthorization_v1 @@ -46,4 +46,4 @@ async def sample_update_attestor(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_UpdateAttestor_async] +# [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_update_attestor_sync.py b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_update_attestor_sync.py similarity index 85% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_update_attestor_sync.py rename to samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_update_attestor_sync.py index f9f552c..a397fe1 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_update_attestor_sync.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_update_attestor_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_UpdateAttestor_sync] +# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_sync] from google.cloud import binaryauthorization_v1 @@ -46,4 +46,4 @@ def sample_update_attestor(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_UpdateAttestor_sync] +# [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_sync] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_update_policy_async.py b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_update_policy_async.py similarity index 86% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_update_policy_async.py rename to samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_update_policy_async.py index 93552fd..7809ecc 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_update_policy_async.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_update_policy_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_UpdatePolicy_async] +# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_async] from google.cloud import binaryauthorization_v1 @@ -46,4 +46,4 @@ async def sample_update_policy(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_UpdatePolicy_async] +# [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_update_policy_sync.py b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_update_policy_sync.py similarity index 86% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_update_policy_sync.py rename to samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_update_policy_sync.py index 919ebe8..e99d254 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_update_policy_sync.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_binauthz_management_service_v1_update_policy_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_UpdatePolicy_sync] +# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_sync] from google.cloud import binaryauthorization_v1 @@ -46,4 +46,4 @@ def sample_update_policy(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_UpdatePolicy_sync] +# [END binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_sync] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_system_policy_v1_get_system_policy_async.py b/samples/generated_samples/binaryauthorization_v1_generated_system_policy_v1_get_system_policy_async.py similarity index 85% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_system_policy_v1_get_system_policy_async.py rename to samples/generated_samples/binaryauthorization_v1_generated_system_policy_v1_get_system_policy_async.py index f0ed424..d3961a4 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_system_policy_v1_get_system_policy_async.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_system_policy_v1_get_system_policy_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_SystemPolicyV1_GetSystemPolicy_async] +# [START binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_async] from google.cloud import binaryauthorization_v1 @@ -42,4 +42,4 @@ async def sample_get_system_policy(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1_SystemPolicyV1_GetSystemPolicy_async] +# [END binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_system_policy_v1_get_system_policy_sync.py b/samples/generated_samples/binaryauthorization_v1_generated_system_policy_v1_get_system_policy_sync.py similarity index 85% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_system_policy_v1_get_system_policy_sync.py rename to samples/generated_samples/binaryauthorization_v1_generated_system_policy_v1_get_system_policy_sync.py index f1ffbd0..851c4a9 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_system_policy_v1_get_system_policy_sync.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_system_policy_v1_get_system_policy_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_SystemPolicyV1_GetSystemPolicy_sync] +# [START binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_sync] from google.cloud import binaryauthorization_v1 @@ -42,4 +42,4 @@ def sample_get_system_policy(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1_SystemPolicyV1_GetSystemPolicy_sync] +# [END binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_sync] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_validation_helper_v1_validate_attestation_occurrence_async.py b/samples/generated_samples/binaryauthorization_v1_generated_validation_helper_v1_validate_attestation_occurrence_async.py similarity index 85% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_validation_helper_v1_validate_attestation_occurrence_async.py rename to samples/generated_samples/binaryauthorization_v1_generated_validation_helper_v1_validate_attestation_occurrence_async.py index 8cd459e..bf55270 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_validation_helper_v1_validate_attestation_occurrence_async.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_validation_helper_v1_validate_attestation_occurrence_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_ValidationHelperV1_ValidateAttestationOccurrence_async] +# [START binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_async] from google.cloud import binaryauthorization_v1 @@ -44,4 +44,4 @@ async def sample_validate_attestation_occurrence(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1_ValidationHelperV1_ValidateAttestationOccurrence_async] +# [END binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_validation_helper_v1_validate_attestation_occurrence_sync.py b/samples/generated_samples/binaryauthorization_v1_generated_validation_helper_v1_validate_attestation_occurrence_sync.py similarity index 85% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_validation_helper_v1_validate_attestation_occurrence_sync.py rename to samples/generated_samples/binaryauthorization_v1_generated_validation_helper_v1_validate_attestation_occurrence_sync.py index 8ba7df0..c84b01a 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1_validation_helper_v1_validate_attestation_occurrence_sync.py +++ b/samples/generated_samples/binaryauthorization_v1_generated_validation_helper_v1_validate_attestation_occurrence_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1_ValidationHelperV1_ValidateAttestationOccurrence_sync] +# [START binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_sync] from google.cloud import binaryauthorization_v1 @@ -44,4 +44,4 @@ def sample_validate_attestation_occurrence(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1_ValidationHelperV1_ValidateAttestationOccurrence_sync] +# [END binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_sync] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_create_attestor_async.py b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_create_attestor_async.py similarity index 85% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_create_attestor_async.py rename to samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_create_attestor_async.py index fa78d6e..4e5d103 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_create_attestor_async.py +++ b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_create_attestor_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_CreateAttestor_async] +# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_async] from google.cloud import binaryauthorization_v1beta1 @@ -48,4 +48,4 @@ async def sample_create_attestor(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_CreateAttestor_async] +# [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_create_attestor_sync.py b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_create_attestor_sync.py similarity index 85% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_create_attestor_sync.py rename to samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_create_attestor_sync.py index c0a506a..e38a483 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_create_attestor_sync.py +++ b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_create_attestor_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_CreateAttestor_sync] +# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_sync] from google.cloud import binaryauthorization_v1beta1 @@ -48,4 +48,4 @@ def sample_create_attestor(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_CreateAttestor_sync] +# [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_sync] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_delete_attestor_async.py b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_delete_attestor_async.py similarity index 83% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_delete_attestor_async.py rename to samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_delete_attestor_async.py index ac60091..c3a709e 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_delete_attestor_async.py +++ b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_delete_attestor_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_DeleteAttestor_async] +# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_async] from google.cloud import binaryauthorization_v1beta1 @@ -40,4 +40,4 @@ async def sample_delete_attestor(): await client.delete_attestor(request=request) -# [END binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_DeleteAttestor_async] +# [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_delete_attestor_sync.py b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_delete_attestor_sync.py similarity index 83% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_delete_attestor_sync.py rename to samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_delete_attestor_sync.py index 5faffc3..3fa5166 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_delete_attestor_sync.py +++ b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_delete_attestor_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_DeleteAttestor_sync] +# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_sync] from google.cloud import binaryauthorization_v1beta1 @@ -40,4 +40,4 @@ def sample_delete_attestor(): client.delete_attestor(request=request) -# [END binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_DeleteAttestor_sync] +# [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_sync] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_get_attestor_async.py b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_get_attestor_async.py similarity index 83% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_get_attestor_async.py rename to samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_get_attestor_async.py index 0a88db1..55a24d3 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_get_attestor_async.py +++ b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_get_attestor_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_GetAttestor_async] +# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_async] from google.cloud import binaryauthorization_v1beta1 @@ -42,4 +42,4 @@ async def sample_get_attestor(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_GetAttestor_async] +# [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_get_attestor_sync.py b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_get_attestor_sync.py similarity index 83% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_get_attestor_sync.py rename to samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_get_attestor_sync.py index 7a0616c..e000f4f 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_get_attestor_sync.py +++ b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_get_attestor_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_GetAttestor_sync] +# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_sync] from google.cloud import binaryauthorization_v1beta1 @@ -42,4 +42,4 @@ def sample_get_attestor(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_GetAttestor_sync] +# [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_sync] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_get_policy_async.py b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_get_policy_async.py similarity index 84% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_get_policy_async.py rename to samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_get_policy_async.py index 0dbed45..67d9927 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_get_policy_async.py +++ b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_get_policy_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_GetPolicy_async] +# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_async] from google.cloud import binaryauthorization_v1beta1 @@ -42,4 +42,4 @@ async def sample_get_policy(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_GetPolicy_async] +# [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_get_policy_sync.py b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_get_policy_sync.py similarity index 83% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_get_policy_sync.py rename to samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_get_policy_sync.py index e6b3b34..91c49c8 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_get_policy_sync.py +++ b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_get_policy_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_GetPolicy_sync] +# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_sync] from google.cloud import binaryauthorization_v1beta1 @@ -42,4 +42,4 @@ def sample_get_policy(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_GetPolicy_sync] +# [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_sync] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_list_attestors_async.py b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_list_attestors_async.py similarity index 84% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_list_attestors_async.py rename to samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_list_attestors_async.py index 7ed88e4..b5e8dd0 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_list_attestors_async.py +++ b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_list_attestors_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_ListAttestors_async] +# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_async] from google.cloud import binaryauthorization_v1beta1 @@ -43,4 +43,4 @@ async def sample_list_attestors(): async for response in page_result: print(response) -# [END binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_ListAttestors_async] +# [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_list_attestors_sync.py b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_list_attestors_sync.py similarity index 84% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_list_attestors_sync.py rename to samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_list_attestors_sync.py index 142b452..ee45858 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_list_attestors_sync.py +++ b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_list_attestors_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_ListAttestors_sync] +# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_sync] from google.cloud import binaryauthorization_v1beta1 @@ -43,4 +43,4 @@ def sample_list_attestors(): for response in page_result: print(response) -# [END binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_ListAttestors_sync] +# [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_sync] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_update_attestor_async.py b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_update_attestor_async.py similarity index 85% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_update_attestor_async.py rename to samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_update_attestor_async.py index 502ede9..9554139 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_update_attestor_async.py +++ b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_update_attestor_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_UpdateAttestor_async] +# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_async] from google.cloud import binaryauthorization_v1beta1 @@ -46,4 +46,4 @@ async def sample_update_attestor(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_UpdateAttestor_async] +# [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_update_attestor_sync.py b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_update_attestor_sync.py similarity index 85% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_update_attestor_sync.py rename to samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_update_attestor_sync.py index 96cdd3a..81b914b 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_update_attestor_sync.py +++ b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_update_attestor_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_UpdateAttestor_sync] +# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_sync] from google.cloud import binaryauthorization_v1beta1 @@ -46,4 +46,4 @@ def sample_update_attestor(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_UpdateAttestor_sync] +# [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_sync] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_update_policy_async.py b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_update_policy_async.py similarity index 85% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_update_policy_async.py rename to samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_update_policy_async.py index 96bec06..21470a1 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_update_policy_async.py +++ b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_update_policy_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_UpdatePolicy_async] +# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_async] from google.cloud import binaryauthorization_v1beta1 @@ -46,4 +46,4 @@ async def sample_update_policy(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_UpdatePolicy_async] +# [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_update_policy_sync.py b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_update_policy_sync.py similarity index 85% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_update_policy_sync.py rename to samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_update_policy_sync.py index 9569014..f2604ea 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_update_policy_sync.py +++ b/samples/generated_samples/binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_update_policy_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_UpdatePolicy_sync] +# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_sync] from google.cloud import binaryauthorization_v1beta1 @@ -46,4 +46,4 @@ def sample_update_policy(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_UpdatePolicy_sync] +# [END binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_sync] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_system_policy_v1_beta1_get_system_policy_async.py b/samples/generated_samples/binaryauthorization_v1beta1_generated_system_policy_v1_beta1_get_system_policy_async.py similarity index 84% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_system_policy_v1_beta1_get_system_policy_async.py rename to samples/generated_samples/binaryauthorization_v1beta1_generated_system_policy_v1_beta1_get_system_policy_async.py index 1cb3670..a2a2f5d 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_system_policy_v1_beta1_get_system_policy_async.py +++ b/samples/generated_samples/binaryauthorization_v1beta1_generated_system_policy_v1_beta1_get_system_policy_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1beta1_SystemPolicyV1Beta1_GetSystemPolicy_async] +# [START binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_async] from google.cloud import binaryauthorization_v1beta1 @@ -42,4 +42,4 @@ async def sample_get_system_policy(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1beta1_SystemPolicyV1Beta1_GetSystemPolicy_async] +# [END binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_async] diff --git a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_system_policy_v1_beta1_get_system_policy_sync.py b/samples/generated_samples/binaryauthorization_v1beta1_generated_system_policy_v1_beta1_get_system_policy_sync.py similarity index 84% rename from samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_system_policy_v1_beta1_get_system_policy_sync.py rename to samples/generated_samples/binaryauthorization_v1beta1_generated_system_policy_v1_beta1_get_system_policy_sync.py index e4f92db..ea91ec5 100644 --- a/samples/generated_samples/binaryauthorization_generated_binaryauthorization_v1beta1_system_policy_v1_beta1_get_system_policy_sync.py +++ b/samples/generated_samples/binaryauthorization_v1beta1_generated_system_policy_v1_beta1_get_system_policy_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-binaryauthorization -# [START binaryauthorization_generated_binaryauthorization_v1beta1_SystemPolicyV1Beta1_GetSystemPolicy_sync] +# [START binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_sync] from google.cloud import binaryauthorization_v1beta1 @@ -42,4 +42,4 @@ def sample_get_system_policy(): # Handle the response print(response) -# [END binaryauthorization_generated_binaryauthorization_v1beta1_SystemPolicyV1Beta1_GetSystemPolicy_sync] +# [END binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_sync] diff --git a/samples/generated_samples/snippet_metadata_binaryauthorization_v1.json b/samples/generated_samples/snippet_metadata_binaryauthorization_v1.json index c83c420..5f748e4 100644 --- a/samples/generated_samples/snippet_metadata_binaryauthorization_v1.json +++ b/samples/generated_samples/snippet_metadata_binaryauthorization_v1.json @@ -10,8 +10,8 @@ "shortName": "CreateAttestor" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_create_attestor_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_CreateAttestor_async", + "file": "binaryauthorization_v1_generated_binauthz_management_service_v1_create_attestor_async.py", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_async", "segments": [ { "end": 50, @@ -54,8 +54,8 @@ "shortName": "CreateAttestor" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_create_attestor_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_CreateAttestor_sync", + "file": "binaryauthorization_v1_generated_binauthz_management_service_v1_create_attestor_sync.py", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_sync", "segments": [ { "end": 50, @@ -99,8 +99,8 @@ "shortName": "DeleteAttestor" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_delete_attestor_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_DeleteAttestor_async", + "file": "binaryauthorization_v1_generated_binauthz_management_service_v1_delete_attestor_async.py", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_async", "segments": [ { "end": 42, @@ -141,8 +141,8 @@ "shortName": "DeleteAttestor" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_delete_attestor_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_DeleteAttestor_sync", + "file": "binaryauthorization_v1_generated_binauthz_management_service_v1_delete_attestor_sync.py", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_sync", "segments": [ { "end": 42, @@ -184,8 +184,8 @@ "shortName": "GetAttestor" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_get_attestor_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_GetAttestor_async", + "file": "binaryauthorization_v1_generated_binauthz_management_service_v1_get_attestor_async.py", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_async", "segments": [ { "end": 44, @@ -228,8 +228,8 @@ "shortName": "GetAttestor" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_get_attestor_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_GetAttestor_sync", + "file": "binaryauthorization_v1_generated_binauthz_management_service_v1_get_attestor_sync.py", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_sync", "segments": [ { "end": 44, @@ -273,8 +273,8 @@ "shortName": "GetPolicy" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_get_policy_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_GetPolicy_async", + "file": "binaryauthorization_v1_generated_binauthz_management_service_v1_get_policy_async.py", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_async", "segments": [ { "end": 44, @@ -317,8 +317,8 @@ "shortName": "GetPolicy" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_get_policy_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_GetPolicy_sync", + "file": "binaryauthorization_v1_generated_binauthz_management_service_v1_get_policy_sync.py", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_sync", "segments": [ { "end": 44, @@ -362,8 +362,8 @@ "shortName": "ListAttestors" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_list_attestors_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_ListAttestors_async", + "file": "binaryauthorization_v1_generated_binauthz_management_service_v1_list_attestors_async.py", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_async", "segments": [ { "end": 45, @@ -406,8 +406,8 @@ "shortName": "ListAttestors" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_list_attestors_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_ListAttestors_sync", + "file": "binaryauthorization_v1_generated_binauthz_management_service_v1_list_attestors_sync.py", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_sync", "segments": [ { "end": 45, @@ -451,8 +451,8 @@ "shortName": "UpdateAttestor" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_update_attestor_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_UpdateAttestor_async", + "file": "binaryauthorization_v1_generated_binauthz_management_service_v1_update_attestor_async.py", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_async", "segments": [ { "end": 48, @@ -495,8 +495,8 @@ "shortName": "UpdateAttestor" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_update_attestor_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_UpdateAttestor_sync", + "file": "binaryauthorization_v1_generated_binauthz_management_service_v1_update_attestor_sync.py", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_sync", "segments": [ { "end": 48, @@ -540,8 +540,8 @@ "shortName": "UpdatePolicy" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_update_policy_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_UpdatePolicy_async", + "file": "binaryauthorization_v1_generated_binauthz_management_service_v1_update_policy_async.py", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_async", "segments": [ { "end": 48, @@ -584,8 +584,8 @@ "shortName": "UpdatePolicy" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_binauthz_management_service_v1_update_policy_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_BinauthzManagementServiceV1_UpdatePolicy_sync", + "file": "binaryauthorization_v1_generated_binauthz_management_service_v1_update_policy_sync.py", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_sync", "segments": [ { "end": 48, @@ -629,8 +629,8 @@ "shortName": "GetSystemPolicy" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_system_policy_v1_get_system_policy_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_SystemPolicyV1_GetSystemPolicy_async", + "file": "binaryauthorization_v1_generated_system_policy_v1_get_system_policy_async.py", + "regionTag": "binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_async", "segments": [ { "end": 44, @@ -673,8 +673,8 @@ "shortName": "GetSystemPolicy" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_system_policy_v1_get_system_policy_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_SystemPolicyV1_GetSystemPolicy_sync", + "file": "binaryauthorization_v1_generated_system_policy_v1_get_system_policy_sync.py", + "regionTag": "binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_sync", "segments": [ { "end": 44, @@ -718,8 +718,8 @@ "shortName": "ValidateAttestationOccurrence" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_validation_helper_v1_validate_attestation_occurrence_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_ValidationHelperV1_ValidateAttestationOccurrence_async", + "file": "binaryauthorization_v1_generated_validation_helper_v1_validate_attestation_occurrence_async.py", + "regionTag": "binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_async", "segments": [ { "end": 46, @@ -762,8 +762,8 @@ "shortName": "ValidateAttestationOccurrence" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1_validation_helper_v1_validate_attestation_occurrence_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1_ValidationHelperV1_ValidateAttestationOccurrence_sync", + "file": "binaryauthorization_v1_generated_validation_helper_v1_validate_attestation_occurrence_sync.py", + "regionTag": "binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_sync", "segments": [ { "end": 46, diff --git a/samples/generated_samples/snippet_metadata_binaryauthorization_v1beta1.json b/samples/generated_samples/snippet_metadata_binaryauthorization_v1beta1.json index 1e7f06d..b42f297 100644 --- a/samples/generated_samples/snippet_metadata_binaryauthorization_v1beta1.json +++ b/samples/generated_samples/snippet_metadata_binaryauthorization_v1beta1.json @@ -10,8 +10,8 @@ "shortName": "CreateAttestor" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_create_attestor_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_CreateAttestor_async", + "file": "binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_create_attestor_async.py", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_async", "segments": [ { "end": 50, @@ -54,8 +54,8 @@ "shortName": "CreateAttestor" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_create_attestor_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_CreateAttestor_sync", + "file": "binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_create_attestor_sync.py", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_sync", "segments": [ { "end": 50, @@ -99,8 +99,8 @@ "shortName": "DeleteAttestor" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_delete_attestor_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_DeleteAttestor_async", + "file": "binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_delete_attestor_async.py", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_async", "segments": [ { "end": 42, @@ -141,8 +141,8 @@ "shortName": "DeleteAttestor" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_delete_attestor_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_DeleteAttestor_sync", + "file": "binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_delete_attestor_sync.py", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_sync", "segments": [ { "end": 42, @@ -184,8 +184,8 @@ "shortName": "GetAttestor" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_get_attestor_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_GetAttestor_async", + "file": "binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_get_attestor_async.py", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_async", "segments": [ { "end": 44, @@ -228,8 +228,8 @@ "shortName": "GetAttestor" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_get_attestor_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_GetAttestor_sync", + "file": "binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_get_attestor_sync.py", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_sync", "segments": [ { "end": 44, @@ -273,8 +273,8 @@ "shortName": "GetPolicy" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_get_policy_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_GetPolicy_async", + "file": "binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_get_policy_async.py", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_async", "segments": [ { "end": 44, @@ -317,8 +317,8 @@ "shortName": "GetPolicy" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_get_policy_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_GetPolicy_sync", + "file": "binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_get_policy_sync.py", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_sync", "segments": [ { "end": 44, @@ -362,8 +362,8 @@ "shortName": "ListAttestors" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_list_attestors_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_ListAttestors_async", + "file": "binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_list_attestors_async.py", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_async", "segments": [ { "end": 45, @@ -406,8 +406,8 @@ "shortName": "ListAttestors" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_list_attestors_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_ListAttestors_sync", + "file": "binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_list_attestors_sync.py", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_sync", "segments": [ { "end": 45, @@ -451,8 +451,8 @@ "shortName": "UpdateAttestor" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_update_attestor_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_UpdateAttestor_async", + "file": "binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_update_attestor_async.py", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_async", "segments": [ { "end": 48, @@ -495,8 +495,8 @@ "shortName": "UpdateAttestor" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_update_attestor_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_UpdateAttestor_sync", + "file": "binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_update_attestor_sync.py", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_sync", "segments": [ { "end": 48, @@ -540,8 +540,8 @@ "shortName": "UpdatePolicy" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_update_policy_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_UpdatePolicy_async", + "file": "binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_update_policy_async.py", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_async", "segments": [ { "end": 48, @@ -584,8 +584,8 @@ "shortName": "UpdatePolicy" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1beta1_binauthz_management_service_v1_beta1_update_policy_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1beta1_BinauthzManagementServiceV1Beta1_UpdatePolicy_sync", + "file": "binaryauthorization_v1beta1_generated_binauthz_management_service_v1_beta1_update_policy_sync.py", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_sync", "segments": [ { "end": 48, @@ -629,8 +629,8 @@ "shortName": "GetSystemPolicy" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1beta1_system_policy_v1_beta1_get_system_policy_async.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1beta1_SystemPolicyV1Beta1_GetSystemPolicy_async", + "file": "binaryauthorization_v1beta1_generated_system_policy_v1_beta1_get_system_policy_async.py", + "regionTag": "binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_async", "segments": [ { "end": 44, @@ -673,8 +673,8 @@ "shortName": "GetSystemPolicy" } }, - "file": "binaryauthorization_generated_binaryauthorization_v1beta1_system_policy_v1_beta1_get_system_policy_sync.py", - "regionTag": "binaryauthorization_generated_binaryauthorization_v1beta1_SystemPolicyV1Beta1_GetSystemPolicy_sync", + "file": "binaryauthorization_v1beta1_generated_system_policy_v1_beta1_get_system_policy_sync.py", + "regionTag": "binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_sync", "segments": [ { "end": 44, diff --git a/scripts/fixup_binaryauthorization_v1_keywords.py b/scripts/fixup_binaryauthorization_v1_keywords.py index 7b2f46d..62deb91 100644 --- a/scripts/fixup_binaryauthorization_v1_keywords.py +++ b/scripts/fixup_binaryauthorization_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_binaryauthorization_v1beta1_keywords.py b/scripts/fixup_binaryauthorization_v1beta1_keywords.py index f1147e2..e4d7076 100644 --- a/scripts/fixup_binaryauthorization_v1beta1_keywords.py +++ b/scripts/fixup_binaryauthorization_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 21c2102..9b0178d 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ import setuptools # type: ignore -version = "1.2.1" +version = "1.2.2" package_root = os.path.abspath(os.path.dirname(__file__)) @@ -49,7 +49,7 @@ # 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", + "google-api-core[grpc] >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0", "proto-plus >= 1.15.0", "grafeas >= 1.1.2", ), diff --git a/testing/constraints-3.6.txt b/testing/constraints-3.6.txt index e93862d..71a1281 100644 --- a/testing/constraints-3.6.txt +++ b/testing/constraints-3.6.txt @@ -4,6 +4,6 @@ # Pin the version to the lower bound. # e.g., if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0dev", # Then this file should have google-cloud-foo==1.14.0 -google-api-core==1.28.0 +google-api-core==1.31.5 proto-plus==1.15.0 grafeas==1.1.2 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/binaryauthorization_v1/__init__.py b/tests/unit/gapic/binaryauthorization_v1/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/unit/gapic/binaryauthorization_v1/__init__.py +++ b/tests/unit/gapic/binaryauthorization_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/binaryauthorization_v1/test_binauthz_management_service_v1.py b/tests/unit/gapic/binaryauthorization_v1/test_binauthz_management_service_v1.py index 133f360..d6b257b 100644 --- a/tests/unit/gapic/binaryauthorization_v1/test_binauthz_management_service_v1.py +++ b/tests/unit/gapic/binaryauthorization_v1/test_binauthz_management_service_v1.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/binaryauthorization_v1/test_system_policy_v1.py b/tests/unit/gapic/binaryauthorization_v1/test_system_policy_v1.py index 1fbe6a1..dbfcc96 100644 --- a/tests/unit/gapic/binaryauthorization_v1/test_system_policy_v1.py +++ b/tests/unit/gapic/binaryauthorization_v1/test_system_policy_v1.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/binaryauthorization_v1/test_validation_helper_v1.py b/tests/unit/gapic/binaryauthorization_v1/test_validation_helper_v1.py index 0a9d30a..4370b69 100644 --- a/tests/unit/gapic/binaryauthorization_v1/test_validation_helper_v1.py +++ b/tests/unit/gapic/binaryauthorization_v1/test_validation_helper_v1.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/binaryauthorization_v1beta1/__init__.py b/tests/unit/gapic/binaryauthorization_v1beta1/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/unit/gapic/binaryauthorization_v1beta1/__init__.py +++ b/tests/unit/gapic/binaryauthorization_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/binaryauthorization_v1beta1/test_binauthz_management_service_v1_beta1.py b/tests/unit/gapic/binaryauthorization_v1beta1/test_binauthz_management_service_v1_beta1.py index aba6f54..c826ae7 100644 --- a/tests/unit/gapic/binaryauthorization_v1beta1/test_binauthz_management_service_v1_beta1.py +++ b/tests/unit/gapic/binaryauthorization_v1beta1/test_binauthz_management_service_v1_beta1.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/binaryauthorization_v1beta1/test_system_policy_v1_beta1.py b/tests/unit/gapic/binaryauthorization_v1beta1/test_system_policy_v1_beta1.py index 6caefae..39d4ce9 100644 --- a/tests/unit/gapic/binaryauthorization_v1beta1/test_system_policy_v1_beta1.py +++ b/tests/unit/gapic/binaryauthorization_v1beta1/test_system_policy_v1_beta1.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.