Skip to content

Commit

Permalink
feat: add Subscription resource and RPCs (#11753)
Browse files Browse the repository at this point in the history
BEGIN_COMMIT_OVERRIDE
feat: add Subscription resource and RPCs
END_COMMIT_OVERRIDE
- [ ] Regenerate this pull request now.

feat: add support for sharing_environment_config using which you can
create data clean rooms.
feat: support restricted egress on Listings.

PiperOrigin-RevId: 568259024

Source-Link:
googleapis/googleapis@26392c8

Source-Link:
googleapis/googleapis-gen@dbdc394
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJpZ3F1ZXJ5LWFuYWx5dGljc2h1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZGJkYzM5NGRjYWE2NzUxNzBhMWIwY2YzODU4ZjU2Yzk1ZTE3YjNhYSJ9

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: ohmayr <omairnaveed@ymail.com>
  • Loading branch information
3 people authored Sep 26, 2023
1 parent 030a767 commit a18915b
Show file tree
Hide file tree
Showing 32 changed files with 7,562 additions and 257 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-bigquery-analyticshub/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ Running System Tests
$ nox -s system

# Run a single system test
$ nox -s system- -- -k <name of test>
$ nox -s system-3.11 -- -k <name of test>


.. note::

System tests are only configured to run under Python.
System tests are only configured to run under Python 3.8, 3.9, 3.10 and 3.11.
For expediency, we do not run them in older versions of Python 3.

This alone will not run the tests. You'll need to change some local
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,35 @@
DataProvider,
DeleteDataExchangeRequest,
DeleteListingRequest,
DeleteSubscriptionRequest,
DestinationDataset,
DestinationDatasetReference,
GetDataExchangeRequest,
GetListingRequest,
GetSubscriptionRequest,
ListDataExchangesRequest,
ListDataExchangesResponse,
Listing,
ListListingsRequest,
ListListingsResponse,
ListOrgDataExchangesRequest,
ListOrgDataExchangesResponse,
ListSharedResourceSubscriptionsRequest,
ListSharedResourceSubscriptionsResponse,
ListSubscriptionsRequest,
ListSubscriptionsResponse,
OperationMetadata,
Publisher,
RefreshSubscriptionRequest,
RefreshSubscriptionResponse,
RevokeSubscriptionRequest,
RevokeSubscriptionResponse,
SharingEnvironmentConfig,
SubscribeDataExchangeRequest,
SubscribeDataExchangeResponse,
SubscribeListingRequest,
SubscribeListingResponse,
Subscription,
UpdateDataExchangeRequest,
UpdateListingRequest,
)
Expand All @@ -58,20 +73,35 @@
"DataProvider",
"DeleteDataExchangeRequest",
"DeleteListingRequest",
"DeleteSubscriptionRequest",
"DestinationDataset",
"DestinationDatasetReference",
"GetDataExchangeRequest",
"GetListingRequest",
"GetSubscriptionRequest",
"ListDataExchangesRequest",
"ListDataExchangesResponse",
"Listing",
"ListListingsRequest",
"ListListingsResponse",
"ListOrgDataExchangesRequest",
"ListOrgDataExchangesResponse",
"ListSharedResourceSubscriptionsRequest",
"ListSharedResourceSubscriptionsResponse",
"ListSubscriptionsRequest",
"ListSubscriptionsResponse",
"OperationMetadata",
"Publisher",
"RefreshSubscriptionRequest",
"RefreshSubscriptionResponse",
"RevokeSubscriptionRequest",
"RevokeSubscriptionResponse",
"SharingEnvironmentConfig",
"SubscribeDataExchangeRequest",
"SubscribeDataExchangeResponse",
"SubscribeListingRequest",
"SubscribeListingResponse",
"Subscription",
"UpdateDataExchangeRequest",
"UpdateListingRequest",
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.4.2" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,35 @@
DataProvider,
DeleteDataExchangeRequest,
DeleteListingRequest,
DeleteSubscriptionRequest,
DestinationDataset,
DestinationDatasetReference,
GetDataExchangeRequest,
GetListingRequest,
GetSubscriptionRequest,
ListDataExchangesRequest,
ListDataExchangesResponse,
Listing,
ListListingsRequest,
ListListingsResponse,
ListOrgDataExchangesRequest,
ListOrgDataExchangesResponse,
ListSharedResourceSubscriptionsRequest,
ListSharedResourceSubscriptionsResponse,
ListSubscriptionsRequest,
ListSubscriptionsResponse,
OperationMetadata,
Publisher,
RefreshSubscriptionRequest,
RefreshSubscriptionResponse,
RevokeSubscriptionRequest,
RevokeSubscriptionResponse,
SharingEnvironmentConfig,
SubscribeDataExchangeRequest,
SubscribeDataExchangeResponse,
SubscribeListingRequest,
SubscribeListingResponse,
Subscription,
UpdateDataExchangeRequest,
UpdateListingRequest,
)
Expand All @@ -56,20 +71,35 @@
"DataProvider",
"DeleteDataExchangeRequest",
"DeleteListingRequest",
"DeleteSubscriptionRequest",
"DestinationDataset",
"DestinationDatasetReference",
"GetDataExchangeRequest",
"GetListingRequest",
"GetSubscriptionRequest",
"ListDataExchangesRequest",
"ListDataExchangesResponse",
"ListListingsRequest",
"ListListingsResponse",
"ListOrgDataExchangesRequest",
"ListOrgDataExchangesResponse",
"ListSharedResourceSubscriptionsRequest",
"ListSharedResourceSubscriptionsResponse",
"ListSubscriptionsRequest",
"ListSubscriptionsResponse",
"Listing",
"OperationMetadata",
"Publisher",
"RefreshSubscriptionRequest",
"RefreshSubscriptionResponse",
"RevokeSubscriptionRequest",
"RevokeSubscriptionResponse",
"SharingEnvironmentConfig",
"SubscribeDataExchangeRequest",
"SubscribeDataExchangeResponse",
"SubscribeListingRequest",
"SubscribeListingResponse",
"Subscription",
"UpdateDataExchangeRequest",
"UpdateListingRequest",
)
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
"delete_listing"
]
},
"DeleteSubscription": {
"methods": [
"delete_subscription"
]
},
"GetDataExchange": {
"methods": [
"get_data_exchange"
Expand All @@ -45,6 +50,11 @@
"get_listing"
]
},
"GetSubscription": {
"methods": [
"get_subscription"
]
},
"ListDataExchanges": {
"methods": [
"list_data_exchanges"
Expand All @@ -60,11 +70,36 @@
"list_org_data_exchanges"
]
},
"ListSharedResourceSubscriptions": {
"methods": [
"list_shared_resource_subscriptions"
]
},
"ListSubscriptions": {
"methods": [
"list_subscriptions"
]
},
"RefreshSubscription": {
"methods": [
"refresh_subscription"
]
},
"RevokeSubscription": {
"methods": [
"revoke_subscription"
]
},
"SetIamPolicy": {
"methods": [
"set_iam_policy"
]
},
"SubscribeDataExchange": {
"methods": [
"subscribe_data_exchange"
]
},
"SubscribeListing": {
"methods": [
"subscribe_listing"
Expand Down Expand Up @@ -110,6 +145,11 @@
"delete_listing"
]
},
"DeleteSubscription": {
"methods": [
"delete_subscription"
]
},
"GetDataExchange": {
"methods": [
"get_data_exchange"
Expand All @@ -125,6 +165,11 @@
"get_listing"
]
},
"GetSubscription": {
"methods": [
"get_subscription"
]
},
"ListDataExchanges": {
"methods": [
"list_data_exchanges"
Expand All @@ -140,11 +185,36 @@
"list_org_data_exchanges"
]
},
"ListSharedResourceSubscriptions": {
"methods": [
"list_shared_resource_subscriptions"
]
},
"ListSubscriptions": {
"methods": [
"list_subscriptions"
]
},
"RefreshSubscription": {
"methods": [
"refresh_subscription"
]
},
"RevokeSubscription": {
"methods": [
"revoke_subscription"
]
},
"SetIamPolicy": {
"methods": [
"set_iam_policy"
]
},
"SubscribeDataExchange": {
"methods": [
"subscribe_data_exchange"
]
},
"SubscribeListing": {
"methods": [
"subscribe_listing"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.4.2" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Loading

0 comments on commit a18915b

Please sign in to comment.