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 710ab76..76dfb9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.1.1](https://github.com/googleapis/python-vm-migration/compare/v1.1.0...v1.1.1) (2022-03-05) + + +### Bug Fixes + +* **deps:** require google-api-core>=1.31.5, >=2.3.2 ([#24](https://github.com/googleapis/python-vm-migration/issues/24)) ([0ee06fd](https://github.com/googleapis/python-vm-migration/commit/0ee06fda92a66981f21b0fe546335362f4fc8d80)) + ## [1.1.0](https://github.com/googleapis/python-vm-migration/compare/v1.0.0...v1.1.0) (2022-02-11) diff --git a/google/cloud/vmmigration/__init__.py b/google/cloud/vmmigration/__init__.py index c709862..a6065ff 100644 --- a/google/cloud/vmmigration/__init__.py +++ b/google/cloud/vmmigration/__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/vmmigration_v1/__init__.py b/google/cloud/vmmigration_v1/__init__.py index deeedc3..1feb518 100644 --- a/google/cloud/vmmigration_v1/__init__.py +++ b/google/cloud/vmmigration_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/vmmigration_v1/services/__init__.py b/google/cloud/vmmigration_v1/services/__init__.py index 4de6597..e8e1c38 100644 --- a/google/cloud/vmmigration_v1/services/__init__.py +++ b/google/cloud/vmmigration_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/vmmigration_v1/services/vm_migration/__init__.py b/google/cloud/vmmigration_v1/services/vm_migration/__init__.py index 1ef2335..6270f37 100644 --- a/google/cloud/vmmigration_v1/services/vm_migration/__init__.py +++ b/google/cloud/vmmigration_v1/services/vm_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/vmmigration_v1/services/vm_migration/async_client.py b/google/cloud/vmmigration_v1/services/vm_migration/async_client.py index 2f62ff9..2a9f272 100644 --- a/google/cloud/vmmigration_v1/services/vm_migration/async_client.py +++ b/google/cloud/vmmigration_v1/services/vm_migration/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. @@ -237,7 +237,7 @@ async def list_sources( ) -> pagers.ListSourcesAsyncPager: r"""Lists Sources in a given project and location. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -338,7 +338,7 @@ async def get_source( ) -> vmmigration.Source: r"""Gets details of a single Source. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -430,7 +430,7 @@ async def create_source( ) -> operation_async.AsyncOperation: r"""Creates a new Source in a given project and location. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -548,7 +548,7 @@ async def update_source( ) -> operation_async.AsyncOperation: r"""Updates the parameters of a single Source. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -664,7 +664,7 @@ async def delete_source( ) -> operation_async.AsyncOperation: r"""Deletes a single Source. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -784,7 +784,7 @@ async def fetch_inventory( vmmigration service. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -872,7 +872,7 @@ async def list_utilization_reports( ) -> pagers.ListUtilizationReportsAsyncPager: r"""Lists Utilization Reports of the given Source. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -973,7 +973,7 @@ async def get_utilization_report( ) -> vmmigration.UtilizationReport: r"""Gets a single Utilization Report. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1066,7 +1066,7 @@ async def create_utilization_report( ) -> operation_async.AsyncOperation: r"""Creates a new UtilizationReport. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1192,7 +1192,7 @@ async def delete_utilization_report( ) -> operation_async.AsyncOperation: r"""Deletes a single Utilization Report. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1307,7 +1307,7 @@ async def list_datacenter_connectors( ) -> pagers.ListDatacenterConnectorsAsyncPager: r"""Lists DatacenterConnectors in a given Source. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1408,7 +1408,7 @@ async def get_datacenter_connector( ) -> vmmigration.DatacenterConnector: r"""Gets details of a single DatacenterConnector. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1504,7 +1504,7 @@ async def create_datacenter_connector( ) -> operation_async.AsyncOperation: r"""Creates a new DatacenterConnector in a given Source. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1631,7 +1631,7 @@ async def delete_datacenter_connector( ) -> operation_async.AsyncOperation: r"""Deletes a single DatacenterConnector. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1748,7 +1748,7 @@ async def create_migrating_vm( ) -> operation_async.AsyncOperation: r"""Creates a new MigratingVm in a given Source. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1865,7 +1865,7 @@ async def list_migrating_vms( ) -> pagers.ListMigratingVmsAsyncPager: r"""Lists MigratingVms in a given Source. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1966,7 +1966,7 @@ async def get_migrating_vm( ) -> vmmigration.MigratingVm: r"""Gets details of a single MigratingVm. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2058,7 +2058,7 @@ async def update_migrating_vm( ) -> operation_async.AsyncOperation: r"""Updates the parameters of a single MigratingVm. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2174,7 +2174,7 @@ async def delete_migrating_vm( ) -> operation_async.AsyncOperation: r"""Deletes a single MigratingVm. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2292,7 +2292,7 @@ async def start_migration( cycles scheduled by the policy. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2404,7 +2404,7 @@ async def resume_migration( snapshots. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2493,7 +2493,7 @@ async def pause_migration( while the VM is paused. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2582,7 +2582,7 @@ async def finalize_migration( after cutover is done. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2691,7 +2691,7 @@ async def create_clone_job( ) -> operation_async.AsyncOperation: r"""Initiates a Clone of a specific migrating VM. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2820,7 +2820,7 @@ async def cancel_clone_job( ) -> operation_async.AsyncOperation: r"""Initiates the cancellation of a running clone job. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2923,7 +2923,7 @@ async def list_clone_jobs( ) -> pagers.ListCloneJobsAsyncPager: r"""Lists CloneJobs of a given migrating VM. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3024,7 +3024,7 @@ async def get_clone_job( ) -> vmmigration.CloneJob: r"""Gets details of a single CloneJob. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3129,7 +3129,7 @@ async def create_cutover_job( resource is created and the job is initiated. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3248,7 +3248,7 @@ async def cancel_cutover_job( ) -> operation_async.AsyncOperation: r"""Initiates the cancellation of a running cutover job. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3351,7 +3351,7 @@ async def list_cutover_jobs( ) -> pagers.ListCutoverJobsAsyncPager: r"""Lists CutoverJobs of a given migrating VM. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3452,7 +3452,7 @@ async def get_cutover_job( ) -> vmmigration.CutoverJob: r"""Gets details of a single CutoverJob. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3544,7 +3544,7 @@ async def list_groups( ) -> pagers.ListGroupsAsyncPager: r"""Lists Groups in a given project and location. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3645,7 +3645,7 @@ async def get_group( ) -> vmmigration.Group: r"""Gets details of a single Group. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3736,7 +3736,7 @@ async def create_group( ) -> operation_async.AsyncOperation: r"""Creates a new Group in a given project and location. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3854,7 +3854,7 @@ async def update_group( ) -> operation_async.AsyncOperation: r"""Updates the parameters of a single Group. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3970,7 +3970,7 @@ async def delete_group( ) -> operation_async.AsyncOperation: r"""Deletes a single Group. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4083,7 +4083,7 @@ async def add_group_migration( ) -> operation_async.AsyncOperation: r"""Adds a MigratingVm to a Group. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4188,7 +4188,7 @@ async def remove_group_migration( ) -> operation_async.AsyncOperation: r"""Removes a MigratingVm from a Group. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4295,7 +4295,7 @@ async def list_target_projects( supported value for location is ``global``. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4400,7 +4400,7 @@ async def get_target_project( supported value for location is ``global``. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4495,7 +4495,7 @@ async def create_target_project( supported value for location is ``global``. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4617,7 +4617,7 @@ async def update_target_project( supported value for location is ``global``. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4737,7 +4737,7 @@ async def delete_target_project( supported value for location is ``global``. - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 diff --git a/google/cloud/vmmigration_v1/services/vm_migration/client.py b/google/cloud/vmmigration_v1/services/vm_migration/client.py index 5439f4d..ebf5ecf 100644 --- a/google/cloud/vmmigration_v1/services/vm_migration/client.py +++ b/google/cloud/vmmigration_v1/services/vm_migration/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. @@ -553,8 +553,7 @@ def list_sources( ) -> pagers.ListSourcesPager: r"""Lists Sources in a given project and location. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -655,8 +654,7 @@ def get_source( ) -> vmmigration.Source: r"""Gets details of a single Source. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -748,8 +746,7 @@ def create_source( ) -> operation.Operation: r"""Creates a new Source in a given project and location. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -867,8 +864,7 @@ def update_source( ) -> operation.Operation: r"""Updates the parameters of a single Source. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -984,8 +980,7 @@ def delete_source( ) -> operation.Operation: r"""Deletes a single Source. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1105,8 +1100,7 @@ def fetch_inventory( vmmigration service. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1194,8 +1188,7 @@ def list_utilization_reports( ) -> pagers.ListUtilizationReportsPager: r"""Lists Utilization Reports of the given Source. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1296,8 +1289,7 @@ def get_utilization_report( ) -> vmmigration.UtilizationReport: r"""Gets a single Utilization Report. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1390,8 +1382,7 @@ def create_utilization_report( ) -> operation.Operation: r"""Creates a new UtilizationReport. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1519,8 +1510,7 @@ def delete_utilization_report( ) -> operation.Operation: r"""Deletes a single Utilization Report. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1637,8 +1627,7 @@ def list_datacenter_connectors( ) -> pagers.ListDatacenterConnectorsPager: r"""Lists DatacenterConnectors in a given Source. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1741,8 +1730,7 @@ def get_datacenter_connector( ) -> vmmigration.DatacenterConnector: r"""Gets details of a single DatacenterConnector. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1838,8 +1826,7 @@ def create_datacenter_connector( ) -> operation.Operation: r"""Creates a new DatacenterConnector in a given Source. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -1968,8 +1955,7 @@ def delete_datacenter_connector( ) -> operation.Operation: r"""Deletes a single DatacenterConnector. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2088,8 +2074,7 @@ def create_migrating_vm( ) -> operation.Operation: r"""Creates a new MigratingVm in a given Source. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2206,8 +2191,7 @@ def list_migrating_vms( ) -> pagers.ListMigratingVmsPager: r"""Lists MigratingVms in a given Source. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2308,8 +2292,7 @@ def get_migrating_vm( ) -> vmmigration.MigratingVm: r"""Gets details of a single MigratingVm. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2401,8 +2384,7 @@ def update_migrating_vm( ) -> operation.Operation: r"""Updates the parameters of a single MigratingVm. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2518,8 +2500,7 @@ def delete_migrating_vm( ) -> operation.Operation: r"""Deletes a single MigratingVm. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2637,8 +2618,7 @@ def start_migration( cycles scheduled by the policy. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2750,8 +2730,7 @@ def resume_migration( snapshots. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2841,8 +2820,7 @@ def pause_migration( while the VM is paused. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -2932,8 +2910,7 @@ def finalize_migration( after cutover is done. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3042,8 +3019,7 @@ def create_clone_job( ) -> operation.Operation: r"""Initiates a Clone of a specific migrating VM. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3172,8 +3148,7 @@ def cancel_clone_job( ) -> operation.Operation: r"""Initiates the cancellation of a running clone job. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3276,8 +3251,7 @@ def list_clone_jobs( ) -> pagers.ListCloneJobsPager: r"""Lists CloneJobs of a given migrating VM. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3378,8 +3352,7 @@ def get_clone_job( ) -> vmmigration.CloneJob: r"""Gets details of a single CloneJob. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3484,8 +3457,7 @@ def create_cutover_job( resource is created and the job is initiated. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3604,8 +3576,7 @@ def cancel_cutover_job( ) -> operation.Operation: r"""Initiates the cancellation of a running cutover job. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3708,8 +3679,7 @@ def list_cutover_jobs( ) -> pagers.ListCutoverJobsPager: r"""Lists CutoverJobs of a given migrating VM. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3810,8 +3780,7 @@ def get_cutover_job( ) -> vmmigration.CutoverJob: r"""Gets details of a single CutoverJob. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -3903,8 +3872,7 @@ def list_groups( ) -> pagers.ListGroupsPager: r"""Lists Groups in a given project and location. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4005,8 +3973,7 @@ def get_group( ) -> vmmigration.Group: r"""Gets details of a single Group. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4097,8 +4064,7 @@ def create_group( ) -> operation.Operation: r"""Creates a new Group in a given project and location. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4216,8 +4182,7 @@ def update_group( ) -> operation.Operation: r"""Updates the parameters of a single Group. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4333,8 +4298,7 @@ def delete_group( ) -> operation.Operation: r"""Deletes a single Group. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4447,8 +4411,7 @@ def add_group_migration( ) -> operation.Operation: r"""Adds a MigratingVm to a Group. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4553,8 +4516,7 @@ def remove_group_migration( ) -> operation.Operation: r"""Removes a MigratingVm from a Group. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4661,8 +4623,7 @@ def list_target_projects( supported value for location is ``global``. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4767,8 +4728,7 @@ def get_target_project( supported value for location is ``global``. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4863,8 +4823,7 @@ def create_target_project( supported value for location is ``global``. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -4986,8 +4945,7 @@ def update_target_project( supported value for location is ``global``. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 @@ -5107,8 +5065,7 @@ def delete_target_project( supported value for location is ``global``. - - .. code-block:: + .. code-block:: python from google.cloud import vmmigration_v1 diff --git a/google/cloud/vmmigration_v1/services/vm_migration/pagers.py b/google/cloud/vmmigration_v1/services/vm_migration/pagers.py index 9917239..ba9ee79 100644 --- a/google/cloud/vmmigration_v1/services/vm_migration/pagers.py +++ b/google/cloud/vmmigration_v1/services/vm_migration/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/vmmigration_v1/services/vm_migration/transports/__init__.py b/google/cloud/vmmigration_v1/services/vm_migration/transports/__init__.py index 27bf173..5a7eb2c 100644 --- a/google/cloud/vmmigration_v1/services/vm_migration/transports/__init__.py +++ b/google/cloud/vmmigration_v1/services/vm_migration/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/vmmigration_v1/services/vm_migration/transports/base.py b/google/cloud/vmmigration_v1/services/vm_migration/transports/base.py index 10e9667..1d6f8dd 100644 --- a/google/cloud/vmmigration_v1/services/vm_migration/transports/base.py +++ b/google/cloud/vmmigration_v1/services/vm_migration/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/vmmigration_v1/services/vm_migration/transports/grpc.py b/google/cloud/vmmigration_v1/services/vm_migration/transports/grpc.py index 671bb7d..f9e0937 100644 --- a/google/cloud/vmmigration_v1/services/vm_migration/transports/grpc.py +++ b/google/cloud/vmmigration_v1/services/vm_migration/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/vmmigration_v1/services/vm_migration/transports/grpc_asyncio.py b/google/cloud/vmmigration_v1/services/vm_migration/transports/grpc_asyncio.py index 25bd19b..6be0785 100644 --- a/google/cloud/vmmigration_v1/services/vm_migration/transports/grpc_asyncio.py +++ b/google/cloud/vmmigration_v1/services/vm_migration/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/vmmigration_v1/types/__init__.py b/google/cloud/vmmigration_v1/types/__init__.py index 9f5a6d9..b43f1c9 100644 --- a/google/cloud/vmmigration_v1/types/__init__.py +++ b/google/cloud/vmmigration_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/vmmigration_v1/types/vmmigration.py b/google/cloud/vmmigration_v1/types/vmmigration.py index 7becaed..058d519 100644 --- a/google/cloud/vmmigration_v1/types/vmmigration.py +++ b/google/cloud/vmmigration_v1/types/vmmigration.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/snippet_metadata_vmmigration_v1.json b/samples/generated_samples/snippet_metadata_vmmigration_v1.json index bfd6da3..b747054 100644 --- a/samples/generated_samples/snippet_metadata_vmmigration_v1.json +++ b/samples/generated_samples/snippet_metadata_vmmigration_v1.json @@ -10,8 +10,8 @@ "shortName": "AddGroupMigration" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_add_group_migration_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_AddGroupMigration_async", + "file": "vmmigration_v1_generated_vm_migration_add_group_migration_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_AddGroupMigration_async", "segments": [ { "end": 48, @@ -54,8 +54,8 @@ "shortName": "AddGroupMigration" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_add_group_migration_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_AddGroupMigration_sync", + "file": "vmmigration_v1_generated_vm_migration_add_group_migration_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_AddGroupMigration_sync", "segments": [ { "end": 48, @@ -99,8 +99,8 @@ "shortName": "CancelCloneJob" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_cancel_clone_job_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CancelCloneJob_async", + "file": "vmmigration_v1_generated_vm_migration_cancel_clone_job_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CancelCloneJob_async", "segments": [ { "end": 48, @@ -143,8 +143,8 @@ "shortName": "CancelCloneJob" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_cancel_clone_job_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CancelCloneJob_sync", + "file": "vmmigration_v1_generated_vm_migration_cancel_clone_job_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CancelCloneJob_sync", "segments": [ { "end": 48, @@ -188,8 +188,8 @@ "shortName": "CancelCutoverJob" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_cancel_cutover_job_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CancelCutoverJob_async", + "file": "vmmigration_v1_generated_vm_migration_cancel_cutover_job_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CancelCutoverJob_async", "segments": [ { "end": 48, @@ -232,8 +232,8 @@ "shortName": "CancelCutoverJob" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_cancel_cutover_job_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CancelCutoverJob_sync", + "file": "vmmigration_v1_generated_vm_migration_cancel_cutover_job_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CancelCutoverJob_sync", "segments": [ { "end": 48, @@ -277,8 +277,8 @@ "shortName": "CreateCloneJob" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_create_clone_job_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CreateCloneJob_async", + "file": "vmmigration_v1_generated_vm_migration_create_clone_job_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateCloneJob_async", "segments": [ { "end": 49, @@ -321,8 +321,8 @@ "shortName": "CreateCloneJob" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_create_clone_job_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CreateCloneJob_sync", + "file": "vmmigration_v1_generated_vm_migration_create_clone_job_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateCloneJob_sync", "segments": [ { "end": 49, @@ -366,8 +366,8 @@ "shortName": "CreateCutoverJob" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_create_cutover_job_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CreateCutoverJob_async", + "file": "vmmigration_v1_generated_vm_migration_create_cutover_job_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateCutoverJob_async", "segments": [ { "end": 49, @@ -410,8 +410,8 @@ "shortName": "CreateCutoverJob" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_create_cutover_job_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CreateCutoverJob_sync", + "file": "vmmigration_v1_generated_vm_migration_create_cutover_job_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateCutoverJob_sync", "segments": [ { "end": 49, @@ -455,8 +455,8 @@ "shortName": "CreateDatacenterConnector" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_create_datacenter_connector_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CreateDatacenterConnector_async", + "file": "vmmigration_v1_generated_vm_migration_create_datacenter_connector_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateDatacenterConnector_async", "segments": [ { "end": 49, @@ -499,8 +499,8 @@ "shortName": "CreateDatacenterConnector" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_create_datacenter_connector_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CreateDatacenterConnector_sync", + "file": "vmmigration_v1_generated_vm_migration_create_datacenter_connector_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateDatacenterConnector_sync", "segments": [ { "end": 49, @@ -544,8 +544,8 @@ "shortName": "CreateGroup" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_create_group_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CreateGroup_async", + "file": "vmmigration_v1_generated_vm_migration_create_group_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateGroup_async", "segments": [ { "end": 49, @@ -588,8 +588,8 @@ "shortName": "CreateGroup" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_create_group_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CreateGroup_sync", + "file": "vmmigration_v1_generated_vm_migration_create_group_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateGroup_sync", "segments": [ { "end": 49, @@ -633,8 +633,8 @@ "shortName": "CreateMigratingVm" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_create_migrating_vm_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CreateMigratingVm_async", + "file": "vmmigration_v1_generated_vm_migration_create_migrating_vm_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateMigratingVm_async", "segments": [ { "end": 49, @@ -677,8 +677,8 @@ "shortName": "CreateMigratingVm" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_create_migrating_vm_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CreateMigratingVm_sync", + "file": "vmmigration_v1_generated_vm_migration_create_migrating_vm_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateMigratingVm_sync", "segments": [ { "end": 49, @@ -722,8 +722,8 @@ "shortName": "CreateSource" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_create_source_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CreateSource_async", + "file": "vmmigration_v1_generated_vm_migration_create_source_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateSource_async", "segments": [ { "end": 49, @@ -766,8 +766,8 @@ "shortName": "CreateSource" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_create_source_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CreateSource_sync", + "file": "vmmigration_v1_generated_vm_migration_create_source_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateSource_sync", "segments": [ { "end": 49, @@ -811,8 +811,8 @@ "shortName": "CreateTargetProject" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_create_target_project_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CreateTargetProject_async", + "file": "vmmigration_v1_generated_vm_migration_create_target_project_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateTargetProject_async", "segments": [ { "end": 49, @@ -855,8 +855,8 @@ "shortName": "CreateTargetProject" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_create_target_project_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CreateTargetProject_sync", + "file": "vmmigration_v1_generated_vm_migration_create_target_project_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateTargetProject_sync", "segments": [ { "end": 49, @@ -900,8 +900,8 @@ "shortName": "CreateUtilizationReport" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_create_utilization_report_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CreateUtilizationReport_async", + "file": "vmmigration_v1_generated_vm_migration_create_utilization_report_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateUtilizationReport_async", "segments": [ { "end": 49, @@ -944,8 +944,8 @@ "shortName": "CreateUtilizationReport" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_create_utilization_report_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_CreateUtilizationReport_sync", + "file": "vmmigration_v1_generated_vm_migration_create_utilization_report_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateUtilizationReport_sync", "segments": [ { "end": 49, @@ -989,8 +989,8 @@ "shortName": "DeleteDatacenterConnector" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_delete_datacenter_connector_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_DeleteDatacenterConnector_async", + "file": "vmmigration_v1_generated_vm_migration_delete_datacenter_connector_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteDatacenterConnector_async", "segments": [ { "end": 48, @@ -1033,8 +1033,8 @@ "shortName": "DeleteDatacenterConnector" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_delete_datacenter_connector_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_DeleteDatacenterConnector_sync", + "file": "vmmigration_v1_generated_vm_migration_delete_datacenter_connector_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteDatacenterConnector_sync", "segments": [ { "end": 48, @@ -1078,8 +1078,8 @@ "shortName": "DeleteGroup" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_delete_group_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_DeleteGroup_async", + "file": "vmmigration_v1_generated_vm_migration_delete_group_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteGroup_async", "segments": [ { "end": 48, @@ -1122,8 +1122,8 @@ "shortName": "DeleteGroup" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_delete_group_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_DeleteGroup_sync", + "file": "vmmigration_v1_generated_vm_migration_delete_group_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteGroup_sync", "segments": [ { "end": 48, @@ -1167,8 +1167,8 @@ "shortName": "DeleteMigratingVm" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_delete_migrating_vm_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_DeleteMigratingVm_async", + "file": "vmmigration_v1_generated_vm_migration_delete_migrating_vm_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteMigratingVm_async", "segments": [ { "end": 48, @@ -1211,8 +1211,8 @@ "shortName": "DeleteMigratingVm" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_delete_migrating_vm_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_DeleteMigratingVm_sync", + "file": "vmmigration_v1_generated_vm_migration_delete_migrating_vm_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteMigratingVm_sync", "segments": [ { "end": 48, @@ -1256,8 +1256,8 @@ "shortName": "DeleteSource" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_delete_source_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_DeleteSource_async", + "file": "vmmigration_v1_generated_vm_migration_delete_source_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteSource_async", "segments": [ { "end": 48, @@ -1300,8 +1300,8 @@ "shortName": "DeleteSource" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_delete_source_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_DeleteSource_sync", + "file": "vmmigration_v1_generated_vm_migration_delete_source_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteSource_sync", "segments": [ { "end": 48, @@ -1345,8 +1345,8 @@ "shortName": "DeleteTargetProject" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_delete_target_project_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_DeleteTargetProject_async", + "file": "vmmigration_v1_generated_vm_migration_delete_target_project_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteTargetProject_async", "segments": [ { "end": 48, @@ -1389,8 +1389,8 @@ "shortName": "DeleteTargetProject" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_delete_target_project_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_DeleteTargetProject_sync", + "file": "vmmigration_v1_generated_vm_migration_delete_target_project_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteTargetProject_sync", "segments": [ { "end": 48, @@ -1434,8 +1434,8 @@ "shortName": "DeleteUtilizationReport" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_delete_utilization_report_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_DeleteUtilizationReport_async", + "file": "vmmigration_v1_generated_vm_migration_delete_utilization_report_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteUtilizationReport_async", "segments": [ { "end": 48, @@ -1478,8 +1478,8 @@ "shortName": "DeleteUtilizationReport" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_delete_utilization_report_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_DeleteUtilizationReport_sync", + "file": "vmmigration_v1_generated_vm_migration_delete_utilization_report_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteUtilizationReport_sync", "segments": [ { "end": 48, @@ -1523,8 +1523,8 @@ "shortName": "FetchInventory" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_fetch_inventory_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_FetchInventory_async", + "file": "vmmigration_v1_generated_vm_migration_fetch_inventory_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_FetchInventory_async", "segments": [ { "end": 44, @@ -1567,8 +1567,8 @@ "shortName": "FetchInventory" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_fetch_inventory_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_FetchInventory_sync", + "file": "vmmigration_v1_generated_vm_migration_fetch_inventory_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_FetchInventory_sync", "segments": [ { "end": 44, @@ -1612,8 +1612,8 @@ "shortName": "FinalizeMigration" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_finalize_migration_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_FinalizeMigration_async", + "file": "vmmigration_v1_generated_vm_migration_finalize_migration_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_FinalizeMigration_async", "segments": [ { "end": 48, @@ -1656,8 +1656,8 @@ "shortName": "FinalizeMigration" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_finalize_migration_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_FinalizeMigration_sync", + "file": "vmmigration_v1_generated_vm_migration_finalize_migration_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_FinalizeMigration_sync", "segments": [ { "end": 48, @@ -1701,8 +1701,8 @@ "shortName": "GetCloneJob" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_get_clone_job_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_GetCloneJob_async", + "file": "vmmigration_v1_generated_vm_migration_get_clone_job_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_GetCloneJob_async", "segments": [ { "end": 44, @@ -1745,8 +1745,8 @@ "shortName": "GetCloneJob" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_get_clone_job_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_GetCloneJob_sync", + "file": "vmmigration_v1_generated_vm_migration_get_clone_job_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_GetCloneJob_sync", "segments": [ { "end": 44, @@ -1790,8 +1790,8 @@ "shortName": "GetCutoverJob" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_get_cutover_job_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_GetCutoverJob_async", + "file": "vmmigration_v1_generated_vm_migration_get_cutover_job_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_GetCutoverJob_async", "segments": [ { "end": 44, @@ -1834,8 +1834,8 @@ "shortName": "GetCutoverJob" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_get_cutover_job_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_GetCutoverJob_sync", + "file": "vmmigration_v1_generated_vm_migration_get_cutover_job_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_GetCutoverJob_sync", "segments": [ { "end": 44, @@ -1879,8 +1879,8 @@ "shortName": "GetDatacenterConnector" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_get_datacenter_connector_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_GetDatacenterConnector_async", + "file": "vmmigration_v1_generated_vm_migration_get_datacenter_connector_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_GetDatacenterConnector_async", "segments": [ { "end": 44, @@ -1923,8 +1923,8 @@ "shortName": "GetDatacenterConnector" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_get_datacenter_connector_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_GetDatacenterConnector_sync", + "file": "vmmigration_v1_generated_vm_migration_get_datacenter_connector_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_GetDatacenterConnector_sync", "segments": [ { "end": 44, @@ -1968,8 +1968,8 @@ "shortName": "GetGroup" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_get_group_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_GetGroup_async", + "file": "vmmigration_v1_generated_vm_migration_get_group_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_GetGroup_async", "segments": [ { "end": 44, @@ -2012,8 +2012,8 @@ "shortName": "GetGroup" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_get_group_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_GetGroup_sync", + "file": "vmmigration_v1_generated_vm_migration_get_group_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_GetGroup_sync", "segments": [ { "end": 44, @@ -2057,8 +2057,8 @@ "shortName": "GetMigratingVm" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_get_migrating_vm_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_GetMigratingVm_async", + "file": "vmmigration_v1_generated_vm_migration_get_migrating_vm_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_GetMigratingVm_async", "segments": [ { "end": 44, @@ -2101,8 +2101,8 @@ "shortName": "GetMigratingVm" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_get_migrating_vm_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_GetMigratingVm_sync", + "file": "vmmigration_v1_generated_vm_migration_get_migrating_vm_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_GetMigratingVm_sync", "segments": [ { "end": 44, @@ -2146,8 +2146,8 @@ "shortName": "GetSource" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_get_source_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_GetSource_async", + "file": "vmmigration_v1_generated_vm_migration_get_source_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_GetSource_async", "segments": [ { "end": 44, @@ -2190,8 +2190,8 @@ "shortName": "GetSource" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_get_source_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_GetSource_sync", + "file": "vmmigration_v1_generated_vm_migration_get_source_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_GetSource_sync", "segments": [ { "end": 44, @@ -2235,8 +2235,8 @@ "shortName": "GetTargetProject" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_get_target_project_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_GetTargetProject_async", + "file": "vmmigration_v1_generated_vm_migration_get_target_project_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_GetTargetProject_async", "segments": [ { "end": 44, @@ -2279,8 +2279,8 @@ "shortName": "GetTargetProject" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_get_target_project_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_GetTargetProject_sync", + "file": "vmmigration_v1_generated_vm_migration_get_target_project_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_GetTargetProject_sync", "segments": [ { "end": 44, @@ -2324,8 +2324,8 @@ "shortName": "GetUtilizationReport" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_get_utilization_report_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_GetUtilizationReport_async", + "file": "vmmigration_v1_generated_vm_migration_get_utilization_report_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_GetUtilizationReport_async", "segments": [ { "end": 44, @@ -2368,8 +2368,8 @@ "shortName": "GetUtilizationReport" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_get_utilization_report_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_GetUtilizationReport_sync", + "file": "vmmigration_v1_generated_vm_migration_get_utilization_report_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_GetUtilizationReport_sync", "segments": [ { "end": 44, @@ -2413,8 +2413,8 @@ "shortName": "ListCloneJobs" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_list_clone_jobs_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ListCloneJobs_async", + "file": "vmmigration_v1_generated_vm_migration_list_clone_jobs_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ListCloneJobs_async", "segments": [ { "end": 46, @@ -2457,8 +2457,8 @@ "shortName": "ListCloneJobs" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_list_clone_jobs_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ListCloneJobs_sync", + "file": "vmmigration_v1_generated_vm_migration_list_clone_jobs_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ListCloneJobs_sync", "segments": [ { "end": 46, @@ -2502,8 +2502,8 @@ "shortName": "ListCutoverJobs" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_list_cutover_jobs_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ListCutoverJobs_async", + "file": "vmmigration_v1_generated_vm_migration_list_cutover_jobs_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ListCutoverJobs_async", "segments": [ { "end": 46, @@ -2546,8 +2546,8 @@ "shortName": "ListCutoverJobs" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_list_cutover_jobs_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ListCutoverJobs_sync", + "file": "vmmigration_v1_generated_vm_migration_list_cutover_jobs_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ListCutoverJobs_sync", "segments": [ { "end": 46, @@ -2591,8 +2591,8 @@ "shortName": "ListDatacenterConnectors" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_list_datacenter_connectors_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ListDatacenterConnectors_async", + "file": "vmmigration_v1_generated_vm_migration_list_datacenter_connectors_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ListDatacenterConnectors_async", "segments": [ { "end": 46, @@ -2635,8 +2635,8 @@ "shortName": "ListDatacenterConnectors" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_list_datacenter_connectors_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ListDatacenterConnectors_sync", + "file": "vmmigration_v1_generated_vm_migration_list_datacenter_connectors_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ListDatacenterConnectors_sync", "segments": [ { "end": 46, @@ -2680,8 +2680,8 @@ "shortName": "ListGroups" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_list_groups_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ListGroups_async", + "file": "vmmigration_v1_generated_vm_migration_list_groups_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ListGroups_async", "segments": [ { "end": 46, @@ -2724,8 +2724,8 @@ "shortName": "ListGroups" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_list_groups_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ListGroups_sync", + "file": "vmmigration_v1_generated_vm_migration_list_groups_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ListGroups_sync", "segments": [ { "end": 46, @@ -2769,8 +2769,8 @@ "shortName": "ListMigratingVms" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_list_migrating_vms_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ListMigratingVms_async", + "file": "vmmigration_v1_generated_vm_migration_list_migrating_vms_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ListMigratingVms_async", "segments": [ { "end": 46, @@ -2813,8 +2813,8 @@ "shortName": "ListMigratingVms" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_list_migrating_vms_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ListMigratingVms_sync", + "file": "vmmigration_v1_generated_vm_migration_list_migrating_vms_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ListMigratingVms_sync", "segments": [ { "end": 46, @@ -2858,8 +2858,8 @@ "shortName": "ListSources" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_list_sources_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ListSources_async", + "file": "vmmigration_v1_generated_vm_migration_list_sources_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ListSources_async", "segments": [ { "end": 46, @@ -2902,8 +2902,8 @@ "shortName": "ListSources" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_list_sources_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ListSources_sync", + "file": "vmmigration_v1_generated_vm_migration_list_sources_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ListSources_sync", "segments": [ { "end": 46, @@ -2947,8 +2947,8 @@ "shortName": "ListTargetProjects" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_list_target_projects_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ListTargetProjects_async", + "file": "vmmigration_v1_generated_vm_migration_list_target_projects_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ListTargetProjects_async", "segments": [ { "end": 46, @@ -2991,8 +2991,8 @@ "shortName": "ListTargetProjects" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_list_target_projects_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ListTargetProjects_sync", + "file": "vmmigration_v1_generated_vm_migration_list_target_projects_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ListTargetProjects_sync", "segments": [ { "end": 46, @@ -3036,8 +3036,8 @@ "shortName": "ListUtilizationReports" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_list_utilization_reports_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ListUtilizationReports_async", + "file": "vmmigration_v1_generated_vm_migration_list_utilization_reports_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ListUtilizationReports_async", "segments": [ { "end": 46, @@ -3080,8 +3080,8 @@ "shortName": "ListUtilizationReports" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_list_utilization_reports_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ListUtilizationReports_sync", + "file": "vmmigration_v1_generated_vm_migration_list_utilization_reports_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ListUtilizationReports_sync", "segments": [ { "end": 46, @@ -3125,8 +3125,8 @@ "shortName": "PauseMigration" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_pause_migration_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_PauseMigration_async", + "file": "vmmigration_v1_generated_vm_migration_pause_migration_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_PauseMigration_async", "segments": [ { "end": 48, @@ -3169,8 +3169,8 @@ "shortName": "PauseMigration" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_pause_migration_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_PauseMigration_sync", + "file": "vmmigration_v1_generated_vm_migration_pause_migration_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_PauseMigration_sync", "segments": [ { "end": 48, @@ -3214,8 +3214,8 @@ "shortName": "RemoveGroupMigration" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_remove_group_migration_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_RemoveGroupMigration_async", + "file": "vmmigration_v1_generated_vm_migration_remove_group_migration_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_RemoveGroupMigration_async", "segments": [ { "end": 48, @@ -3258,8 +3258,8 @@ "shortName": "RemoveGroupMigration" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_remove_group_migration_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_RemoveGroupMigration_sync", + "file": "vmmigration_v1_generated_vm_migration_remove_group_migration_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_RemoveGroupMigration_sync", "segments": [ { "end": 48, @@ -3303,8 +3303,8 @@ "shortName": "ResumeMigration" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_resume_migration_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ResumeMigration_async", + "file": "vmmigration_v1_generated_vm_migration_resume_migration_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ResumeMigration_async", "segments": [ { "end": 48, @@ -3347,8 +3347,8 @@ "shortName": "ResumeMigration" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_resume_migration_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_ResumeMigration_sync", + "file": "vmmigration_v1_generated_vm_migration_resume_migration_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_ResumeMigration_sync", "segments": [ { "end": 48, @@ -3392,8 +3392,8 @@ "shortName": "StartMigration" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_start_migration_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_StartMigration_async", + "file": "vmmigration_v1_generated_vm_migration_start_migration_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_StartMigration_async", "segments": [ { "end": 48, @@ -3436,8 +3436,8 @@ "shortName": "StartMigration" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_start_migration_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_StartMigration_sync", + "file": "vmmigration_v1_generated_vm_migration_start_migration_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_StartMigration_sync", "segments": [ { "end": 48, @@ -3481,8 +3481,8 @@ "shortName": "UpdateGroup" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_update_group_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_UpdateGroup_async", + "file": "vmmigration_v1_generated_vm_migration_update_group_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_UpdateGroup_async", "segments": [ { "end": 47, @@ -3525,8 +3525,8 @@ "shortName": "UpdateGroup" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_update_group_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_UpdateGroup_sync", + "file": "vmmigration_v1_generated_vm_migration_update_group_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_UpdateGroup_sync", "segments": [ { "end": 47, @@ -3570,8 +3570,8 @@ "shortName": "UpdateMigratingVm" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_update_migrating_vm_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_UpdateMigratingVm_async", + "file": "vmmigration_v1_generated_vm_migration_update_migrating_vm_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_UpdateMigratingVm_async", "segments": [ { "end": 47, @@ -3614,8 +3614,8 @@ "shortName": "UpdateMigratingVm" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_update_migrating_vm_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_UpdateMigratingVm_sync", + "file": "vmmigration_v1_generated_vm_migration_update_migrating_vm_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_UpdateMigratingVm_sync", "segments": [ { "end": 47, @@ -3659,8 +3659,8 @@ "shortName": "UpdateSource" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_update_source_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_UpdateSource_async", + "file": "vmmigration_v1_generated_vm_migration_update_source_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_UpdateSource_async", "segments": [ { "end": 47, @@ -3703,8 +3703,8 @@ "shortName": "UpdateSource" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_update_source_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_UpdateSource_sync", + "file": "vmmigration_v1_generated_vm_migration_update_source_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_UpdateSource_sync", "segments": [ { "end": 47, @@ -3748,8 +3748,8 @@ "shortName": "UpdateTargetProject" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_update_target_project_async.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_UpdateTargetProject_async", + "file": "vmmigration_v1_generated_vm_migration_update_target_project_async.py", + "regionTag": "vmmigration_v1_generated_VmMigration_UpdateTargetProject_async", "segments": [ { "end": 47, @@ -3792,8 +3792,8 @@ "shortName": "UpdateTargetProject" } }, - "file": "vmmigration_generated_vmmigration_v1_vm_migration_update_target_project_sync.py", - "regionTag": "vmmigration_generated_vmmigration_v1_VmMigration_UpdateTargetProject_sync", + "file": "vmmigration_v1_generated_vm_migration_update_target_project_sync.py", + "regionTag": "vmmigration_v1_generated_VmMigration_UpdateTargetProject_sync", "segments": [ { "end": 47, diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_add_group_migration_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_add_group_migration_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_add_group_migration_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_add_group_migration_async.py index 45cb4ca..aeb8e7f 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_add_group_migration_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_add_group_migration_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_AddGroupMigration_async] +# [START vmmigration_v1_generated_VmMigration_AddGroupMigration_async] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ async def sample_add_group_migration(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_AddGroupMigration_async] +# [END vmmigration_v1_generated_VmMigration_AddGroupMigration_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_add_group_migration_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_add_group_migration_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_add_group_migration_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_add_group_migration_sync.py index d014da3..48efe2a 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_add_group_migration_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_add_group_migration_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_AddGroupMigration_sync] +# [START vmmigration_v1_generated_VmMigration_AddGroupMigration_sync] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ def sample_add_group_migration(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_AddGroupMigration_sync] +# [END vmmigration_v1_generated_VmMigration_AddGroupMigration_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_cancel_clone_job_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_cancel_clone_job_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_cancel_clone_job_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_cancel_clone_job_async.py index 2ba3b24..2188a62 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_cancel_clone_job_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_cancel_clone_job_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CancelCloneJob_async] +# [START vmmigration_v1_generated_VmMigration_CancelCloneJob_async] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ async def sample_cancel_clone_job(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CancelCloneJob_async] +# [END vmmigration_v1_generated_VmMigration_CancelCloneJob_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_cancel_clone_job_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_cancel_clone_job_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_cancel_clone_job_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_cancel_clone_job_sync.py index e43ebd7..f17e568 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_cancel_clone_job_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_cancel_clone_job_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CancelCloneJob_sync] +# [START vmmigration_v1_generated_VmMigration_CancelCloneJob_sync] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ def sample_cancel_clone_job(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CancelCloneJob_sync] +# [END vmmigration_v1_generated_VmMigration_CancelCloneJob_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_cancel_cutover_job_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_cancel_cutover_job_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_cancel_cutover_job_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_cancel_cutover_job_async.py index 0689546..fbc8eba 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_cancel_cutover_job_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_cancel_cutover_job_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CancelCutoverJob_async] +# [START vmmigration_v1_generated_VmMigration_CancelCutoverJob_async] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ async def sample_cancel_cutover_job(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CancelCutoverJob_async] +# [END vmmigration_v1_generated_VmMigration_CancelCutoverJob_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_cancel_cutover_job_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_cancel_cutover_job_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_cancel_cutover_job_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_cancel_cutover_job_sync.py index e56bdba..34d6613 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_cancel_cutover_job_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_cancel_cutover_job_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CancelCutoverJob_sync] +# [START vmmigration_v1_generated_VmMigration_CancelCutoverJob_sync] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ def sample_cancel_cutover_job(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CancelCutoverJob_sync] +# [END vmmigration_v1_generated_VmMigration_CancelCutoverJob_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_clone_job_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_clone_job_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_clone_job_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_create_clone_job_async.py index 1f0b4e9..be879a2 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_clone_job_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_clone_job_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CreateCloneJob_async] +# [START vmmigration_v1_generated_VmMigration_CreateCloneJob_async] from google.cloud import vmmigration_v1 @@ -47,4 +47,4 @@ async def sample_create_clone_job(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CreateCloneJob_async] +# [END vmmigration_v1_generated_VmMigration_CreateCloneJob_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_clone_job_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_clone_job_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_clone_job_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_create_clone_job_sync.py index b0d5533..b8e1d65 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_clone_job_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_clone_job_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CreateCloneJob_sync] +# [START vmmigration_v1_generated_VmMigration_CreateCloneJob_sync] from google.cloud import vmmigration_v1 @@ -47,4 +47,4 @@ def sample_create_clone_job(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CreateCloneJob_sync] +# [END vmmigration_v1_generated_VmMigration_CreateCloneJob_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_cutover_job_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_cutover_job_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_cutover_job_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_create_cutover_job_async.py index 57703ec..caf28e3 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_cutover_job_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_cutover_job_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CreateCutoverJob_async] +# [START vmmigration_v1_generated_VmMigration_CreateCutoverJob_async] from google.cloud import vmmigration_v1 @@ -47,4 +47,4 @@ async def sample_create_cutover_job(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CreateCutoverJob_async] +# [END vmmigration_v1_generated_VmMigration_CreateCutoverJob_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_cutover_job_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_cutover_job_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_cutover_job_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_create_cutover_job_sync.py index 0f13741..271a0da 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_cutover_job_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_cutover_job_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CreateCutoverJob_sync] +# [START vmmigration_v1_generated_VmMigration_CreateCutoverJob_sync] from google.cloud import vmmigration_v1 @@ -47,4 +47,4 @@ def sample_create_cutover_job(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CreateCutoverJob_sync] +# [END vmmigration_v1_generated_VmMigration_CreateCutoverJob_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_datacenter_connector_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_datacenter_connector_async.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_datacenter_connector_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_create_datacenter_connector_async.py index e983cc3..08a9f54 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_datacenter_connector_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_datacenter_connector_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CreateDatacenterConnector_async] +# [START vmmigration_v1_generated_VmMigration_CreateDatacenterConnector_async] from google.cloud import vmmigration_v1 @@ -47,4 +47,4 @@ async def sample_create_datacenter_connector(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CreateDatacenterConnector_async] +# [END vmmigration_v1_generated_VmMigration_CreateDatacenterConnector_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_datacenter_connector_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_datacenter_connector_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_datacenter_connector_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_create_datacenter_connector_sync.py index 68b6df2..c32f9ba 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_datacenter_connector_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_datacenter_connector_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CreateDatacenterConnector_sync] +# [START vmmigration_v1_generated_VmMigration_CreateDatacenterConnector_sync] from google.cloud import vmmigration_v1 @@ -47,4 +47,4 @@ def sample_create_datacenter_connector(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CreateDatacenterConnector_sync] +# [END vmmigration_v1_generated_VmMigration_CreateDatacenterConnector_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_group_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_group_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_group_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_create_group_async.py index d6feed0..96610a3 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_group_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_group_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CreateGroup_async] +# [START vmmigration_v1_generated_VmMigration_CreateGroup_async] from google.cloud import vmmigration_v1 @@ -47,4 +47,4 @@ async def sample_create_group(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CreateGroup_async] +# [END vmmigration_v1_generated_VmMigration_CreateGroup_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_group_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_group_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_group_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_create_group_sync.py index 1facf1f..557e3b3 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_group_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_group_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CreateGroup_sync] +# [START vmmigration_v1_generated_VmMigration_CreateGroup_sync] from google.cloud import vmmigration_v1 @@ -47,4 +47,4 @@ def sample_create_group(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CreateGroup_sync] +# [END vmmigration_v1_generated_VmMigration_CreateGroup_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_migrating_vm_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_migrating_vm_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_migrating_vm_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_create_migrating_vm_async.py index 35c3712..9f973cd 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_migrating_vm_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_migrating_vm_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CreateMigratingVm_async] +# [START vmmigration_v1_generated_VmMigration_CreateMigratingVm_async] from google.cloud import vmmigration_v1 @@ -47,4 +47,4 @@ async def sample_create_migrating_vm(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CreateMigratingVm_async] +# [END vmmigration_v1_generated_VmMigration_CreateMigratingVm_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_migrating_vm_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_migrating_vm_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_migrating_vm_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_create_migrating_vm_sync.py index da6e9bf..4a54b59 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_migrating_vm_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_migrating_vm_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CreateMigratingVm_sync] +# [START vmmigration_v1_generated_VmMigration_CreateMigratingVm_sync] from google.cloud import vmmigration_v1 @@ -47,4 +47,4 @@ def sample_create_migrating_vm(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CreateMigratingVm_sync] +# [END vmmigration_v1_generated_VmMigration_CreateMigratingVm_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_source_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_source_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_source_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_create_source_async.py index dc04b4f..d5c6af1 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_source_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_source_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CreateSource_async] +# [START vmmigration_v1_generated_VmMigration_CreateSource_async] from google.cloud import vmmigration_v1 @@ -47,4 +47,4 @@ async def sample_create_source(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CreateSource_async] +# [END vmmigration_v1_generated_VmMigration_CreateSource_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_source_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_source_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_source_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_create_source_sync.py index d72be42..f7256eb 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_source_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_source_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CreateSource_sync] +# [START vmmigration_v1_generated_VmMigration_CreateSource_sync] from google.cloud import vmmigration_v1 @@ -47,4 +47,4 @@ def sample_create_source(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CreateSource_sync] +# [END vmmigration_v1_generated_VmMigration_CreateSource_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_target_project_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_target_project_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_target_project_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_create_target_project_async.py index 1489bae..f77c5a8 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_target_project_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_target_project_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CreateTargetProject_async] +# [START vmmigration_v1_generated_VmMigration_CreateTargetProject_async] from google.cloud import vmmigration_v1 @@ -47,4 +47,4 @@ async def sample_create_target_project(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CreateTargetProject_async] +# [END vmmigration_v1_generated_VmMigration_CreateTargetProject_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_target_project_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_target_project_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_target_project_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_create_target_project_sync.py index 67a117c..25d5db7 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_target_project_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_target_project_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CreateTargetProject_sync] +# [START vmmigration_v1_generated_VmMigration_CreateTargetProject_sync] from google.cloud import vmmigration_v1 @@ -47,4 +47,4 @@ def sample_create_target_project(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CreateTargetProject_sync] +# [END vmmigration_v1_generated_VmMigration_CreateTargetProject_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_utilization_report_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_utilization_report_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_utilization_report_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_create_utilization_report_async.py index 8f824cf..f70361f 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_utilization_report_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_utilization_report_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CreateUtilizationReport_async] +# [START vmmigration_v1_generated_VmMigration_CreateUtilizationReport_async] from google.cloud import vmmigration_v1 @@ -47,4 +47,4 @@ async def sample_create_utilization_report(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CreateUtilizationReport_async] +# [END vmmigration_v1_generated_VmMigration_CreateUtilizationReport_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_utilization_report_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_utilization_report_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_utilization_report_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_create_utilization_report_sync.py index 8d06a42..f471f0b 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_create_utilization_report_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_create_utilization_report_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_CreateUtilizationReport_sync] +# [START vmmigration_v1_generated_VmMigration_CreateUtilizationReport_sync] from google.cloud import vmmigration_v1 @@ -47,4 +47,4 @@ def sample_create_utilization_report(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_CreateUtilizationReport_sync] +# [END vmmigration_v1_generated_VmMigration_CreateUtilizationReport_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_datacenter_connector_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_datacenter_connector_async.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_datacenter_connector_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_datacenter_connector_async.py index 1b0c473..2cd60b4 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_datacenter_connector_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_datacenter_connector_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_DeleteDatacenterConnector_async] +# [START vmmigration_v1_generated_VmMigration_DeleteDatacenterConnector_async] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ async def sample_delete_datacenter_connector(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_DeleteDatacenterConnector_async] +# [END vmmigration_v1_generated_VmMigration_DeleteDatacenterConnector_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_datacenter_connector_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_datacenter_connector_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_datacenter_connector_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_datacenter_connector_sync.py index fade4f5..a9192af 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_datacenter_connector_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_datacenter_connector_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_DeleteDatacenterConnector_sync] +# [START vmmigration_v1_generated_VmMigration_DeleteDatacenterConnector_sync] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ def sample_delete_datacenter_connector(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_DeleteDatacenterConnector_sync] +# [END vmmigration_v1_generated_VmMigration_DeleteDatacenterConnector_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_group_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_group_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_group_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_group_async.py index 7a6c73e..49d50f1 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_group_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_group_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_DeleteGroup_async] +# [START vmmigration_v1_generated_VmMigration_DeleteGroup_async] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ async def sample_delete_group(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_DeleteGroup_async] +# [END vmmigration_v1_generated_VmMigration_DeleteGroup_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_group_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_group_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_group_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_group_sync.py index 6c5e464..db3c253 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_group_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_group_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_DeleteGroup_sync] +# [START vmmigration_v1_generated_VmMigration_DeleteGroup_sync] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ def sample_delete_group(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_DeleteGroup_sync] +# [END vmmigration_v1_generated_VmMigration_DeleteGroup_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_migrating_vm_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_migrating_vm_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_migrating_vm_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_migrating_vm_async.py index 17dca7b..0aead73 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_migrating_vm_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_migrating_vm_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_DeleteMigratingVm_async] +# [START vmmigration_v1_generated_VmMigration_DeleteMigratingVm_async] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ async def sample_delete_migrating_vm(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_DeleteMigratingVm_async] +# [END vmmigration_v1_generated_VmMigration_DeleteMigratingVm_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_migrating_vm_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_migrating_vm_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_migrating_vm_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_migrating_vm_sync.py index 1c71443..e19a3d7 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_migrating_vm_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_migrating_vm_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_DeleteMigratingVm_sync] +# [START vmmigration_v1_generated_VmMigration_DeleteMigratingVm_sync] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ def sample_delete_migrating_vm(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_DeleteMigratingVm_sync] +# [END vmmigration_v1_generated_VmMigration_DeleteMigratingVm_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_source_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_source_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_source_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_source_async.py index a0e2014..808ef0f 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_source_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_source_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_DeleteSource_async] +# [START vmmigration_v1_generated_VmMigration_DeleteSource_async] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ async def sample_delete_source(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_DeleteSource_async] +# [END vmmigration_v1_generated_VmMigration_DeleteSource_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_source_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_source_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_source_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_source_sync.py index 7b8d7e2..4abee38 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_source_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_source_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_DeleteSource_sync] +# [START vmmigration_v1_generated_VmMigration_DeleteSource_sync] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ def sample_delete_source(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_DeleteSource_sync] +# [END vmmigration_v1_generated_VmMigration_DeleteSource_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_target_project_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_target_project_async.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_target_project_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_target_project_async.py index 02dcde6..e4c9d41 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_target_project_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_target_project_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_DeleteTargetProject_async] +# [START vmmigration_v1_generated_VmMigration_DeleteTargetProject_async] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ async def sample_delete_target_project(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_DeleteTargetProject_async] +# [END vmmigration_v1_generated_VmMigration_DeleteTargetProject_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_target_project_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_target_project_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_target_project_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_target_project_sync.py index e6b39fa..644a908 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_target_project_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_target_project_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_DeleteTargetProject_sync] +# [START vmmigration_v1_generated_VmMigration_DeleteTargetProject_sync] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ def sample_delete_target_project(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_DeleteTargetProject_sync] +# [END vmmigration_v1_generated_VmMigration_DeleteTargetProject_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_utilization_report_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_utilization_report_async.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_utilization_report_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_utilization_report_async.py index 2fad030..62ab310 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_utilization_report_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_utilization_report_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_DeleteUtilizationReport_async] +# [START vmmigration_v1_generated_VmMigration_DeleteUtilizationReport_async] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ async def sample_delete_utilization_report(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_DeleteUtilizationReport_async] +# [END vmmigration_v1_generated_VmMigration_DeleteUtilizationReport_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_utilization_report_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_utilization_report_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_utilization_report_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_utilization_report_sync.py index 3f97c86..2e2d05c 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_delete_utilization_report_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_delete_utilization_report_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_DeleteUtilizationReport_sync] +# [START vmmigration_v1_generated_VmMigration_DeleteUtilizationReport_sync] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ def sample_delete_utilization_report(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_DeleteUtilizationReport_sync] +# [END vmmigration_v1_generated_VmMigration_DeleteUtilizationReport_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_fetch_inventory_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_fetch_inventory_async.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_fetch_inventory_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_fetch_inventory_async.py index 5288652..1fbf53a 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_fetch_inventory_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_fetch_inventory_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_FetchInventory_async] +# [START vmmigration_v1_generated_VmMigration_FetchInventory_async] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ async def sample_fetch_inventory(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_FetchInventory_async] +# [END vmmigration_v1_generated_VmMigration_FetchInventory_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_fetch_inventory_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_fetch_inventory_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_fetch_inventory_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_fetch_inventory_sync.py index fe133a1..7978f2a 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_fetch_inventory_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_fetch_inventory_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_FetchInventory_sync] +# [START vmmigration_v1_generated_VmMigration_FetchInventory_sync] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ def sample_fetch_inventory(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_FetchInventory_sync] +# [END vmmigration_v1_generated_VmMigration_FetchInventory_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_finalize_migration_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_finalize_migration_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_finalize_migration_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_finalize_migration_async.py index cc57000..120ec5b 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_finalize_migration_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_finalize_migration_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_FinalizeMigration_async] +# [START vmmigration_v1_generated_VmMigration_FinalizeMigration_async] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ async def sample_finalize_migration(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_FinalizeMigration_async] +# [END vmmigration_v1_generated_VmMigration_FinalizeMigration_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_finalize_migration_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_finalize_migration_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_finalize_migration_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_finalize_migration_sync.py index 297181b..ddf67a6 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_finalize_migration_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_finalize_migration_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_FinalizeMigration_sync] +# [START vmmigration_v1_generated_VmMigration_FinalizeMigration_sync] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ def sample_finalize_migration(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_FinalizeMigration_sync] +# [END vmmigration_v1_generated_VmMigration_FinalizeMigration_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_clone_job_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_clone_job_async.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_clone_job_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_get_clone_job_async.py index b30e948..05c5a88 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_clone_job_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_clone_job_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_GetCloneJob_async] +# [START vmmigration_v1_generated_VmMigration_GetCloneJob_async] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ async def sample_get_clone_job(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_GetCloneJob_async] +# [END vmmigration_v1_generated_VmMigration_GetCloneJob_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_clone_job_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_clone_job_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_clone_job_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_get_clone_job_sync.py index 6aa9502..da3ec05 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_clone_job_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_clone_job_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_GetCloneJob_sync] +# [START vmmigration_v1_generated_VmMigration_GetCloneJob_sync] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ def sample_get_clone_job(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_GetCloneJob_sync] +# [END vmmigration_v1_generated_VmMigration_GetCloneJob_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_cutover_job_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_cutover_job_async.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_cutover_job_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_get_cutover_job_async.py index 3e380da..2df0b97 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_cutover_job_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_cutover_job_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_GetCutoverJob_async] +# [START vmmigration_v1_generated_VmMigration_GetCutoverJob_async] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ async def sample_get_cutover_job(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_GetCutoverJob_async] +# [END vmmigration_v1_generated_VmMigration_GetCutoverJob_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_cutover_job_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_cutover_job_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_cutover_job_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_get_cutover_job_sync.py index 7ebc1c5..b30e229 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_cutover_job_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_cutover_job_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_GetCutoverJob_sync] +# [START vmmigration_v1_generated_VmMigration_GetCutoverJob_sync] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ def sample_get_cutover_job(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_GetCutoverJob_sync] +# [END vmmigration_v1_generated_VmMigration_GetCutoverJob_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_datacenter_connector_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_datacenter_connector_async.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_datacenter_connector_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_get_datacenter_connector_async.py index 37ab8f0..a089a65 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_datacenter_connector_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_datacenter_connector_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_GetDatacenterConnector_async] +# [START vmmigration_v1_generated_VmMigration_GetDatacenterConnector_async] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ async def sample_get_datacenter_connector(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_GetDatacenterConnector_async] +# [END vmmigration_v1_generated_VmMigration_GetDatacenterConnector_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_datacenter_connector_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_datacenter_connector_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_datacenter_connector_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_get_datacenter_connector_sync.py index 1c4de81..790f1d7 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_datacenter_connector_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_datacenter_connector_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_GetDatacenterConnector_sync] +# [START vmmigration_v1_generated_VmMigration_GetDatacenterConnector_sync] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ def sample_get_datacenter_connector(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_GetDatacenterConnector_sync] +# [END vmmigration_v1_generated_VmMigration_GetDatacenterConnector_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_group_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_group_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_group_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_get_group_async.py index 69e1bf2..b534c22 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_group_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_group_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_GetGroup_async] +# [START vmmigration_v1_generated_VmMigration_GetGroup_async] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ async def sample_get_group(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_GetGroup_async] +# [END vmmigration_v1_generated_VmMigration_GetGroup_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_group_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_group_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_group_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_get_group_sync.py index 3b6ff29..4fe64bd 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_group_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_group_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_GetGroup_sync] +# [START vmmigration_v1_generated_VmMigration_GetGroup_sync] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ def sample_get_group(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_GetGroup_sync] +# [END vmmigration_v1_generated_VmMigration_GetGroup_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_migrating_vm_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_migrating_vm_async.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_migrating_vm_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_get_migrating_vm_async.py index d6f0f91..79ac89a 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_migrating_vm_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_migrating_vm_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_GetMigratingVm_async] +# [START vmmigration_v1_generated_VmMigration_GetMigratingVm_async] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ async def sample_get_migrating_vm(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_GetMigratingVm_async] +# [END vmmigration_v1_generated_VmMigration_GetMigratingVm_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_migrating_vm_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_migrating_vm_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_migrating_vm_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_get_migrating_vm_sync.py index e5cf3d0..7824055 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_migrating_vm_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_migrating_vm_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_GetMigratingVm_sync] +# [START vmmigration_v1_generated_VmMigration_GetMigratingVm_sync] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ def sample_get_migrating_vm(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_GetMigratingVm_sync] +# [END vmmigration_v1_generated_VmMigration_GetMigratingVm_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_source_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_source_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_source_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_get_source_async.py index 95a1829..ca9c62b 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_source_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_source_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_GetSource_async] +# [START vmmigration_v1_generated_VmMigration_GetSource_async] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ async def sample_get_source(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_GetSource_async] +# [END vmmigration_v1_generated_VmMigration_GetSource_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_source_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_source_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_source_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_get_source_sync.py index d757e63..401b530 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_source_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_source_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_GetSource_sync] +# [START vmmigration_v1_generated_VmMigration_GetSource_sync] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ def sample_get_source(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_GetSource_sync] +# [END vmmigration_v1_generated_VmMigration_GetSource_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_target_project_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_target_project_async.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_target_project_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_get_target_project_async.py index 2f889b8..aec8905 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_target_project_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_target_project_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_GetTargetProject_async] +# [START vmmigration_v1_generated_VmMigration_GetTargetProject_async] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ async def sample_get_target_project(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_GetTargetProject_async] +# [END vmmigration_v1_generated_VmMigration_GetTargetProject_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_target_project_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_target_project_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_target_project_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_get_target_project_sync.py index 14b05e6..37f6743 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_target_project_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_target_project_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_GetTargetProject_sync] +# [START vmmigration_v1_generated_VmMigration_GetTargetProject_sync] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ def sample_get_target_project(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_GetTargetProject_sync] +# [END vmmigration_v1_generated_VmMigration_GetTargetProject_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_utilization_report_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_utilization_report_async.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_utilization_report_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_get_utilization_report_async.py index b70210a..3ae41f2 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_utilization_report_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_utilization_report_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_GetUtilizationReport_async] +# [START vmmigration_v1_generated_VmMigration_GetUtilizationReport_async] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ async def sample_get_utilization_report(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_GetUtilizationReport_async] +# [END vmmigration_v1_generated_VmMigration_GetUtilizationReport_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_utilization_report_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_utilization_report_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_utilization_report_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_get_utilization_report_sync.py index 12d21fd..39d84f7 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_get_utilization_report_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_get_utilization_report_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_GetUtilizationReport_sync] +# [START vmmigration_v1_generated_VmMigration_GetUtilizationReport_sync] from google.cloud import vmmigration_v1 @@ -42,4 +42,4 @@ def sample_get_utilization_report(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_GetUtilizationReport_sync] +# [END vmmigration_v1_generated_VmMigration_GetUtilizationReport_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_clone_jobs_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_clone_jobs_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_clone_jobs_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_list_clone_jobs_async.py index 19fc954..b32794f 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_clone_jobs_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_clone_jobs_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ListCloneJobs_async] +# [START vmmigration_v1_generated_VmMigration_ListCloneJobs_async] from google.cloud import vmmigration_v1 @@ -44,4 +44,4 @@ async def sample_list_clone_jobs(): async for response in page_result: print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ListCloneJobs_async] +# [END vmmigration_v1_generated_VmMigration_ListCloneJobs_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_clone_jobs_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_clone_jobs_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_clone_jobs_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_list_clone_jobs_sync.py index 129c461..9a9b5f7 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_clone_jobs_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_clone_jobs_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ListCloneJobs_sync] +# [START vmmigration_v1_generated_VmMigration_ListCloneJobs_sync] from google.cloud import vmmigration_v1 @@ -44,4 +44,4 @@ def sample_list_clone_jobs(): for response in page_result: print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ListCloneJobs_sync] +# [END vmmigration_v1_generated_VmMigration_ListCloneJobs_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_cutover_jobs_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_cutover_jobs_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_cutover_jobs_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_list_cutover_jobs_async.py index 92e3fd0..1fb3816 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_cutover_jobs_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_cutover_jobs_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ListCutoverJobs_async] +# [START vmmigration_v1_generated_VmMigration_ListCutoverJobs_async] from google.cloud import vmmigration_v1 @@ -44,4 +44,4 @@ async def sample_list_cutover_jobs(): async for response in page_result: print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ListCutoverJobs_async] +# [END vmmigration_v1_generated_VmMigration_ListCutoverJobs_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_cutover_jobs_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_cutover_jobs_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_cutover_jobs_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_list_cutover_jobs_sync.py index 7dd681a..82b840b 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_cutover_jobs_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_cutover_jobs_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ListCutoverJobs_sync] +# [START vmmigration_v1_generated_VmMigration_ListCutoverJobs_sync] from google.cloud import vmmigration_v1 @@ -44,4 +44,4 @@ def sample_list_cutover_jobs(): for response in page_result: print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ListCutoverJobs_sync] +# [END vmmigration_v1_generated_VmMigration_ListCutoverJobs_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_datacenter_connectors_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_datacenter_connectors_async.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_datacenter_connectors_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_list_datacenter_connectors_async.py index 741d5ab..527d126 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_datacenter_connectors_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_datacenter_connectors_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ListDatacenterConnectors_async] +# [START vmmigration_v1_generated_VmMigration_ListDatacenterConnectors_async] from google.cloud import vmmigration_v1 @@ -44,4 +44,4 @@ async def sample_list_datacenter_connectors(): async for response in page_result: print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ListDatacenterConnectors_async] +# [END vmmigration_v1_generated_VmMigration_ListDatacenterConnectors_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_datacenter_connectors_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_datacenter_connectors_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_datacenter_connectors_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_list_datacenter_connectors_sync.py index 75f6a4b..05732e2 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_datacenter_connectors_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_datacenter_connectors_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ListDatacenterConnectors_sync] +# [START vmmigration_v1_generated_VmMigration_ListDatacenterConnectors_sync] from google.cloud import vmmigration_v1 @@ -44,4 +44,4 @@ def sample_list_datacenter_connectors(): for response in page_result: print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ListDatacenterConnectors_sync] +# [END vmmigration_v1_generated_VmMigration_ListDatacenterConnectors_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_groups_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_groups_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_groups_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_list_groups_async.py index 5b0f6be..b23f75b 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_groups_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_groups_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ListGroups_async] +# [START vmmigration_v1_generated_VmMigration_ListGroups_async] from google.cloud import vmmigration_v1 @@ -44,4 +44,4 @@ async def sample_list_groups(): async for response in page_result: print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ListGroups_async] +# [END vmmigration_v1_generated_VmMigration_ListGroups_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_groups_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_groups_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_groups_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_list_groups_sync.py index 887a5e5..2101b65 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_groups_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_groups_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ListGroups_sync] +# [START vmmigration_v1_generated_VmMigration_ListGroups_sync] from google.cloud import vmmigration_v1 @@ -44,4 +44,4 @@ def sample_list_groups(): for response in page_result: print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ListGroups_sync] +# [END vmmigration_v1_generated_VmMigration_ListGroups_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_migrating_vms_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_migrating_vms_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_migrating_vms_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_list_migrating_vms_async.py index 73c5a5f..1a1239e 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_migrating_vms_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_migrating_vms_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ListMigratingVms_async] +# [START vmmigration_v1_generated_VmMigration_ListMigratingVms_async] from google.cloud import vmmigration_v1 @@ -44,4 +44,4 @@ async def sample_list_migrating_vms(): async for response in page_result: print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ListMigratingVms_async] +# [END vmmigration_v1_generated_VmMigration_ListMigratingVms_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_migrating_vms_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_migrating_vms_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_migrating_vms_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_list_migrating_vms_sync.py index 0d665c6..62ef817 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_migrating_vms_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_migrating_vms_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ListMigratingVms_sync] +# [START vmmigration_v1_generated_VmMigration_ListMigratingVms_sync] from google.cloud import vmmigration_v1 @@ -44,4 +44,4 @@ def sample_list_migrating_vms(): for response in page_result: print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ListMigratingVms_sync] +# [END vmmigration_v1_generated_VmMigration_ListMigratingVms_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_sources_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_sources_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_sources_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_list_sources_async.py index 7c03f2a..fc3c599 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_sources_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_sources_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ListSources_async] +# [START vmmigration_v1_generated_VmMigration_ListSources_async] from google.cloud import vmmigration_v1 @@ -44,4 +44,4 @@ async def sample_list_sources(): async for response in page_result: print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ListSources_async] +# [END vmmigration_v1_generated_VmMigration_ListSources_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_sources_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_sources_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_sources_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_list_sources_sync.py index deccf14..bb3925b 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_sources_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_sources_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ListSources_sync] +# [START vmmigration_v1_generated_VmMigration_ListSources_sync] from google.cloud import vmmigration_v1 @@ -44,4 +44,4 @@ def sample_list_sources(): for response in page_result: print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ListSources_sync] +# [END vmmigration_v1_generated_VmMigration_ListSources_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_target_projects_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_target_projects_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_target_projects_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_list_target_projects_async.py index f3789a2..15f63f6 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_target_projects_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_target_projects_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ListTargetProjects_async] +# [START vmmigration_v1_generated_VmMigration_ListTargetProjects_async] from google.cloud import vmmigration_v1 @@ -44,4 +44,4 @@ async def sample_list_target_projects(): async for response in page_result: print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ListTargetProjects_async] +# [END vmmigration_v1_generated_VmMigration_ListTargetProjects_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_target_projects_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_target_projects_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_target_projects_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_list_target_projects_sync.py index c8fd613..9e69486 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_target_projects_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_target_projects_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ListTargetProjects_sync] +# [START vmmigration_v1_generated_VmMigration_ListTargetProjects_sync] from google.cloud import vmmigration_v1 @@ -44,4 +44,4 @@ def sample_list_target_projects(): for response in page_result: print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ListTargetProjects_sync] +# [END vmmigration_v1_generated_VmMigration_ListTargetProjects_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_utilization_reports_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_utilization_reports_async.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_utilization_reports_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_list_utilization_reports_async.py index babed04..46640b2 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_utilization_reports_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_utilization_reports_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ListUtilizationReports_async] +# [START vmmigration_v1_generated_VmMigration_ListUtilizationReports_async] from google.cloud import vmmigration_v1 @@ -44,4 +44,4 @@ async def sample_list_utilization_reports(): async for response in page_result: print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ListUtilizationReports_async] +# [END vmmigration_v1_generated_VmMigration_ListUtilizationReports_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_utilization_reports_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_utilization_reports_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_utilization_reports_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_list_utilization_reports_sync.py index 30bde23..935e14a 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_list_utilization_reports_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_list_utilization_reports_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ListUtilizationReports_sync] +# [START vmmigration_v1_generated_VmMigration_ListUtilizationReports_sync] from google.cloud import vmmigration_v1 @@ -44,4 +44,4 @@ def sample_list_utilization_reports(): for response in page_result: print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ListUtilizationReports_sync] +# [END vmmigration_v1_generated_VmMigration_ListUtilizationReports_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_pause_migration_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_pause_migration_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_pause_migration_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_pause_migration_async.py index 6d84d8b..6cbde0b 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_pause_migration_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_pause_migration_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_PauseMigration_async] +# [START vmmigration_v1_generated_VmMigration_PauseMigration_async] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ async def sample_pause_migration(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_PauseMigration_async] +# [END vmmigration_v1_generated_VmMigration_PauseMigration_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_pause_migration_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_pause_migration_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_pause_migration_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_pause_migration_sync.py index 0936312..f6fb132 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_pause_migration_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_pause_migration_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_PauseMigration_sync] +# [START vmmigration_v1_generated_VmMigration_PauseMigration_sync] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ def sample_pause_migration(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_PauseMigration_sync] +# [END vmmigration_v1_generated_VmMigration_PauseMigration_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_remove_group_migration_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_remove_group_migration_async.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_remove_group_migration_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_remove_group_migration_async.py index 06d9fc0..358cde6 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_remove_group_migration_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_remove_group_migration_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_RemoveGroupMigration_async] +# [START vmmigration_v1_generated_VmMigration_RemoveGroupMigration_async] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ async def sample_remove_group_migration(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_RemoveGroupMigration_async] +# [END vmmigration_v1_generated_VmMigration_RemoveGroupMigration_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_remove_group_migration_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_remove_group_migration_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_remove_group_migration_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_remove_group_migration_sync.py index 84313d4..17e39aa 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_remove_group_migration_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_remove_group_migration_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_RemoveGroupMigration_sync] +# [START vmmigration_v1_generated_VmMigration_RemoveGroupMigration_sync] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ def sample_remove_group_migration(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_RemoveGroupMigration_sync] +# [END vmmigration_v1_generated_VmMigration_RemoveGroupMigration_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_resume_migration_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_resume_migration_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_resume_migration_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_resume_migration_async.py index 3d8d7d2..fc63cbd 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_resume_migration_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_resume_migration_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ResumeMigration_async] +# [START vmmigration_v1_generated_VmMigration_ResumeMigration_async] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ async def sample_resume_migration(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ResumeMigration_async] +# [END vmmigration_v1_generated_VmMigration_ResumeMigration_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_resume_migration_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_resume_migration_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_resume_migration_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_resume_migration_sync.py index 3bab73c..67d71d9 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_resume_migration_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_resume_migration_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_ResumeMigration_sync] +# [START vmmigration_v1_generated_VmMigration_ResumeMigration_sync] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ def sample_resume_migration(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_ResumeMigration_sync] +# [END vmmigration_v1_generated_VmMigration_ResumeMigration_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_start_migration_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_start_migration_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_start_migration_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_start_migration_async.py index 83993c4..61ab2bb 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_start_migration_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_start_migration_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_StartMigration_async] +# [START vmmigration_v1_generated_VmMigration_StartMigration_async] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ async def sample_start_migration(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_StartMigration_async] +# [END vmmigration_v1_generated_VmMigration_StartMigration_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_start_migration_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_start_migration_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_start_migration_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_start_migration_sync.py index ee82900..5f92008 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_start_migration_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_start_migration_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_StartMigration_sync] +# [START vmmigration_v1_generated_VmMigration_StartMigration_sync] from google.cloud import vmmigration_v1 @@ -46,4 +46,4 @@ def sample_start_migration(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_StartMigration_sync] +# [END vmmigration_v1_generated_VmMigration_StartMigration_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_group_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_update_group_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_group_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_update_group_async.py index 4bd6921..082f0b6 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_group_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_update_group_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_UpdateGroup_async] +# [START vmmigration_v1_generated_VmMigration_UpdateGroup_async] from google.cloud import vmmigration_v1 @@ -45,4 +45,4 @@ async def sample_update_group(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_UpdateGroup_async] +# [END vmmigration_v1_generated_VmMigration_UpdateGroup_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_group_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_update_group_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_group_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_update_group_sync.py index 23c1587..7f36635 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_group_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_update_group_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_UpdateGroup_sync] +# [START vmmigration_v1_generated_VmMigration_UpdateGroup_sync] from google.cloud import vmmigration_v1 @@ -45,4 +45,4 @@ def sample_update_group(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_UpdateGroup_sync] +# [END vmmigration_v1_generated_VmMigration_UpdateGroup_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_migrating_vm_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_update_migrating_vm_async.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_migrating_vm_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_update_migrating_vm_async.py index 27a39b2..f4f8078 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_migrating_vm_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_update_migrating_vm_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_UpdateMigratingVm_async] +# [START vmmigration_v1_generated_VmMigration_UpdateMigratingVm_async] from google.cloud import vmmigration_v1 @@ -45,4 +45,4 @@ async def sample_update_migrating_vm(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_UpdateMigratingVm_async] +# [END vmmigration_v1_generated_VmMigration_UpdateMigratingVm_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_migrating_vm_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_update_migrating_vm_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_migrating_vm_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_update_migrating_vm_sync.py index d686ad1..45cb96e 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_migrating_vm_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_update_migrating_vm_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_UpdateMigratingVm_sync] +# [START vmmigration_v1_generated_VmMigration_UpdateMigratingVm_sync] from google.cloud import vmmigration_v1 @@ -45,4 +45,4 @@ def sample_update_migrating_vm(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_UpdateMigratingVm_sync] +# [END vmmigration_v1_generated_VmMigration_UpdateMigratingVm_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_source_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_update_source_async.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_source_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_update_source_async.py index 84c6b97..4e278fa 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_source_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_update_source_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_UpdateSource_async] +# [START vmmigration_v1_generated_VmMigration_UpdateSource_async] from google.cloud import vmmigration_v1 @@ -45,4 +45,4 @@ async def sample_update_source(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_UpdateSource_async] +# [END vmmigration_v1_generated_VmMigration_UpdateSource_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_source_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_update_source_sync.py similarity index 88% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_source_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_update_source_sync.py index af9632c..c821fa1 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_source_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_update_source_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_UpdateSource_sync] +# [START vmmigration_v1_generated_VmMigration_UpdateSource_sync] from google.cloud import vmmigration_v1 @@ -45,4 +45,4 @@ def sample_update_source(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_UpdateSource_sync] +# [END vmmigration_v1_generated_VmMigration_UpdateSource_sync] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_target_project_async.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_update_target_project_async.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_target_project_async.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_update_target_project_async.py index 9a8b105..64c3892 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_target_project_async.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_update_target_project_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_UpdateTargetProject_async] +# [START vmmigration_v1_generated_VmMigration_UpdateTargetProject_async] from google.cloud import vmmigration_v1 @@ -45,4 +45,4 @@ async def sample_update_target_project(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_UpdateTargetProject_async] +# [END vmmigration_v1_generated_VmMigration_UpdateTargetProject_async] diff --git a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_target_project_sync.py b/samples/generated_samples/vmmigration_v1_generated_vm_migration_update_target_project_sync.py similarity index 87% rename from samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_target_project_sync.py rename to samples/generated_samples/vmmigration_v1_generated_vm_migration_update_target_project_sync.py index a11fe6b..56df052 100644 --- a/samples/generated_samples/vmmigration_generated_vmmigration_v1_vm_migration_update_target_project_sync.py +++ b/samples/generated_samples/vmmigration_v1_generated_vm_migration_update_target_project_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-vm-migration -# [START vmmigration_generated_vmmigration_v1_VmMigration_UpdateTargetProject_sync] +# [START vmmigration_v1_generated_VmMigration_UpdateTargetProject_sync] from google.cloud import vmmigration_v1 @@ -45,4 +45,4 @@ def sample_update_target_project(): # Handle the response print(response) -# [END vmmigration_generated_vmmigration_v1_VmMigration_UpdateTargetProject_sync] +# [END vmmigration_v1_generated_VmMigration_UpdateTargetProject_sync] diff --git a/scripts/fixup_vmmigration_v1_keywords.py b/scripts/fixup_vmmigration_v1_keywords.py index ec5fb33..5c1b694 100644 --- a/scripts/fixup_vmmigration_v1_keywords.py +++ b/scripts/fixup_vmmigration_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/setup.py b/setup.py index dc1443e..4b8cb5c 100644 --- a/setup.py +++ b/setup.py @@ -22,14 +22,14 @@ name = "google-cloud-vm-migration" description = "Cloud VM Migration API client library" -version = "1.1.0" +version = "1.1.1" url = "https://github.com/googleapis/python-vm-migration" release_status = "Development Status :: 5 - Production/Stable" dependencies = [ # NOTE: Maintainers, please do not require google-api-core>=2.x.x # Until this issue is closed # https://github.com/googleapis/google-cloud-python/issues/10566 - "google-api-core[grpc] >= 1.28.0, <3.0.0dev", + "google-api-core[grpc] >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0", "proto-plus >= 1.15.0", ] diff --git a/testing/constraints-3.6.txt b/testing/constraints-3.6.txt index 1e3ec8b..be5a64f 100644 --- a/testing/constraints-3.6.txt +++ b/testing/constraints-3.6.txt @@ -4,5 +4,5 @@ # 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 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/vmmigration_v1/__init__.py b/tests/unit/gapic/vmmigration_v1/__init__.py index 4de6597..e8e1c38 100644 --- a/tests/unit/gapic/vmmigration_v1/__init__.py +++ b/tests/unit/gapic/vmmigration_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/vmmigration_v1/test_vm_migration.py b/tests/unit/gapic/vmmigration_v1/test_vm_migration.py index c7e2ecd..e8f63c2 100644 --- a/tests/unit/gapic/vmmigration_v1/test_vm_migration.py +++ b/tests/unit/gapic/vmmigration_v1/test_vm_migration.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.