-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update gapic-generator-python to v1.6.1 (#35)
* chore: update to gapic-generator-python 1.5.0 feat: add support for `google.cloud.<api>.__version__` PiperOrigin-RevId: 484665853 Source-Link: googleapis/googleapis@8eb249a Source-Link: googleapis/googleapis-gen@c8aa327 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzhhYTMyN2I1ZjQ3ODg2NWZjM2ZkOTFlM2MyNzY4ZTU0ZTI2YWQ0NCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * add .release-please-manifest.json with correct version * chore: Update to gapic-generator-python 1.6.0 feat(python): Add typing to proto.Message based class attributes feat(python): Snippetgen handling of repeated enum field PiperOrigin-RevId: 487326846 Source-Link: googleapis/googleapis@da380c7 Source-Link: googleapis/googleapis-gen@61ef576 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjFlZjU3NjJlZTY3MzFhMGNiYmZlYTIyZmQwZWVjZWU1MWFiMWM4ZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: new APIs added to reflect updates to the filestore service - Add ENTERPRISE Tier - Add snapshot APIs: RevertInstance, ListSnapshots, CreateSnapshot, DeleteSnapshot, UpdateSnapshot - Add multi-share APIs: ListShares, GetShare, CreateShare, DeleteShare, UpdateShare - Add ConnectMode to NetworkConfig (for Private Service Access support) - New status codes (SUSPENDED/SUSPENDING, REVERTING/RESUMING) - Add SuspensionReason (for KMS related suspension) - Add new fields to Instance information: max_capacity_gb, capacity_step_size_gb, max_share_count, capacity_gb, multi_share_enabled PiperOrigin-RevId: 487492758 Source-Link: googleapis/googleapis@5be5981 Source-Link: googleapis/googleapis-gen@ab0e217 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWIwZTIxN2Y1NjBjYzJjMWFmYzExNDQxYzJlYWI2YjY5NTBlZmQyYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: Update gapic-generator-python to v1.6.1 PiperOrigin-RevId: 488036204 Source-Link: googleapis/googleapis@08f275f Source-Link: googleapis/googleapis-gen@555c094 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTU1YzA5NDVlNjA2NDllMzg3MzlhZTY0YmM0NTcxOWNkZjcyMTc4ZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * use templated owlbot.py and setup.py * run nox format session Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
- Loading branch information
1 parent
f34cacb
commit abd5e35
Showing
83 changed files
with
1,491 additions
and
5,891 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
releaseType: python | ||
handleGHRelease: true | ||
manifest: true |
3 changes: 3 additions & 0 deletions
3
packages/google-cloud-gke-backup/.release-please-manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
".": "0.2.2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
115 changes: 115 additions & 0 deletions
115
packages/google-cloud-gke-backup/google/cloud/gke_backup/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2022 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
from google.cloud.gke_backup import gapic_version as package_version | ||
|
||
__version__ = package_version.__version__ | ||
|
||
|
||
from google.cloud.gke_backup_v1.services.backup_for_gke.async_client import ( | ||
BackupForGKEAsyncClient, | ||
) | ||
from google.cloud.gke_backup_v1.services.backup_for_gke.client import BackupForGKEClient | ||
from google.cloud.gke_backup_v1.types.backup import Backup | ||
from google.cloud.gke_backup_v1.types.backup_plan import BackupPlan | ||
from google.cloud.gke_backup_v1.types.common import ( | ||
EncryptionKey, | ||
NamespacedName, | ||
NamespacedNames, | ||
Namespaces, | ||
) | ||
from google.cloud.gke_backup_v1.types.gkebackup import ( | ||
CreateBackupPlanRequest, | ||
CreateBackupRequest, | ||
CreateRestorePlanRequest, | ||
CreateRestoreRequest, | ||
DeleteBackupPlanRequest, | ||
DeleteBackupRequest, | ||
DeleteRestorePlanRequest, | ||
DeleteRestoreRequest, | ||
GetBackupPlanRequest, | ||
GetBackupRequest, | ||
GetRestorePlanRequest, | ||
GetRestoreRequest, | ||
GetVolumeBackupRequest, | ||
GetVolumeRestoreRequest, | ||
ListBackupPlansRequest, | ||
ListBackupPlansResponse, | ||
ListBackupsRequest, | ||
ListBackupsResponse, | ||
ListRestorePlansRequest, | ||
ListRestorePlansResponse, | ||
ListRestoresRequest, | ||
ListRestoresResponse, | ||
ListVolumeBackupsRequest, | ||
ListVolumeBackupsResponse, | ||
ListVolumeRestoresRequest, | ||
ListVolumeRestoresResponse, | ||
OperationMetadata, | ||
UpdateBackupPlanRequest, | ||
UpdateBackupRequest, | ||
UpdateRestorePlanRequest, | ||
UpdateRestoreRequest, | ||
) | ||
from google.cloud.gke_backup_v1.types.restore import Restore, RestoreConfig | ||
from google.cloud.gke_backup_v1.types.restore_plan import RestorePlan | ||
from google.cloud.gke_backup_v1.types.volume import VolumeBackup, VolumeRestore | ||
|
||
__all__ = ( | ||
"BackupForGKEClient", | ||
"BackupForGKEAsyncClient", | ||
"Backup", | ||
"BackupPlan", | ||
"EncryptionKey", | ||
"NamespacedName", | ||
"NamespacedNames", | ||
"Namespaces", | ||
"CreateBackupPlanRequest", | ||
"CreateBackupRequest", | ||
"CreateRestorePlanRequest", | ||
"CreateRestoreRequest", | ||
"DeleteBackupPlanRequest", | ||
"DeleteBackupRequest", | ||
"DeleteRestorePlanRequest", | ||
"DeleteRestoreRequest", | ||
"GetBackupPlanRequest", | ||
"GetBackupRequest", | ||
"GetRestorePlanRequest", | ||
"GetRestoreRequest", | ||
"GetVolumeBackupRequest", | ||
"GetVolumeRestoreRequest", | ||
"ListBackupPlansRequest", | ||
"ListBackupPlansResponse", | ||
"ListBackupsRequest", | ||
"ListBackupsResponse", | ||
"ListRestorePlansRequest", | ||
"ListRestorePlansResponse", | ||
"ListRestoresRequest", | ||
"ListRestoresResponse", | ||
"ListVolumeBackupsRequest", | ||
"ListVolumeBackupsResponse", | ||
"ListVolumeRestoresRequest", | ||
"ListVolumeRestoresResponse", | ||
"OperationMetadata", | ||
"UpdateBackupPlanRequest", | ||
"UpdateBackupRequest", | ||
"UpdateRestorePlanRequest", | ||
"UpdateRestoreRequest", | ||
"Restore", | ||
"RestoreConfig", | ||
"RestorePlan", | ||
"VolumeBackup", | ||
"VolumeRestore", | ||
) |
16 changes: 16 additions & 0 deletions
16
packages/google-cloud-gke-backup/google/cloud/gke_backup/gapic_version.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2022 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
__version__ = "0.2.2" # {x-release-please-version} |
2 changes: 2 additions & 0 deletions
2
packages/google-cloud-gke-backup/google/cloud/gke_backup/py.typed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Marker file for PEP 561. | ||
# The google-cloud-gke-backup package uses inline types. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.