Skip to content

Commit c1b54c1

Browse files
Regenerate analyticshub client
1 parent c9fa9d7 commit c1b54c1

10 files changed

+63
-137
lines changed

src/AnalyticsHub/BigQueryConfig.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ class BigQueryConfig extends \Google\Model
2727
* @var string
2828
*/
2929
public $serviceAccountEmail;
30-
/**
31-
* @var string
32-
*/
33-
public $state;
3430
/**
3531
* @var string
3632
*/
@@ -76,20 +72,6 @@ public function getServiceAccountEmail()
7672
{
7773
return $this->serviceAccountEmail;
7874
}
79-
/**
80-
* @param string
81-
*/
82-
public function setState($state)
83-
{
84-
$this->state = $state;
85-
}
86-
/**
87-
* @return string
88-
*/
89-
public function getState()
90-
{
91-
return $this->state;
92-
}
9375
/**
9476
* @param string
9577
*/

src/AnalyticsHub/CloudStorageConfig.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ class CloudStorageConfig extends \Google\Model
5353
* @var string
5454
*/
5555
public $serviceAccountEmail;
56-
/**
57-
* @var string
58-
*/
59-
public $state;
6056
protected $textConfigType = TextConfig::class;
6157
protected $textConfigDataType = '';
6258

@@ -186,20 +182,6 @@ public function getServiceAccountEmail()
186182
{
187183
return $this->serviceAccountEmail;
188184
}
189-
/**
190-
* @param string
191-
*/
192-
public function setState($state)
193-
{
194-
$this->state = $state;
195-
}
196-
/**
197-
* @return string
198-
*/
199-
public function getState()
200-
{
201-
return $this->state;
202-
}
203185
/**
204186
* @param TextConfig
205187
*/

src/AnalyticsHub/DestinationDataset.php

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717

1818
namespace Google\Service\AnalyticsHub;
1919

20-
class DestinationDataset extends \Google\Collection
20+
class DestinationDataset extends \Google\Model
2121
{
22-
protected $collection_key = 'replicaLocations';
2322
protected $datasetReferenceType = DestinationDatasetReference::class;
2423
protected $datasetReferenceDataType = '';
2524
/**
@@ -38,10 +37,6 @@ class DestinationDataset extends \Google\Collection
3837
* @var string
3938
*/
4039
public $location;
41-
/**
42-
* @var string[]
43-
*/
44-
public $replicaLocations;
4540

4641
/**
4742
* @param DestinationDatasetReference
@@ -113,20 +108,6 @@ public function getLocation()
113108
{
114109
return $this->location;
115110
}
116-
/**
117-
* @param string[]
118-
*/
119-
public function setReplicaLocations($replicaLocations)
120-
{
121-
$this->replicaLocations = $replicaLocations;
122-
}
123-
/**
124-
* @return string[]
125-
*/
126-
public function getReplicaLocations()
127-
{
128-
return $this->replicaLocations;
129-
}
130111
}
131112

132113
// Adding a class alias for backwards compatibility with the previous class name.

src/AnalyticsHub/GooglePubsubV1Subscription.php

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ class GooglePubsubV1Subscription extends \Google\Collection
2424
* @var int
2525
*/
2626
public $ackDeadlineSeconds;
27-
protected $analyticsHubSubscriptionInfoType = AnalyticsHubSubscriptionInfo::class;
28-
protected $analyticsHubSubscriptionInfoDataType = '';
2927
protected $bigqueryConfigType = BigQueryConfig::class;
3028
protected $bigqueryConfigDataType = '';
3129
protected $cloudStorageConfigType = CloudStorageConfig::class;
@@ -72,14 +70,6 @@ class GooglePubsubV1Subscription extends \Google\Collection
7270
public $retainAckedMessages;
7371
protected $retryPolicyType = RetryPolicy::class;
7472
protected $retryPolicyDataType = '';
75-
/**
76-
* @var string
77-
*/
78-
public $state;
79-
/**
80-
* @var string
81-
*/
82-
public $topicMessageRetentionDuration;
8373

8474
/**
8575
* @param int
@@ -95,20 +85,6 @@ public function getAckDeadlineSeconds()
9585
{
9686
return $this->ackDeadlineSeconds;
9787
}
98-
/**
99-
* @param AnalyticsHubSubscriptionInfo
100-
*/
101-
public function setAnalyticsHubSubscriptionInfo(AnalyticsHubSubscriptionInfo $analyticsHubSubscriptionInfo)
102-
{
103-
$this->analyticsHubSubscriptionInfo = $analyticsHubSubscriptionInfo;
104-
}
105-
/**
106-
* @return AnalyticsHubSubscriptionInfo
107-
*/
108-
public function getAnalyticsHubSubscriptionInfo()
109-
{
110-
return $this->analyticsHubSubscriptionInfo;
111-
}
11288
/**
11389
* @param BigQueryConfig
11490
*/
@@ -319,34 +295,6 @@ public function getRetryPolicy()
319295
{
320296
return $this->retryPolicy;
321297
}
322-
/**
323-
* @param string
324-
*/
325-
public function setState($state)
326-
{
327-
$this->state = $state;
328-
}
329-
/**
330-
* @return string
331-
*/
332-
public function getState()
333-
{
334-
return $this->state;
335-
}
336-
/**
337-
* @param string
338-
*/
339-
public function setTopicMessageRetentionDuration($topicMessageRetentionDuration)
340-
{
341-
$this->topicMessageRetentionDuration = $topicMessageRetentionDuration;
342-
}
343-
/**
344-
* @return string
345-
*/
346-
public function getTopicMessageRetentionDuration()
347-
{
348-
return $this->topicMessageRetentionDuration;
349-
}
350298
}
351299

352300
// Adding a class alias for backwards compatibility with the previous class name.

src/AnalyticsHub/Listing.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
class Listing extends \Google\Collection
2121
{
2222
protected $collection_key = 'categories';
23+
/**
24+
* @var bool
25+
*/
26+
public $allowOnlyMetadataSharing;
2327
protected $bigqueryDatasetType = BigQueryDatasetSource::class;
2428
protected $bigqueryDatasetDataType = '';
2529
/**
@@ -81,6 +85,20 @@ class Listing extends \Google\Collection
8185
*/
8286
public $state;
8387

88+
/**
89+
* @param bool
90+
*/
91+
public function setAllowOnlyMetadataSharing($allowOnlyMetadataSharing)
92+
{
93+
$this->allowOnlyMetadataSharing = $allowOnlyMetadataSharing;
94+
}
95+
/**
96+
* @return bool
97+
*/
98+
public function getAllowOnlyMetadataSharing()
99+
{
100+
return $this->allowOnlyMetadataSharing;
101+
}
84102
/**
85103
* @param BigQueryDatasetSource
86104
*/

src/AnalyticsHub/Resource/OrganizationsLocationsDataExchanges.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class OrganizationsLocationsDataExchanges extends \Google\Service\Resource
3434
* (dataExchanges.listOrganizationsLocationsDataExchanges)
3535
*
3636
* @param string $organization Required. The organization resource path of the
37-
* projects containing DataExchanges. e.g. `organizations/myorg/locations/US`.
37+
* projects containing DataExchanges. e.g. `organizations/myorg/locations/us`.
3838
* @param array $optParams Optional parameters.
3939
*
4040
* @opt_param int pageSize The maximum number of results to return in a single

src/AnalyticsHub/Resource/ProjectsLocationsDataExchanges.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,13 @@ class ProjectsLocationsDataExchanges extends \Google\Service\Resource
4343
* Creates a new data exchange. (dataExchanges.create)
4444
*
4545
* @param string $parent Required. The parent resource path of the data
46-
* exchange. e.g. `projects/myproject/locations/US`.
46+
* exchange. e.g. `projects/myproject/locations/us`.
4747
* @param DataExchange $postBody
4848
* @param array $optParams Optional parameters.
4949
*
5050
* @opt_param string dataExchangeId Required. The ID of the data exchange. Must
51-
* contain only Unicode letters, numbers (0-9), underscores (_). Should not use
52-
* characters that require URL-escaping, or characters outside of ASCII, spaces.
53-
* Max length: 100 bytes.
51+
* contain only Unicode letters, numbers (0-9), underscores (_). Max length: 100
52+
* bytes.
5453
* @return DataExchange
5554
* @throws \Google\Service\Exception
5655
*/
@@ -65,7 +64,7 @@ public function create($parent, DataExchange $postBody, $optParams = [])
6564
*
6665
* @param string $name Required. The full name of the data exchange resource
6766
* that you want to delete. For example,
68-
* `projects/myproject/locations/US/dataExchanges/123`.
67+
* `projects/myproject/locations/us/dataExchanges/123`.
6968
* @param array $optParams Optional parameters.
7069
* @return AnalyticshubEmpty
7170
* @throws \Google\Service\Exception
@@ -80,7 +79,7 @@ public function delete($name, $optParams = [])
8079
* Gets the details of a data exchange. (dataExchanges.get)
8180
*
8281
* @param string $name Required. The resource name of the data exchange. e.g.
83-
* `projects/myproject/locations/US/dataExchanges/123`.
82+
* `projects/myproject/locations/us/dataExchanges/123`.
8483
* @param array $optParams Optional parameters.
8584
* @return DataExchange
8685
* @throws \Google\Service\Exception
@@ -114,7 +113,7 @@ public function getIamPolicy($resource, GetIamPolicyRequest $postBody, $optParam
114113
* (dataExchanges.listProjectsLocationsDataExchanges)
115114
*
116115
* @param string $parent Required. The parent resource path of the data
117-
* exchanges. e.g. `projects/myproject/locations/US`.
116+
* exchanges. e.g. `projects/myproject/locations/us`.
118117
* @param array $optParams Optional parameters.
119118
*
120119
* @opt_param int pageSize The maximum number of results to return in a single
@@ -137,8 +136,8 @@ public function listProjectsLocationsDataExchanges($parent, $optParams = [])
137136
*
138137
* @param string $resource Required. Resource name of the requested target. This
139138
* resource may be either a Listing or a DataExchange. e.g.
140-
* projects/123/locations/US/dataExchanges/456 OR e.g.
141-
* projects/123/locations/US/dataExchanges/456/listings/789
139+
* projects/123/locations/us/dataExchanges/456 OR e.g.
140+
* projects/123/locations/us/dataExchanges/456/listings/789
142141
* @param array $optParams Optional parameters.
143142
*
144143
* @opt_param bool includeDeletedSubscriptions If selected, includes deleted
@@ -159,7 +158,7 @@ public function listSubscriptions($resource, $optParams = [])
159158
* Updates an existing data exchange. (dataExchanges.patch)
160159
*
161160
* @param string $name Output only. The resource name of the data exchange. e.g.
162-
* `projects/myproject/locations/US/dataExchanges/123`.
161+
* `projects/myproject/locations/us/dataExchanges/123`.
163162
* @param DataExchange $postBody
164163
* @param array $optParams Optional parameters.
165164
*
@@ -195,10 +194,11 @@ public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParam
195194
}
196195
/**
197196
* Creates a Subscription to a Data Clean Room. This is a long-running operation
198-
* as it will create one or more linked datasets. (dataExchanges.subscribe)
197+
* as it will create one or more linked datasets. Throws a Bad Request error if
198+
* the Data Exchange does not contain any listings. (dataExchanges.subscribe)
199199
*
200200
* @param string $name Required. Resource name of the Data Exchange. e.g.
201-
* `projects/publisherproject/locations/US/dataExchanges/123`
201+
* `projects/publisherproject/locations/us/dataExchanges/123`
202202
* @param SubscribeDataExchangeRequest $postBody
203203
* @param array $optParams Optional parameters.
204204
* @return Operation

src/AnalyticsHub/Resource/ProjectsLocationsDataExchangesListings.php

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,13 @@ class ProjectsLocationsDataExchangesListings extends \Google\Service\Resource
4343
* Creates a new listing. (listings.create)
4444
*
4545
* @param string $parent Required. The parent resource path of the listing. e.g.
46-
* `projects/myproject/locations/US/dataExchanges/123`.
46+
* `projects/myproject/locations/us/dataExchanges/123`.
4747
* @param Listing $postBody
4848
* @param array $optParams Optional parameters.
4949
*
5050
* @opt_param string listingId Required. The ID of the listing to create. Must
51-
* contain only Unicode letters, numbers (0-9), underscores (_). Should not use
52-
* characters that require URL-escaping, or characters outside of ASCII, spaces.
53-
* Max length: 100 bytes.
51+
* contain only Unicode letters, numbers (0-9), underscores (_). Max length: 100
52+
* bytes.
5453
* @return Listing
5554
* @throws \Google\Service\Exception
5655
*/
@@ -64,7 +63,7 @@ public function create($parent, Listing $postBody, $optParams = [])
6463
* Deletes a listing. (listings.delete)
6564
*
6665
* @param string $name Required. Resource name of the listing to delete. e.g.
67-
* `projects/myproject/locations/US/dataExchanges/123/listings/456`.
66+
* `projects/myproject/locations/us/dataExchanges/123/listings/456`.
6867
* @param array $optParams Optional parameters.
6968
*
7069
* @opt_param bool deleteCommercial Optional. If the listing is commercial then
@@ -83,7 +82,7 @@ public function delete($name, $optParams = [])
8382
* Gets the details of a listing. (listings.get)
8483
*
8584
* @param string $name Required. The resource name of the listing. e.g.
86-
* `projects/myproject/locations/US/dataExchanges/123/listings/456`.
85+
* `projects/myproject/locations/us/dataExchanges/123/listings/456`.
8786
* @param array $optParams Optional parameters.
8887
* @return Listing
8988
* @throws \Google\Service\Exception
@@ -117,7 +116,7 @@ public function getIamPolicy($resource, GetIamPolicyRequest $postBody, $optParam
117116
* (listings.listProjectsLocationsDataExchangesListings)
118117
*
119118
* @param string $parent Required. The parent resource path of the listing. e.g.
120-
* `projects/myproject/locations/US/dataExchanges/123`.
119+
* `projects/myproject/locations/us/dataExchanges/123`.
121120
* @param array $optParams Optional parameters.
122121
*
123122
* @opt_param int pageSize The maximum number of results to return in a single
@@ -140,8 +139,8 @@ public function listProjectsLocationsDataExchangesListings($parent, $optParams =
140139
*
141140
* @param string $resource Required. Resource name of the requested target. This
142141
* resource may be either a Listing or a DataExchange. e.g.
143-
* projects/123/locations/US/dataExchanges/456 OR e.g.
144-
* projects/123/locations/US/dataExchanges/456/listings/789
142+
* projects/123/locations/us/dataExchanges/456 OR e.g.
143+
* projects/123/locations/us/dataExchanges/456/listings/789
145144
* @param array $optParams Optional parameters.
146145
*
147146
* @opt_param bool includeDeletedSubscriptions If selected, includes deleted
@@ -162,7 +161,7 @@ public function listSubscriptions($resource, $optParams = [])
162161
* Updates an existing listing. (listings.patch)
163162
*
164163
* @param string $name Output only. The resource name of the listing. e.g.
165-
* `projects/myproject/locations/US/dataExchanges/123/listings/456`
164+
* `projects/myproject/locations/us/dataExchanges/123/listings/456`
166165
* @param Listing $postBody
167166
* @param array $optParams Optional parameters.
168167
*
@@ -204,7 +203,7 @@ public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParam
204203
*
205204
* @param string $name Required. Resource name of the listing that you want to
206205
* subscribe to. e.g.
207-
* `projects/myproject/locations/US/dataExchanges/123/listings/456`.
206+
* `projects/myproject/locations/us/dataExchanges/123/listings/456`.
208207
* @param SubscribeListingRequest $postBody
209208
* @param array $optParams Optional parameters.
210209
* @return SubscribeListingResponse

0 commit comments

Comments
 (0)