Skip to content

Commit

Permalink
chore: Update gapic-generator-python to v1.6.1 (#115)
Browse files Browse the repository at this point in the history
* 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

* 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: 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

* 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: 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

* 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>
  • Loading branch information
3 people committed Nov 23, 2022
1 parent 2030541 commit 7a85339
Show file tree
Hide file tree
Showing 28 changed files with 496 additions and 332 deletions.
1 change: 1 addition & 0 deletions packages/google-cloud-filestore/.github/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
releaseType: python
handleGHRelease: true
manifest: true
# NOTE: this section is generated by synthtool.languages.python
# See https://github.com/googleapis/synthtool/blob/master/synthtool/languages/python.py
branches:
Expand Down
3 changes: 3 additions & 0 deletions packages/google-cloud-filestore/.release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.2.3"
}
2 changes: 1 addition & 1 deletion packages/google-cloud-filestore/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys
import os
import shlex
import sys

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ Types for Google Cloud Filestore v1 API

.. automodule:: google.cloud.filestore_v1.types
:members:
:undoc-members:
:show-inheritance:
6 changes: 4 additions & 2 deletions packages/google-cloud-filestore/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

.. include:: multiprocessing.rst


API Reference
-------------
.. toctree::
Expand All @@ -10,12 +11,13 @@ API Reference
filestore_v1/services
filestore_v1/types


Changelog
---------

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

.. toctree::
:maxdepth: 2
:maxdepth: 2

changelog
changelog
45 changes: 20 additions & 25 deletions packages/google-cloud-filestore/google/cloud/filestore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,40 +13,35 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.filestore import gapic_version as package_version

__version__ = package_version.__version__


from google.cloud.filestore_v1.services.cloud_filestore_manager.client import (
CloudFilestoreManagerClient,
)
from google.cloud.filestore_v1.services.cloud_filestore_manager.async_client import (
CloudFilestoreManagerAsyncClient,
)

from google.cloud.filestore_v1.types.cloud_filestore_service import Backup
from google.cloud.filestore_v1.types.cloud_filestore_service import CreateBackupRequest
from google.cloud.filestore_v1.types.cloud_filestore_service import (
CreateInstanceRequest,
from google.cloud.filestore_v1.services.cloud_filestore_manager.client import (
CloudFilestoreManagerClient,
)
from google.cloud.filestore_v1.types.cloud_filestore_service import DeleteBackupRequest
from google.cloud.filestore_v1.types.cloud_filestore_service import (
Backup,
CreateBackupRequest,
CreateInstanceRequest,
DeleteBackupRequest,
DeleteInstanceRequest,
)
from google.cloud.filestore_v1.types.cloud_filestore_service import FileShareConfig
from google.cloud.filestore_v1.types.cloud_filestore_service import GetBackupRequest
from google.cloud.filestore_v1.types.cloud_filestore_service import GetInstanceRequest
from google.cloud.filestore_v1.types.cloud_filestore_service import Instance
from google.cloud.filestore_v1.types.cloud_filestore_service import ListBackupsRequest
from google.cloud.filestore_v1.types.cloud_filestore_service import ListBackupsResponse
from google.cloud.filestore_v1.types.cloud_filestore_service import ListInstancesRequest
from google.cloud.filestore_v1.types.cloud_filestore_service import (
FileShareConfig,
GetBackupRequest,
GetInstanceRequest,
Instance,
ListBackupsRequest,
ListBackupsResponse,
ListInstancesRequest,
ListInstancesResponse,
)
from google.cloud.filestore_v1.types.cloud_filestore_service import NetworkConfig
from google.cloud.filestore_v1.types.cloud_filestore_service import NfsExportOptions
from google.cloud.filestore_v1.types.cloud_filestore_service import (
NetworkConfig,
NfsExportOptions,
RestoreInstanceRequest,
)
from google.cloud.filestore_v1.types.cloud_filestore_service import UpdateBackupRequest
from google.cloud.filestore_v1.types.cloud_filestore_service import (
UpdateBackupRequest,
UpdateInstanceRequest,
)

Expand Down
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__ = "1.2.3" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,35 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.filestore import gapic_version as package_version

from .services.cloud_filestore_manager import CloudFilestoreManagerClient
from .services.cloud_filestore_manager import CloudFilestoreManagerAsyncClient
__version__ = package_version.__version__

from .types.cloud_filestore_service import Backup
from .types.cloud_filestore_service import CreateBackupRequest
from .types.cloud_filestore_service import CreateInstanceRequest
from .types.cloud_filestore_service import DeleteBackupRequest
from .types.cloud_filestore_service import DeleteInstanceRequest
from .types.cloud_filestore_service import FileShareConfig
from .types.cloud_filestore_service import GetBackupRequest
from .types.cloud_filestore_service import GetInstanceRequest
from .types.cloud_filestore_service import Instance
from .types.cloud_filestore_service import ListBackupsRequest
from .types.cloud_filestore_service import ListBackupsResponse
from .types.cloud_filestore_service import ListInstancesRequest
from .types.cloud_filestore_service import ListInstancesResponse
from .types.cloud_filestore_service import NetworkConfig
from .types.cloud_filestore_service import NfsExportOptions
from .types.cloud_filestore_service import RestoreInstanceRequest
from .types.cloud_filestore_service import UpdateBackupRequest
from .types.cloud_filestore_service import UpdateInstanceRequest

from .services.cloud_filestore_manager import (
CloudFilestoreManagerAsyncClient,
CloudFilestoreManagerClient,
)
from .types.cloud_filestore_service import (
Backup,
CreateBackupRequest,
CreateInstanceRequest,
DeleteBackupRequest,
DeleteInstanceRequest,
FileShareConfig,
GetBackupRequest,
GetInstanceRequest,
Instance,
ListBackupsRequest,
ListBackupsResponse,
ListInstancesRequest,
ListInstancesResponse,
NetworkConfig,
NfsExportOptions,
RestoreInstanceRequest,
UpdateBackupRequest,
UpdateInstanceRequest,
)

__all__ = (
"CloudFilestoreManagerAsyncClient",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from .client import CloudFilestoreManagerClient
from .async_client import CloudFilestoreManagerAsyncClient
from .client import CloudFilestoreManagerClient

__all__ = (
"CloudFilestoreManagerClient",
Expand Down
Loading

0 comments on commit 7a85339

Please sign in to comment.