Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Commit b427d60

Browse files
chore: Update gapic-generator-python to v1.6.1 (#115)
* 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: https://github.com/googleapis/googleapis-gen/commit/c8aa327b5f478865fc3fd91e3c2768e54e26ad44 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzhhYTMyN2I1ZjQ3ODg2NWZjM2ZkOTFlM2MyNzY4ZTU0ZTI2YWQ0NCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * update version in gapic_version.py * add .release-please-manifest.json with correct version * set manifest to true in .github/release-please.yml * add release-please-config.json * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 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: https://github.com/googleapis/googleapis-gen/commit/61ef5762ee6731a0cbbfea22fd0eecee51ab1c8e 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: https://github.com/googleapis/googleapis-gen/commit/ab0e217f560cc2c1afc11441c2eab6b6950efd2b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWIwZTIxN2Y1NjBjYzJjMWFmYzExNDQxYzJlYWI2YjY5NTBlZmQyYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * update path to snippet metadata json * chore: Update gapic-generator-python to v1.6.1 PiperOrigin-RevId: 488036204 Source-Link: googleapis/googleapis@08f275f Source-Link: https://github.com/googleapis/googleapis-gen/commit/555c0945e60649e38739ae64bc45719cdf72178f 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 * customize 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>
1 parent f6fccae commit b427d60

28 files changed

+496
-332
lines changed

.github/release-please.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
releaseType: python
22
handleGHRelease: true
3+
manifest: true
34
# NOTE: this section is generated by synthtool.languages.python
45
# See https://github.com/googleapis/synthtool/blob/master/synthtool/languages/python.py
56
branches:

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.2.3"
3+
}

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
# All configuration values have a default; values that are commented out
2525
# serve to show the default.
2626

27-
import sys
2827
import os
2928
import shlex
29+
import sys
3030

3131
# If extensions (or modules to document with autodoc) are in another directory,
3232
# add these directories to sys.path here. If the directory is relative to the

docs/filestore_v1/types.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ Types for Google Cloud Filestore v1 API
33

44
.. automodule:: google.cloud.filestore_v1.types
55
:members:
6-
:undoc-members:
76
:show-inheritance:

docs/index.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
.. include:: multiprocessing.rst
44

5+
56
API Reference
67
-------------
78
.. toctree::
@@ -10,12 +11,13 @@ API Reference
1011
filestore_v1/services
1112
filestore_v1/types
1213

14+
1315
Changelog
1416
---------
1517

1618
For a list of all ``google-cloud-filestore`` releases:
1719

1820
.. toctree::
19-
:maxdepth: 2
21+
:maxdepth: 2
2022

21-
changelog
23+
changelog

google/cloud/filestore/__init__.py

Lines changed: 20 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,40 +13,35 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from google.cloud.filestore import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
1620

17-
from google.cloud.filestore_v1.services.cloud_filestore_manager.client import (
18-
CloudFilestoreManagerClient,
19-
)
2021
from google.cloud.filestore_v1.services.cloud_filestore_manager.async_client import (
2122
CloudFilestoreManagerAsyncClient,
2223
)
23-
24-
from google.cloud.filestore_v1.types.cloud_filestore_service import Backup
25-
from google.cloud.filestore_v1.types.cloud_filestore_service import CreateBackupRequest
26-
from google.cloud.filestore_v1.types.cloud_filestore_service import (
27-
CreateInstanceRequest,
24+
from google.cloud.filestore_v1.services.cloud_filestore_manager.client import (
25+
CloudFilestoreManagerClient,
2826
)
29-
from google.cloud.filestore_v1.types.cloud_filestore_service import DeleteBackupRequest
3027
from google.cloud.filestore_v1.types.cloud_filestore_service import (
28+
Backup,
29+
CreateBackupRequest,
30+
CreateInstanceRequest,
31+
DeleteBackupRequest,
3132
DeleteInstanceRequest,
32-
)
33-
from google.cloud.filestore_v1.types.cloud_filestore_service import FileShareConfig
34-
from google.cloud.filestore_v1.types.cloud_filestore_service import GetBackupRequest
35-
from google.cloud.filestore_v1.types.cloud_filestore_service import GetInstanceRequest
36-
from google.cloud.filestore_v1.types.cloud_filestore_service import Instance
37-
from google.cloud.filestore_v1.types.cloud_filestore_service import ListBackupsRequest
38-
from google.cloud.filestore_v1.types.cloud_filestore_service import ListBackupsResponse
39-
from google.cloud.filestore_v1.types.cloud_filestore_service import ListInstancesRequest
40-
from google.cloud.filestore_v1.types.cloud_filestore_service import (
33+
FileShareConfig,
34+
GetBackupRequest,
35+
GetInstanceRequest,
36+
Instance,
37+
ListBackupsRequest,
38+
ListBackupsResponse,
39+
ListInstancesRequest,
4140
ListInstancesResponse,
42-
)
43-
from google.cloud.filestore_v1.types.cloud_filestore_service import NetworkConfig
44-
from google.cloud.filestore_v1.types.cloud_filestore_service import NfsExportOptions
45-
from google.cloud.filestore_v1.types.cloud_filestore_service import (
41+
NetworkConfig,
42+
NfsExportOptions,
4643
RestoreInstanceRequest,
47-
)
48-
from google.cloud.filestore_v1.types.cloud_filestore_service import UpdateBackupRequest
49-
from google.cloud.filestore_v1.types.cloud_filestore_service import (
44+
UpdateBackupRequest,
5045
UpdateInstanceRequest,
5146
)
5247

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2022 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
__version__ = "1.2.3" # {x-release-please-version}

google/cloud/filestore_v1/__init__.py

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,35 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from google.cloud.filestore import gapic_version as package_version
1617

17-
from .services.cloud_filestore_manager import CloudFilestoreManagerClient
18-
from .services.cloud_filestore_manager import CloudFilestoreManagerAsyncClient
18+
__version__ = package_version.__version__
1919

20-
from .types.cloud_filestore_service import Backup
21-
from .types.cloud_filestore_service import CreateBackupRequest
22-
from .types.cloud_filestore_service import CreateInstanceRequest
23-
from .types.cloud_filestore_service import DeleteBackupRequest
24-
from .types.cloud_filestore_service import DeleteInstanceRequest
25-
from .types.cloud_filestore_service import FileShareConfig
26-
from .types.cloud_filestore_service import GetBackupRequest
27-
from .types.cloud_filestore_service import GetInstanceRequest
28-
from .types.cloud_filestore_service import Instance
29-
from .types.cloud_filestore_service import ListBackupsRequest
30-
from .types.cloud_filestore_service import ListBackupsResponse
31-
from .types.cloud_filestore_service import ListInstancesRequest
32-
from .types.cloud_filestore_service import ListInstancesResponse
33-
from .types.cloud_filestore_service import NetworkConfig
34-
from .types.cloud_filestore_service import NfsExportOptions
35-
from .types.cloud_filestore_service import RestoreInstanceRequest
36-
from .types.cloud_filestore_service import UpdateBackupRequest
37-
from .types.cloud_filestore_service import UpdateInstanceRequest
20+
21+
from .services.cloud_filestore_manager import (
22+
CloudFilestoreManagerAsyncClient,
23+
CloudFilestoreManagerClient,
24+
)
25+
from .types.cloud_filestore_service import (
26+
Backup,
27+
CreateBackupRequest,
28+
CreateInstanceRequest,
29+
DeleteBackupRequest,
30+
DeleteInstanceRequest,
31+
FileShareConfig,
32+
GetBackupRequest,
33+
GetInstanceRequest,
34+
Instance,
35+
ListBackupsRequest,
36+
ListBackupsResponse,
37+
ListInstancesRequest,
38+
ListInstancesResponse,
39+
NetworkConfig,
40+
NfsExportOptions,
41+
RestoreInstanceRequest,
42+
UpdateBackupRequest,
43+
UpdateInstanceRequest,
44+
)
3845

3946
__all__ = (
4047
"CloudFilestoreManagerAsyncClient",

google/cloud/filestore_v1/services/cloud_filestore_manager/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
from .client import CloudFilestoreManagerClient
1716
from .async_client import CloudFilestoreManagerAsyncClient
17+
from .client import CloudFilestoreManagerClient
1818

1919
__all__ = (
2020
"CloudFilestoreManagerClient",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy