Skip to content

Commit

Permalink
docs: fix minor docstring formatting (#38)
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

* 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

* docs: fix minor docstring formatting

PiperOrigin-RevId: 488759662

Source-Link: googleapis/googleapis@0f0eb8b

Source-Link: googleapis/googleapis-gen@a9f9383
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTlmOTM4MzQ4ODBjY2JmODg1MmY1ZWM1OWJlNjFiNDE5YTYwMWYzNCJ9

* 🦉 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 autogenerated setup.py

* configure release-please to use manifest

* 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 authored Nov 18, 2022
1 parent 5f3d426 commit b424262
Show file tree
Hide file tree
Showing 43 changed files with 597 additions and 1,551 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
releaseType: python
handleGHRelease: true
manifest: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.2.2"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ Types for Google Cloud Beyondcorp Appconnectors v1 API

.. automodule:: google.cloud.beyondcorp_appconnectors_v1.types
:members:
:undoc-members:
:show-inheritance:
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
@@ -0,0 +1,65 @@
# -*- 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.beyondcorp_appconnectors import gapic_version as package_version

__version__ = package_version.__version__


from google.cloud.beyondcorp_appconnectors_v1.services.app_connectors_service.async_client import (
AppConnectorsServiceAsyncClient,
)
from google.cloud.beyondcorp_appconnectors_v1.services.app_connectors_service.client import (
AppConnectorsServiceClient,
)
from google.cloud.beyondcorp_appconnectors_v1.types.app_connector_instance_config import (
AppConnectorInstanceConfig,
ImageConfig,
NotificationConfig,
)
from google.cloud.beyondcorp_appconnectors_v1.types.app_connectors_service import (
AppConnector,
AppConnectorOperationMetadata,
CreateAppConnectorRequest,
DeleteAppConnectorRequest,
GetAppConnectorRequest,
ListAppConnectorsRequest,
ListAppConnectorsResponse,
ReportStatusRequest,
UpdateAppConnectorRequest,
)
from google.cloud.beyondcorp_appconnectors_v1.types.resource_info import (
HealthStatus,
ResourceInfo,
)

__all__ = (
"AppConnectorsServiceClient",
"AppConnectorsServiceAsyncClient",
"AppConnectorInstanceConfig",
"ImageConfig",
"NotificationConfig",
"AppConnector",
"AppConnectorOperationMetadata",
"CreateAppConnectorRequest",
"DeleteAppConnectorRequest",
"GetAppConnectorRequest",
"ListAppConnectorsRequest",
"ListAppConnectorsResponse",
"ReportStatusRequest",
"UpdateAppConnectorRequest",
"ResourceInfo",
"HealthStatus",
)
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}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-beyondcorp-appconnectors package uses inline types.
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,32 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.beyondcorp_appconnectors import gapic_version as package_version

from .services.app_connectors_service import AppConnectorsServiceClient
from .services.app_connectors_service import AppConnectorsServiceAsyncClient
__version__ = package_version.__version__

from .types.app_connector_instance_config import AppConnectorInstanceConfig
from .types.app_connector_instance_config import ImageConfig
from .types.app_connector_instance_config import NotificationConfig
from .types.app_connectors_service import AppConnector
from .types.app_connectors_service import AppConnectorOperationMetadata
from .types.app_connectors_service import CreateAppConnectorRequest
from .types.app_connectors_service import DeleteAppConnectorRequest
from .types.app_connectors_service import GetAppConnectorRequest
from .types.app_connectors_service import ListAppConnectorsRequest
from .types.app_connectors_service import ListAppConnectorsResponse
from .types.app_connectors_service import ReportStatusRequest
from .types.app_connectors_service import UpdateAppConnectorRequest
from .types.resource_info import ResourceInfo
from .types.resource_info import HealthStatus

from .services.app_connectors_service import (
AppConnectorsServiceAsyncClient,
AppConnectorsServiceClient,
)
from .types.app_connector_instance_config import (
AppConnectorInstanceConfig,
ImageConfig,
NotificationConfig,
)
from .types.app_connectors_service import (
AppConnector,
AppConnectorOperationMetadata,
CreateAppConnectorRequest,
DeleteAppConnectorRequest,
GetAppConnectorRequest,
ListAppConnectorsRequest,
ListAppConnectorsResponse,
ReportStatusRequest,
UpdateAppConnectorRequest,
)
from .types.resource_info import HealthStatus, ResourceInfo

__all__ = (
"AppConnectorsServiceAsyncClient",
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 AppConnectorsServiceClient
from .async_client import AppConnectorsServiceAsyncClient
from .client import AppConnectorsServiceClient

__all__ = (
"AppConnectorsServiceClient",
Expand Down
Loading

0 comments on commit b424262

Please sign in to comment.