@@ -97,6 +97,14 @@ class AnalyticsHubServiceAsyncClient:
97
97
parse_dataset_path = staticmethod (AnalyticsHubServiceClient .parse_dataset_path )
98
98
listing_path = staticmethod (AnalyticsHubServiceClient .listing_path )
99
99
parse_listing_path = staticmethod (AnalyticsHubServiceClient .parse_listing_path )
100
+ managed_service_path = staticmethod (AnalyticsHubServiceClient .managed_service_path )
101
+ parse_managed_service_path = staticmethod (
102
+ AnalyticsHubServiceClient .parse_managed_service_path
103
+ )
104
+ order_path = staticmethod (AnalyticsHubServiceClient .order_path )
105
+ parse_order_path = staticmethod (AnalyticsHubServiceClient .parse_order_path )
106
+ routine_path = staticmethod (AnalyticsHubServiceClient .routine_path )
107
+ parse_routine_path = staticmethod (AnalyticsHubServiceClient .parse_routine_path )
100
108
subscription_path = staticmethod (AnalyticsHubServiceClient .subscription_path )
101
109
parse_subscription_path = staticmethod (
102
110
AnalyticsHubServiceClient .parse_subscription_path
@@ -366,7 +374,7 @@ async def sample_list_data_exchanges():
366
374
data exchanges.
367
375
parent (:class:`str`):
368
376
Required. The parent resource path of the data
369
- exchanges. e.g. ``projects/myproject/locations/US ``.
377
+ exchanges. e.g. ``projects/myproject/locations/us ``.
370
378
371
379
This corresponds to the ``parent`` field
372
380
on the ``request`` instance; if ``request`` is provided, this
@@ -495,7 +503,7 @@ async def sample_list_org_data_exchanges():
495
503
organization (:class:`str`):
496
504
Required. The organization resource path of the projects
497
505
containing DataExchanges. e.g.
498
- ``organizations/myorg/locations/US ``.
506
+ ``organizations/myorg/locations/us ``.
499
507
500
508
This corresponds to the ``organization`` field
501
509
on the ``request`` instance; if ``request`` is provided, this
@@ -623,7 +631,7 @@ async def sample_get_data_exchange():
623
631
The request object. Message for getting a data exchange.
624
632
name (:class:`str`):
625
633
Required. The resource name of the data exchange. e.g.
626
- ``projects/myproject/locations/US /dataExchanges/123``.
634
+ ``projects/myproject/locations/us /dataExchanges/123``.
627
635
628
636
This corresponds to the ``name`` field
629
637
on the ``request`` instance; if ``request`` is provided, this
@@ -742,7 +750,7 @@ async def sample_create_data_exchange():
742
750
The request object. Message for creating a data exchange.
743
751
parent (:class:`str`):
744
752
Required. The parent resource path of the data exchange.
745
- e.g. ``projects/myproject/locations/US ``.
753
+ e.g. ``projects/myproject/locations/us ``.
746
754
747
755
This corresponds to the ``parent`` field
748
756
on the ``request`` instance; if ``request`` is provided, this
@@ -992,7 +1000,7 @@ async def sample_delete_data_exchange():
992
1000
name (:class:`str`):
993
1001
Required. The full name of the data exchange resource
994
1002
that you want to delete. For example,
995
- ``projects/myproject/locations/US /dataExchanges/123``.
1003
+ ``projects/myproject/locations/us /dataExchanges/123``.
996
1004
997
1005
This corresponds to the ``name`` field
998
1006
on the ``request`` instance; if ``request`` is provided, this
@@ -1095,7 +1103,7 @@ async def sample_list_listings():
1095
1103
listings.
1096
1104
parent (:class:`str`):
1097
1105
Required. The parent resource path of the listing. e.g.
1098
- ``projects/myproject/locations/US /dataExchanges/123``.
1106
+ ``projects/myproject/locations/us /dataExchanges/123``.
1099
1107
1100
1108
This corresponds to the ``parent`` field
1101
1109
on the ``request`` instance; if ``request`` is provided, this
@@ -1219,7 +1227,7 @@ async def sample_get_listing():
1219
1227
The request object. Message for getting a listing.
1220
1228
name (:class:`str`):
1221
1229
Required. The resource name of the listing. e.g.
1222
- ``projects/myproject/locations/US /dataExchanges/123/listings/456``.
1230
+ ``projects/myproject/locations/us /dataExchanges/123/listings/456``.
1223
1231
1224
1232
This corresponds to the ``name`` field
1225
1233
on the ``request`` instance; if ``request`` is provided, this
@@ -1339,7 +1347,7 @@ async def sample_create_listing():
1339
1347
The request object. Message for creating a listing.
1340
1348
parent (:class:`str`):
1341
1349
Required. The parent resource path of the listing. e.g.
1342
- ``projects/myproject/locations/US /dataExchanges/123``.
1350
+ ``projects/myproject/locations/us /dataExchanges/123``.
1343
1351
1344
1352
This corresponds to the ``parent`` field
1345
1353
on the ``request`` instance; if ``request`` is provided, this
@@ -1586,7 +1594,7 @@ async def sample_delete_listing():
1586
1594
The request object. Message for deleting a listing.
1587
1595
name (:class:`str`):
1588
1596
Required. Resource name of the listing to delete. e.g.
1589
- ``projects/myproject/locations/US /dataExchanges/123/listings/456``.
1597
+ ``projects/myproject/locations/us /dataExchanges/123/listings/456``.
1590
1598
1591
1599
This corresponds to the ``name`` field
1592
1600
on the ``request`` instance; if ``request`` is provided, this
@@ -1700,7 +1708,7 @@ async def sample_subscribe_listing():
1700
1708
name (:class:`str`):
1701
1709
Required. Resource name of the listing that you want to
1702
1710
subscribe to. e.g.
1703
- ``projects/myproject/locations/US /dataExchanges/123/listings/456``.
1711
+ ``projects/myproject/locations/us /dataExchanges/123/listings/456``.
1704
1712
1705
1713
This corresponds to the ``name`` field
1706
1714
on the ``request`` instance; if ``request`` is provided, this
@@ -1781,7 +1789,8 @@ async def subscribe_data_exchange(
1781
1789
) -> operation_async .AsyncOperation :
1782
1790
r"""Creates a Subscription to a Data Clean Room. This is
1783
1791
a long-running operation as it will create one or more
1784
- linked datasets.
1792
+ linked datasets. Throws a Bad Request error if the Data
1793
+ Exchange does not contain any listings.
1785
1794
1786
1795
.. code-block:: python
1787
1796
@@ -1821,7 +1830,7 @@ async def sample_subscribe_data_exchange():
1821
1830
Exchange.
1822
1831
name (:class:`str`):
1823
1832
Required. Resource name of the Data Exchange. e.g.
1824
- ``projects/publisherproject/locations/US /dataExchanges/123``
1833
+ ``projects/publisherproject/locations/us /dataExchanges/123``
1825
1834
1826
1835
This corresponds to the ``name`` field
1827
1836
on the ``request`` instance; if ``request`` is provided, this
@@ -1952,7 +1961,7 @@ async def sample_refresh_subscription():
1952
1961
name (:class:`str`):
1953
1962
Required. Resource name of the Subscription to refresh.
1954
1963
e.g.
1955
- ``projects/subscriberproject/locations/US /subscriptions/123``
1964
+ ``projects/subscriberproject/locations/us /subscriptions/123``
1956
1965
1957
1966
This corresponds to the ``name`` field
1958
1967
on the ``request`` instance; if ``request`` is provided, this
@@ -2074,7 +2083,7 @@ async def sample_get_subscription():
2074
2083
name (:class:`str`):
2075
2084
Required. Resource name of the
2076
2085
subscription. e.g.
2077
- projects/123/locations/US /subscriptions/456
2086
+ projects/123/locations/us /subscriptions/456
2078
2087
2079
2088
This corresponds to the ``name`` field
2080
2089
on the ``request`` instance; if ``request`` is provided, this
@@ -2190,7 +2199,7 @@ async def sample_list_subscriptions():
2190
2199
parent (:class:`str`):
2191
2200
Required. The parent resource path of
2192
2201
the subscription. e.g.
2193
- projects/myproject/locations/US
2202
+ projects/myproject/locations/us
2194
2203
2195
2204
This corresponds to the ``parent`` field
2196
2205
on the ``request`` instance; if ``request`` is provided, this
@@ -2321,9 +2330,9 @@ async def sample_list_shared_resource_subscriptions():
2321
2330
Required. Resource name of the
2322
2331
requested target. This resource may be
2323
2332
either a Listing or a DataExchange. e.g.
2324
- projects/123/locations/US /dataExchanges/456
2333
+ projects/123/locations/us /dataExchanges/456
2325
2334
OR e.g.
2326
- projects/123/locations/US /dataExchanges/456/listings/789
2335
+ projects/123/locations/us /dataExchanges/456/listings/789
2327
2336
2328
2337
This corresponds to the ``resource`` field
2329
2338
on the ``request`` instance; if ``request`` is provided, this
@@ -2448,7 +2457,7 @@ async def sample_revoke_subscription():
2448
2457
name (:class:`str`):
2449
2458
Required. Resource name of the
2450
2459
subscription to revoke. e.g.
2451
- projects/123/locations/US /subscriptions/456
2460
+ projects/123/locations/us /subscriptions/456
2452
2461
2453
2462
This corresponds to the ``name`` field
2454
2463
on the ``request`` instance; if ``request`` is provided, this
@@ -2563,7 +2572,7 @@ async def sample_delete_subscription():
2563
2572
name (:class:`str`):
2564
2573
Required. Resource name of the
2565
2574
subscription to delete. e.g.
2566
- projects/123/locations/US /subscriptions/456
2575
+ projects/123/locations/us /subscriptions/456
2567
2576
2568
2577
This corresponds to the ``name`` field
2569
2578
on the ``request`` instance; if ``request`` is provided, this
0 commit comments