Skip to content

Commit d2867f6

Browse files
chore: Update gapic-generator-python to v1.6.1 (#48)
* 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 * 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 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 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 c562006 commit d2867f6

File tree

29 files changed

+523
-325
lines changed

29 files changed

+523
-325
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
releaseType: python
22
handleGHRelease: true
3+
manifest: true
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.3.2"
3+
}

packages/google-cloud-bigquery-data-exchange/docs/bigquery_data_exchange_v1beta1/types.rst

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

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

packages/google-cloud-bigquery-data-exchange/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
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
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+
from google.cloud.bigquery_data_exchange import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
20+
21+
from google.cloud.bigquery_data_exchange_v1beta1.services.analytics_hub_service.async_client import (
22+
AnalyticsHubServiceAsyncClient,
23+
)
24+
from google.cloud.bigquery_data_exchange_v1beta1.services.analytics_hub_service.client import (
25+
AnalyticsHubServiceClient,
26+
)
27+
from google.cloud.bigquery_data_exchange_v1beta1.types.dataexchange import (
28+
CreateDataExchangeRequest,
29+
CreateListingRequest,
30+
DataExchange,
31+
DataProvider,
32+
DeleteDataExchangeRequest,
33+
DeleteListingRequest,
34+
DestinationDataset,
35+
DestinationDatasetReference,
36+
GetDataExchangeRequest,
37+
GetListingRequest,
38+
ListDataExchangesRequest,
39+
ListDataExchangesResponse,
40+
Listing,
41+
ListListingsRequest,
42+
ListListingsResponse,
43+
ListOrgDataExchangesRequest,
44+
ListOrgDataExchangesResponse,
45+
Publisher,
46+
SubscribeListingRequest,
47+
SubscribeListingResponse,
48+
UpdateDataExchangeRequest,
49+
UpdateListingRequest,
50+
)
51+
52+
__all__ = (
53+
"AnalyticsHubServiceClient",
54+
"AnalyticsHubServiceAsyncClient",
55+
"CreateDataExchangeRequest",
56+
"CreateListingRequest",
57+
"DataExchange",
58+
"DataProvider",
59+
"DeleteDataExchangeRequest",
60+
"DeleteListingRequest",
61+
"DestinationDataset",
62+
"DestinationDatasetReference",
63+
"GetDataExchangeRequest",
64+
"GetListingRequest",
65+
"ListDataExchangesRequest",
66+
"ListDataExchangesResponse",
67+
"Listing",
68+
"ListListingsRequest",
69+
"ListListingsResponse",
70+
"ListOrgDataExchangesRequest",
71+
"ListOrgDataExchangesResponse",
72+
"Publisher",
73+
"SubscribeListingRequest",
74+
"SubscribeListingResponse",
75+
"UpdateDataExchangeRequest",
76+
"UpdateListingRequest",
77+
)
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__ = "0.3.2" # {x-release-please-version}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Marker file for PEP 561.
2+
# The google-cloud-bigquery-data-exchange package uses inline types.

packages/google-cloud-bigquery-data-exchange/google/cloud/bigquery_data_exchange_v1beta1/__init__.py

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

17-
from .services.analytics_hub_service import AnalyticsHubServiceClient
18-
from .services.analytics_hub_service import AnalyticsHubServiceAsyncClient
18+
__version__ = package_version.__version__
1919

20-
from .types.dataexchange import CreateDataExchangeRequest
21-
from .types.dataexchange import CreateListingRequest
22-
from .types.dataexchange import DataExchange
23-
from .types.dataexchange import DataProvider
24-
from .types.dataexchange import DeleteDataExchangeRequest
25-
from .types.dataexchange import DeleteListingRequest
26-
from .types.dataexchange import DestinationDataset
27-
from .types.dataexchange import DestinationDatasetReference
28-
from .types.dataexchange import GetDataExchangeRequest
29-
from .types.dataexchange import GetListingRequest
30-
from .types.dataexchange import ListDataExchangesRequest
31-
from .types.dataexchange import ListDataExchangesResponse
32-
from .types.dataexchange import Listing
33-
from .types.dataexchange import ListListingsRequest
34-
from .types.dataexchange import ListListingsResponse
35-
from .types.dataexchange import ListOrgDataExchangesRequest
36-
from .types.dataexchange import ListOrgDataExchangesResponse
37-
from .types.dataexchange import Publisher
38-
from .types.dataexchange import SubscribeListingRequest
39-
from .types.dataexchange import SubscribeListingResponse
40-
from .types.dataexchange import UpdateDataExchangeRequest
41-
from .types.dataexchange import UpdateListingRequest
20+
21+
from .services.analytics_hub_service import (
22+
AnalyticsHubServiceAsyncClient,
23+
AnalyticsHubServiceClient,
24+
)
25+
from .types.dataexchange import (
26+
CreateDataExchangeRequest,
27+
CreateListingRequest,
28+
DataExchange,
29+
DataProvider,
30+
DeleteDataExchangeRequest,
31+
DeleteListingRequest,
32+
DestinationDataset,
33+
DestinationDatasetReference,
34+
GetDataExchangeRequest,
35+
GetListingRequest,
36+
ListDataExchangesRequest,
37+
ListDataExchangesResponse,
38+
Listing,
39+
ListListingsRequest,
40+
ListListingsResponse,
41+
ListOrgDataExchangesRequest,
42+
ListOrgDataExchangesResponse,
43+
Publisher,
44+
SubscribeListingRequest,
45+
SubscribeListingResponse,
46+
UpdateDataExchangeRequest,
47+
UpdateListingRequest,
48+
)
4249

4350
__all__ = (
4451
"AnalyticsHubServiceAsyncClient",

packages/google-cloud-bigquery-data-exchange/google/cloud/bigquery_data_exchange_v1beta1/common/types/common.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#
1616
import proto # type: ignore
1717

18-
1918
__protobuf__ = proto.module(
2019
package="google.cloud.bigquery.dataexchange.common",
2120
manifest={

packages/google-cloud-bigquery-data-exchange/google/cloud/bigquery_data_exchange_v1beta1/services/analytics_hub_service/__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 AnalyticsHubServiceClient
1716
from .async_client import AnalyticsHubServiceAsyncClient
17+
from .client import AnalyticsHubServiceClient
1818

1919
__all__ = (
2020
"AnalyticsHubServiceClient",

0 commit comments

Comments
 (0)