diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index b668c04..44c78f7 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:ed1f9983d5a935a89fe8085e8bb97d94e41015252c5b6c9771257cf8624367e6 - + digest: sha256:4e1991042fe54b991db9ca17c8fb386e61b22fe4d1472a568bf0fcac85dcf5d3 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f7b8344..b46d730 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -8,9 +8,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: "3.10" - name: Install nox @@ -24,9 +24,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: "3.10" - name: Install nox diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1e8b05c..f512a49 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,9 +8,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: "3.10" - name: Install nox diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 074ee25..e5be6ed 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -11,9 +11,9 @@ jobs: python: ['3.6', '3.7', '3.8', '3.9', '3.10'] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python }} - name: Install nox @@ -26,7 +26,7 @@ jobs: run: | nox -s unit-${{ matrix.python }} - name: Upload coverage results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: coverage-artifacts path: .coverage-${{ matrix.python }} @@ -37,9 +37,9 @@ jobs: - unit steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: "3.10" - name: Install coverage @@ -47,7 +47,7 @@ jobs: python -m pip install --upgrade setuptools pip wheel python -m pip install coverage - name: Download coverage results - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: coverage-artifacts path: .coverage-results/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 25bd5b2..2d25bbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [0.3.1](https://github.com/googleapis/python-bigquery-migration/compare/v0.3.0...v0.3.1) (2022-03-05) + + +### Bug Fixes + +* **deps:** require google-api-core>=1.31.5, >=2.3.2 ([#48](https://github.com/googleapis/python-bigquery-migration/issues/48)) ([2d8b0b5](https://github.com/googleapis/python-bigquery-migration/commit/2d8b0b5845573d2784b6bfa925285c6ddac5c1e7)) + ## [0.3.0](https://github.com/googleapis/python-bigquery-migration/compare/v0.2.1...v0.3.0) (2022-02-14) diff --git a/google/cloud/bigquery_migration/__init__.py b/google/cloud/bigquery_migration/__init__.py index a7d2621..2bdf2d7 100644 --- a/google/cloud/bigquery_migration/__init__.py +++ b/google/cloud/bigquery_migration/__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/bigquery_migration_v2alpha/__init__.py b/google/cloud/bigquery_migration_v2alpha/__init__.py index d99fd78..0680af1 100644 --- a/google/cloud/bigquery_migration_v2alpha/__init__.py +++ b/google/cloud/bigquery_migration_v2alpha/__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/bigquery_migration_v2alpha/services/__init__.py b/google/cloud/bigquery_migration_v2alpha/services/__init__.py index 4de6597..e8e1c38 100644 --- a/google/cloud/bigquery_migration_v2alpha/services/__init__.py +++ b/google/cloud/bigquery_migration_v2alpha/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/bigquery_migration_v2alpha/services/migration_service/__init__.py b/google/cloud/bigquery_migration_v2alpha/services/migration_service/__init__.py index 5af6b09..36329bb 100644 --- a/google/cloud/bigquery_migration_v2alpha/services/migration_service/__init__.py +++ b/google/cloud/bigquery_migration_v2alpha/services/migration_service/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/bigquery_migration_v2alpha/services/migration_service/async_client.py b/google/cloud/bigquery_migration_v2alpha/services/migration_service/async_client.py index c7e8bc2..652a0ce 100644 --- a/google/cloud/bigquery_migration_v2alpha/services/migration_service/async_client.py +++ b/google/cloud/bigquery_migration_v2alpha/services/migration_service/async_client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -227,7 +227,7 @@ async def create_migration_workflow( ) -> migration_entities.MigrationWorkflow: r"""Creates a migration workflow. - .. code-block:: + .. code-block:: python from google.cloud import bigquery_migration_v2alpha @@ -328,7 +328,7 @@ async def get_migration_workflow( ) -> migration_entities.MigrationWorkflow: r"""Gets a previously created migration workflow. - .. code-block:: + .. code-block:: python from google.cloud import bigquery_migration_v2alpha @@ -429,7 +429,7 @@ async def list_migration_workflows( ) -> pagers.ListMigrationWorkflowsAsyncPager: r"""Lists previously created migration workflow. - .. code-block:: + .. code-block:: python from google.cloud import bigquery_migration_v2alpha @@ -538,7 +538,7 @@ async def delete_migration_workflow( ) -> None: r"""Deletes a migration workflow by name. - .. code-block:: + .. code-block:: python from google.cloud import bigquery_migration_v2alpha @@ -624,7 +624,7 @@ async def start_migration_workflow( RUNNING. - .. code-block:: + .. code-block:: python from google.cloud import bigquery_migration_v2alpha @@ -714,7 +714,7 @@ async def get_migration_subtask( ) -> migration_entities.MigrationSubtask: r"""Gets a previously created migration subtask. - .. code-block:: + .. code-block:: python from google.cloud import bigquery_migration_v2alpha @@ -818,7 +818,7 @@ async def list_migration_subtasks( ) -> pagers.ListMigrationSubtasksAsyncPager: r"""Lists previously created migration subtasks. - .. code-block:: + .. code-block:: python from google.cloud import bigquery_migration_v2alpha diff --git a/google/cloud/bigquery_migration_v2alpha/services/migration_service/client.py b/google/cloud/bigquery_migration_v2alpha/services/migration_service/client.py index 69285a5..9487d62 100644 --- a/google/cloud/bigquery_migration_v2alpha/services/migration_service/client.py +++ b/google/cloud/bigquery_migration_v2alpha/services/migration_service/client.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -434,8 +434,7 @@ def create_migration_workflow( ) -> migration_entities.MigrationWorkflow: r"""Creates a migration workflow. - - .. code-block:: + .. code-block:: python from google.cloud import bigquery_migration_v2alpha @@ -538,8 +537,7 @@ def get_migration_workflow( ) -> migration_entities.MigrationWorkflow: r"""Gets a previously created migration workflow. - - .. code-block:: + .. code-block:: python from google.cloud import bigquery_migration_v2alpha @@ -631,8 +629,7 @@ def list_migration_workflows( ) -> pagers.ListMigrationWorkflowsPager: r"""Lists previously created migration workflow. - - .. code-block:: + .. code-block:: python from google.cloud import bigquery_migration_v2alpha @@ -732,8 +729,7 @@ def delete_migration_workflow( ) -> None: r"""Deletes a migration workflow by name. - - .. code-block:: + .. code-block:: python from google.cloud import bigquery_migration_v2alpha @@ -821,8 +817,7 @@ def start_migration_workflow( RUNNING. - - .. code-block:: + .. code-block:: python from google.cloud import bigquery_migration_v2alpha @@ -903,8 +898,7 @@ def get_migration_subtask( ) -> migration_entities.MigrationSubtask: r"""Gets a previously created migration subtask. - - .. code-block:: + .. code-block:: python from google.cloud import bigquery_migration_v2alpha @@ -999,8 +993,7 @@ def list_migration_subtasks( ) -> pagers.ListMigrationSubtasksPager: r"""Lists previously created migration subtasks. - - .. code-block:: + .. code-block:: python from google.cloud import bigquery_migration_v2alpha diff --git a/google/cloud/bigquery_migration_v2alpha/services/migration_service/pagers.py b/google/cloud/bigquery_migration_v2alpha/services/migration_service/pagers.py index 2904fad..86f159b 100644 --- a/google/cloud/bigquery_migration_v2alpha/services/migration_service/pagers.py +++ b/google/cloud/bigquery_migration_v2alpha/services/migration_service/pagers.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/bigquery_migration_v2alpha/services/migration_service/transports/__init__.py b/google/cloud/bigquery_migration_v2alpha/services/migration_service/transports/__init__.py index 565048f..10ee142 100644 --- a/google/cloud/bigquery_migration_v2alpha/services/migration_service/transports/__init__.py +++ b/google/cloud/bigquery_migration_v2alpha/services/migration_service/transports/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/bigquery_migration_v2alpha/services/migration_service/transports/base.py b/google/cloud/bigquery_migration_v2alpha/services/migration_service/transports/base.py index 5b01d1b..6a7452c 100644 --- a/google/cloud/bigquery_migration_v2alpha/services/migration_service/transports/base.py +++ b/google/cloud/bigquery_migration_v2alpha/services/migration_service/transports/base.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/bigquery_migration_v2alpha/services/migration_service/transports/grpc.py b/google/cloud/bigquery_migration_v2alpha/services/migration_service/transports/grpc.py index 2e80842..7e437af 100644 --- a/google/cloud/bigquery_migration_v2alpha/services/migration_service/transports/grpc.py +++ b/google/cloud/bigquery_migration_v2alpha/services/migration_service/transports/grpc.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/bigquery_migration_v2alpha/services/migration_service/transports/grpc_asyncio.py b/google/cloud/bigquery_migration_v2alpha/services/migration_service/transports/grpc_asyncio.py index c06da35..59f2c0c 100644 --- a/google/cloud/bigquery_migration_v2alpha/services/migration_service/transports/grpc_asyncio.py +++ b/google/cloud/bigquery_migration_v2alpha/services/migration_service/transports/grpc_asyncio.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/google/cloud/bigquery_migration_v2alpha/types/__init__.py b/google/cloud/bigquery_migration_v2alpha/types/__init__.py index 8763134..214cfbb 100644 --- a/google/cloud/bigquery_migration_v2alpha/types/__init__.py +++ b/google/cloud/bigquery_migration_v2alpha/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/bigquery_migration_v2alpha/types/assessment_task.py b/google/cloud/bigquery_migration_v2alpha/types/assessment_task.py index 719f44d..9c2a70c 100644 --- a/google/cloud/bigquery_migration_v2alpha/types/assessment_task.py +++ b/google/cloud/bigquery_migration_v2alpha/types/assessment_task.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/bigquery_migration_v2alpha/types/migration_entities.py b/google/cloud/bigquery_migration_v2alpha/types/migration_entities.py index 0254518..fdaf062 100644 --- a/google/cloud/bigquery_migration_v2alpha/types/migration_entities.py +++ b/google/cloud/bigquery_migration_v2alpha/types/migration_entities.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/bigquery_migration_v2alpha/types/migration_error_details.py b/google/cloud/bigquery_migration_v2alpha/types/migration_error_details.py index c9df602..f78750d 100644 --- a/google/cloud/bigquery_migration_v2alpha/types/migration_error_details.py +++ b/google/cloud/bigquery_migration_v2alpha/types/migration_error_details.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/bigquery_migration_v2alpha/types/migration_metrics.py b/google/cloud/bigquery_migration_v2alpha/types/migration_metrics.py index 89cd2e9..9d68cd8 100644 --- a/google/cloud/bigquery_migration_v2alpha/types/migration_metrics.py +++ b/google/cloud/bigquery_migration_v2alpha/types/migration_metrics.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/bigquery_migration_v2alpha/types/migration_service.py b/google/cloud/bigquery_migration_v2alpha/types/migration_service.py index 51cfa8b..0e7c48a 100644 --- a/google/cloud/bigquery_migration_v2alpha/types/migration_service.py +++ b/google/cloud/bigquery_migration_v2alpha/types/migration_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/bigquery_migration_v2alpha/types/translation_task.py b/google/cloud/bigquery_migration_v2alpha/types/translation_task.py index e2be946..7c3a8ba 100644 --- a/google/cloud/bigquery_migration_v2alpha/types/translation_task.py +++ b/google/cloud/bigquery_migration_v2alpha/types/translation_task.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/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_create_migration_workflow_async.py b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_create_migration_workflow_async.py similarity index 84% rename from samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_create_migration_workflow_async.py rename to samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_create_migration_workflow_async.py index 16c630e..5fa45d2 100644 --- a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_create_migration_workflow_async.py +++ b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_create_migration_workflow_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-bigquery-migration -# [START bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_CreateMigrationWorkflow_async] +# [START bigquerymigration_v2alpha_generated_MigrationService_CreateMigrationWorkflow_async] from google.cloud import bigquery_migration_v2alpha @@ -42,4 +42,4 @@ async def sample_create_migration_workflow(): # Handle the response print(response) -# [END bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_CreateMigrationWorkflow_async] +# [END bigquerymigration_v2alpha_generated_MigrationService_CreateMigrationWorkflow_async] diff --git a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_create_migration_workflow_sync.py b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_create_migration_workflow_sync.py similarity index 84% rename from samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_create_migration_workflow_sync.py rename to samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_create_migration_workflow_sync.py index 830b1bc..e669e6e 100644 --- a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_create_migration_workflow_sync.py +++ b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_create_migration_workflow_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-bigquery-migration -# [START bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_CreateMigrationWorkflow_sync] +# [START bigquerymigration_v2alpha_generated_MigrationService_CreateMigrationWorkflow_sync] from google.cloud import bigquery_migration_v2alpha @@ -42,4 +42,4 @@ def sample_create_migration_workflow(): # Handle the response print(response) -# [END bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_CreateMigrationWorkflow_sync] +# [END bigquerymigration_v2alpha_generated_MigrationService_CreateMigrationWorkflow_sync] diff --git a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_delete_migration_workflow_async.py b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_delete_migration_workflow_async.py similarity index 84% rename from samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_delete_migration_workflow_async.py rename to samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_delete_migration_workflow_async.py index 72f05df..9754d02 100644 --- a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_delete_migration_workflow_async.py +++ b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_delete_migration_workflow_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-bigquery-migration -# [START bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_DeleteMigrationWorkflow_async] +# [START bigquerymigration_v2alpha_generated_MigrationService_DeleteMigrationWorkflow_async] from google.cloud import bigquery_migration_v2alpha @@ -40,4 +40,4 @@ async def sample_delete_migration_workflow(): await client.delete_migration_workflow(request=request) -# [END bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_DeleteMigrationWorkflow_async] +# [END bigquerymigration_v2alpha_generated_MigrationService_DeleteMigrationWorkflow_async] diff --git a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_delete_migration_workflow_sync.py b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_delete_migration_workflow_sync.py similarity index 84% rename from samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_delete_migration_workflow_sync.py rename to samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_delete_migration_workflow_sync.py index 083b647..cf7a9ac 100644 --- a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_delete_migration_workflow_sync.py +++ b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_delete_migration_workflow_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-bigquery-migration -# [START bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_DeleteMigrationWorkflow_sync] +# [START bigquerymigration_v2alpha_generated_MigrationService_DeleteMigrationWorkflow_sync] from google.cloud import bigquery_migration_v2alpha @@ -40,4 +40,4 @@ def sample_delete_migration_workflow(): client.delete_migration_workflow(request=request) -# [END bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_DeleteMigrationWorkflow_sync] +# [END bigquerymigration_v2alpha_generated_MigrationService_DeleteMigrationWorkflow_sync] diff --git a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_get_migration_subtask_async.py b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_get_migration_subtask_async.py similarity index 85% rename from samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_get_migration_subtask_async.py rename to samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_get_migration_subtask_async.py index ce4065e..238c7c4 100644 --- a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_get_migration_subtask_async.py +++ b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_get_migration_subtask_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-bigquery-migration -# [START bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_GetMigrationSubtask_async] +# [START bigquerymigration_v2alpha_generated_MigrationService_GetMigrationSubtask_async] from google.cloud import bigquery_migration_v2alpha @@ -42,4 +42,4 @@ async def sample_get_migration_subtask(): # Handle the response print(response) -# [END bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_GetMigrationSubtask_async] +# [END bigquerymigration_v2alpha_generated_MigrationService_GetMigrationSubtask_async] diff --git a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_get_migration_subtask_sync.py b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_get_migration_subtask_sync.py similarity index 85% rename from samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_get_migration_subtask_sync.py rename to samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_get_migration_subtask_sync.py index d98a29f..eb7b23c 100644 --- a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_get_migration_subtask_sync.py +++ b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_get_migration_subtask_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-bigquery-migration -# [START bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_GetMigrationSubtask_sync] +# [START bigquerymigration_v2alpha_generated_MigrationService_GetMigrationSubtask_sync] from google.cloud import bigquery_migration_v2alpha @@ -42,4 +42,4 @@ def sample_get_migration_subtask(): # Handle the response print(response) -# [END bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_GetMigrationSubtask_sync] +# [END bigquerymigration_v2alpha_generated_MigrationService_GetMigrationSubtask_sync] diff --git a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_get_migration_workflow_async.py b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_get_migration_workflow_async.py similarity index 85% rename from samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_get_migration_workflow_async.py rename to samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_get_migration_workflow_async.py index edad29e..45a6473 100644 --- a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_get_migration_workflow_async.py +++ b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_get_migration_workflow_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-bigquery-migration -# [START bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_GetMigrationWorkflow_async] +# [START bigquerymigration_v2alpha_generated_MigrationService_GetMigrationWorkflow_async] from google.cloud import bigquery_migration_v2alpha @@ -42,4 +42,4 @@ async def sample_get_migration_workflow(): # Handle the response print(response) -# [END bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_GetMigrationWorkflow_async] +# [END bigquerymigration_v2alpha_generated_MigrationService_GetMigrationWorkflow_async] diff --git a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_get_migration_workflow_sync.py b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_get_migration_workflow_sync.py similarity index 85% rename from samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_get_migration_workflow_sync.py rename to samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_get_migration_workflow_sync.py index 12359ca..fad8d73 100644 --- a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_get_migration_workflow_sync.py +++ b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_get_migration_workflow_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-bigquery-migration -# [START bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_GetMigrationWorkflow_sync] +# [START bigquerymigration_v2alpha_generated_MigrationService_GetMigrationWorkflow_sync] from google.cloud import bigquery_migration_v2alpha @@ -42,4 +42,4 @@ def sample_get_migration_workflow(): # Handle the response print(response) -# [END bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_GetMigrationWorkflow_sync] +# [END bigquerymigration_v2alpha_generated_MigrationService_GetMigrationWorkflow_sync] diff --git a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_list_migration_subtasks_async.py b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_list_migration_subtasks_async.py similarity index 85% rename from samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_list_migration_subtasks_async.py rename to samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_list_migration_subtasks_async.py index c382d66..dc4cda1 100644 --- a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_list_migration_subtasks_async.py +++ b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_list_migration_subtasks_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-bigquery-migration -# [START bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_ListMigrationSubtasks_async] +# [START bigquerymigration_v2alpha_generated_MigrationService_ListMigrationSubtasks_async] from google.cloud import bigquery_migration_v2alpha @@ -43,4 +43,4 @@ async def sample_list_migration_subtasks(): async for response in page_result: print(response) -# [END bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_ListMigrationSubtasks_async] +# [END bigquerymigration_v2alpha_generated_MigrationService_ListMigrationSubtasks_async] diff --git a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_list_migration_subtasks_sync.py b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_list_migration_subtasks_sync.py similarity index 85% rename from samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_list_migration_subtasks_sync.py rename to samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_list_migration_subtasks_sync.py index 33159a3..f3f4bd0 100644 --- a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_list_migration_subtasks_sync.py +++ b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_list_migration_subtasks_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-bigquery-migration -# [START bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_ListMigrationSubtasks_sync] +# [START bigquerymigration_v2alpha_generated_MigrationService_ListMigrationSubtasks_sync] from google.cloud import bigquery_migration_v2alpha @@ -43,4 +43,4 @@ def sample_list_migration_subtasks(): for response in page_result: print(response) -# [END bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_ListMigrationSubtasks_sync] +# [END bigquerymigration_v2alpha_generated_MigrationService_ListMigrationSubtasks_sync] diff --git a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_list_migration_workflows_async.py b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_list_migration_workflows_async.py similarity index 85% rename from samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_list_migration_workflows_async.py rename to samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_list_migration_workflows_async.py index 5dcde4a..868a82f 100644 --- a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_list_migration_workflows_async.py +++ b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_list_migration_workflows_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-bigquery-migration -# [START bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_ListMigrationWorkflows_async] +# [START bigquerymigration_v2alpha_generated_MigrationService_ListMigrationWorkflows_async] from google.cloud import bigquery_migration_v2alpha @@ -43,4 +43,4 @@ async def sample_list_migration_workflows(): async for response in page_result: print(response) -# [END bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_ListMigrationWorkflows_async] +# [END bigquerymigration_v2alpha_generated_MigrationService_ListMigrationWorkflows_async] diff --git a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_list_migration_workflows_sync.py b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_list_migration_workflows_sync.py similarity index 85% rename from samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_list_migration_workflows_sync.py rename to samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_list_migration_workflows_sync.py index 2b84f35..c48711f 100644 --- a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_list_migration_workflows_sync.py +++ b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_list_migration_workflows_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-bigquery-migration -# [START bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_ListMigrationWorkflows_sync] +# [START bigquerymigration_v2alpha_generated_MigrationService_ListMigrationWorkflows_sync] from google.cloud import bigquery_migration_v2alpha @@ -43,4 +43,4 @@ def sample_list_migration_workflows(): for response in page_result: print(response) -# [END bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_ListMigrationWorkflows_sync] +# [END bigquerymigration_v2alpha_generated_MigrationService_ListMigrationWorkflows_sync] diff --git a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_start_migration_workflow_async.py b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_start_migration_workflow_async.py similarity index 84% rename from samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_start_migration_workflow_async.py rename to samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_start_migration_workflow_async.py index 5e2bd8b..670e67a 100644 --- a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_start_migration_workflow_async.py +++ b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_start_migration_workflow_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-bigquery-migration -# [START bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_StartMigrationWorkflow_async] +# [START bigquerymigration_v2alpha_generated_MigrationService_StartMigrationWorkflow_async] from google.cloud import bigquery_migration_v2alpha @@ -40,4 +40,4 @@ async def sample_start_migration_workflow(): await client.start_migration_workflow(request=request) -# [END bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_StartMigrationWorkflow_async] +# [END bigquerymigration_v2alpha_generated_MigrationService_StartMigrationWorkflow_async] diff --git a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_start_migration_workflow_sync.py b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_start_migration_workflow_sync.py similarity index 84% rename from samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_start_migration_workflow_sync.py rename to samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_start_migration_workflow_sync.py index f96ef9a..6f8ad6b 100644 --- a/samples/generated_samples/bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_start_migration_workflow_sync.py +++ b/samples/generated_samples/bigquerymigration_v2alpha_generated_migration_service_start_migration_workflow_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-bigquery-migration -# [START bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_StartMigrationWorkflow_sync] +# [START bigquerymigration_v2alpha_generated_MigrationService_StartMigrationWorkflow_sync] from google.cloud import bigquery_migration_v2alpha @@ -40,4 +40,4 @@ def sample_start_migration_workflow(): client.start_migration_workflow(request=request) -# [END bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_StartMigrationWorkflow_sync] +# [END bigquerymigration_v2alpha_generated_MigrationService_StartMigrationWorkflow_sync] diff --git a/samples/generated_samples/snippet_metadata_bigquery migration_v2alpha.json b/samples/generated_samples/snippet_metadata_bigquery migration_v2alpha.json index e6c33b0..17dae71 100644 --- a/samples/generated_samples/snippet_metadata_bigquery migration_v2alpha.json +++ b/samples/generated_samples/snippet_metadata_bigquery migration_v2alpha.json @@ -10,8 +10,8 @@ "shortName": "CreateMigrationWorkflow" } }, - "file": "bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_create_migration_workflow_async.py", - "regionTag": "bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_CreateMigrationWorkflow_async", + "file": "bigquerymigration_v2alpha_generated_migration_service_create_migration_workflow_async.py", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_CreateMigrationWorkflow_async", "segments": [ { "end": 44, @@ -54,8 +54,8 @@ "shortName": "CreateMigrationWorkflow" } }, - "file": "bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_create_migration_workflow_sync.py", - "regionTag": "bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_CreateMigrationWorkflow_sync", + "file": "bigquerymigration_v2alpha_generated_migration_service_create_migration_workflow_sync.py", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_CreateMigrationWorkflow_sync", "segments": [ { "end": 44, @@ -99,8 +99,8 @@ "shortName": "DeleteMigrationWorkflow" } }, - "file": "bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_delete_migration_workflow_async.py", - "regionTag": "bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_DeleteMigrationWorkflow_async", + "file": "bigquerymigration_v2alpha_generated_migration_service_delete_migration_workflow_async.py", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_DeleteMigrationWorkflow_async", "segments": [ { "end": 42, @@ -141,8 +141,8 @@ "shortName": "DeleteMigrationWorkflow" } }, - "file": "bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_delete_migration_workflow_sync.py", - "regionTag": "bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_DeleteMigrationWorkflow_sync", + "file": "bigquerymigration_v2alpha_generated_migration_service_delete_migration_workflow_sync.py", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_DeleteMigrationWorkflow_sync", "segments": [ { "end": 42, @@ -184,8 +184,8 @@ "shortName": "GetMigrationSubtask" } }, - "file": "bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_get_migration_subtask_async.py", - "regionTag": "bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_GetMigrationSubtask_async", + "file": "bigquerymigration_v2alpha_generated_migration_service_get_migration_subtask_async.py", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_GetMigrationSubtask_async", "segments": [ { "end": 44, @@ -228,8 +228,8 @@ "shortName": "GetMigrationSubtask" } }, - "file": "bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_get_migration_subtask_sync.py", - "regionTag": "bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_GetMigrationSubtask_sync", + "file": "bigquerymigration_v2alpha_generated_migration_service_get_migration_subtask_sync.py", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_GetMigrationSubtask_sync", "segments": [ { "end": 44, @@ -273,8 +273,8 @@ "shortName": "GetMigrationWorkflow" } }, - "file": "bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_get_migration_workflow_async.py", - "regionTag": "bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_GetMigrationWorkflow_async", + "file": "bigquerymigration_v2alpha_generated_migration_service_get_migration_workflow_async.py", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_GetMigrationWorkflow_async", "segments": [ { "end": 44, @@ -317,8 +317,8 @@ "shortName": "GetMigrationWorkflow" } }, - "file": "bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_get_migration_workflow_sync.py", - "regionTag": "bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_GetMigrationWorkflow_sync", + "file": "bigquerymigration_v2alpha_generated_migration_service_get_migration_workflow_sync.py", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_GetMigrationWorkflow_sync", "segments": [ { "end": 44, @@ -362,8 +362,8 @@ "shortName": "ListMigrationSubtasks" } }, - "file": "bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_list_migration_subtasks_async.py", - "regionTag": "bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_ListMigrationSubtasks_async", + "file": "bigquerymigration_v2alpha_generated_migration_service_list_migration_subtasks_async.py", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_ListMigrationSubtasks_async", "segments": [ { "end": 45, @@ -406,8 +406,8 @@ "shortName": "ListMigrationSubtasks" } }, - "file": "bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_list_migration_subtasks_sync.py", - "regionTag": "bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_ListMigrationSubtasks_sync", + "file": "bigquerymigration_v2alpha_generated_migration_service_list_migration_subtasks_sync.py", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_ListMigrationSubtasks_sync", "segments": [ { "end": 45, @@ -451,8 +451,8 @@ "shortName": "ListMigrationWorkflows" } }, - "file": "bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_list_migration_workflows_async.py", - "regionTag": "bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_ListMigrationWorkflows_async", + "file": "bigquerymigration_v2alpha_generated_migration_service_list_migration_workflows_async.py", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_ListMigrationWorkflows_async", "segments": [ { "end": 45, @@ -495,8 +495,8 @@ "shortName": "ListMigrationWorkflows" } }, - "file": "bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_list_migration_workflows_sync.py", - "regionTag": "bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_ListMigrationWorkflows_sync", + "file": "bigquerymigration_v2alpha_generated_migration_service_list_migration_workflows_sync.py", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_ListMigrationWorkflows_sync", "segments": [ { "end": 45, @@ -540,8 +540,8 @@ "shortName": "StartMigrationWorkflow" } }, - "file": "bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_start_migration_workflow_async.py", - "regionTag": "bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_StartMigrationWorkflow_async", + "file": "bigquerymigration_v2alpha_generated_migration_service_start_migration_workflow_async.py", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_StartMigrationWorkflow_async", "segments": [ { "end": 42, @@ -582,8 +582,8 @@ "shortName": "StartMigrationWorkflow" } }, - "file": "bigquerymigration_generated_bigquery_migration_v2alpha_migration_service_start_migration_workflow_sync.py", - "regionTag": "bigquerymigration_generated_bigquery_migration_v2alpha_MigrationService_StartMigrationWorkflow_sync", + "file": "bigquerymigration_v2alpha_generated_migration_service_start_migration_workflow_sync.py", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_StartMigrationWorkflow_sync", "segments": [ { "end": 42, diff --git a/scripts/fixup_bigquery_migration_v2alpha_keywords.py b/scripts/fixup_bigquery_migration_v2alpha_keywords.py index 629a81e..18f588a 100644 --- a/scripts/fixup_bigquery_migration_v2alpha_keywords.py +++ b/scripts/fixup_bigquery_migration_v2alpha_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 d3c37b6..7d88026 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ import os import setuptools # type: ignore -version = "0.3.0" +version = "0.3.1" package_root = os.path.abspath(os.path.dirname(__file__)) @@ -38,7 +38,7 @@ platforms="Posix; MacOS X; Windows", include_package_data=True, install_requires=( - "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", ), python_requires=">=3.6", @@ -46,10 +46,12 @@ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Operating System :: OS Independent", + "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Topic :: Internet", "Topic :: Software Development :: Libraries :: Python Modules", ], diff --git a/testing/constraints-3.6.txt b/testing/constraints-3.6.txt index 6f1ac18..9f829f6 100644 --- a/testing/constraints-3.6.txt +++ b/testing/constraints-3.6.txt @@ -5,6 +5,6 @@ # # e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", # Then this file should have foo==1.14.0 -google-api-core==1.28.0 +google-api-core==1.31.5 proto-plus==1.15.0 libcst==0.2.5 diff --git a/tests/__init__.py b/tests/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/unit/__init__.py +++ b/tests/unit/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/__init__.py b/tests/unit/gapic/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/unit/gapic/__init__.py +++ b/tests/unit/gapic/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2020 Google LLC +# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/unit/gapic/bigquery_migration_v2alpha/__init__.py b/tests/unit/gapic/bigquery_migration_v2alpha/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/unit/gapic/bigquery_migration_v2alpha/__init__.py +++ b/tests/unit/gapic/bigquery_migration_v2alpha/__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/bigquery_migration_v2alpha/test_migration_service.py b/tests/unit/gapic/bigquery_migration_v2alpha/test_migration_service.py index 323f238..75788b3 100644 --- a/tests/unit/gapic/bigquery_migration_v2alpha/test_migration_service.py +++ b/tests/unit/gapic/bigquery_migration_v2alpha/test_migration_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.