Skip to content

Commit fd6c064

Browse files
1 parent 5208a61 commit fd6c064

5 files changed

Lines changed: 88 additions & 0 deletions

File tree

src/WorkspaceEvents.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
276276
'location' => 'query',
277277
'type' => 'integer',
278278
],
279+
'tenant' => [
280+
'location' => 'query',
281+
'type' => 'string',
282+
],
279283
],
280284
],'subscribe' => [
281285
'path' => 'v1/{+name}:subscribe',
@@ -286,6 +290,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
286290
'type' => 'string',
287291
'required' => true,
288292
],
293+
'tenant' => [
294+
'location' => 'query',
295+
'type' => 'string',
296+
],
289297
],
290298
],
291299
]
@@ -310,6 +318,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
310318
'location' => 'query',
311319
'type' => 'string',
312320
],
321+
'tenant' => [
322+
'location' => 'query',
323+
'type' => 'string',
324+
],
313325
],
314326
],'delete' => [
315327
'path' => 'v1/{+name}',
@@ -320,6 +332,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
320332
'type' => 'string',
321333
'required' => true,
322334
],
335+
'tenant' => [
336+
'location' => 'query',
337+
'type' => 'string',
338+
],
323339
],
324340
],'get' => [
325341
'path' => 'v1/{+name}',
@@ -330,6 +346,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
330346
'type' => 'string',
331347
'required' => true,
332348
],
349+
'tenant' => [
350+
'location' => 'query',
351+
'type' => 'string',
352+
],
333353
],
334354
],'list' => [
335355
'path' => 'v1/{+parent}/pushNotificationConfigs',
@@ -348,6 +368,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
348368
'location' => 'query',
349369
'type' => 'string',
350370
],
371+
'tenant' => [
372+
'location' => 'query',
373+
'type' => 'string',
374+
],
351375
],
352376
],
353377
]

src/WorkspaceEvents/CancelTaskRequest.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,31 @@
1919

2020
class CancelTaskRequest extends \Google\Model
2121
{
22+
/**
23+
* Optional tenant, provided as a path parameter. Experimental, might still
24+
* change for 1.0 release.
25+
*
26+
* @var string
27+
*/
28+
public $tenant;
29+
30+
/**
31+
* Optional tenant, provided as a path parameter. Experimental, might still
32+
* change for 1.0 release.
33+
*
34+
* @param string $tenant
35+
*/
36+
public function setTenant($tenant)
37+
{
38+
$this->tenant = $tenant;
39+
}
40+
/**
41+
* @return string
42+
*/
43+
public function getTenant()
44+
{
45+
return $this->tenant;
46+
}
2247
}
2348

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

src/WorkspaceEvents/Resource/Tasks.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ public function cancel($name, CancelTaskRequest $postBody, $optParams = [])
5757
*
5858
* @opt_param int historyLength The number of most recent messages from the
5959
* task's history to retrieve.
60+
* @opt_param string tenant Optional tenant, provided as a path parameter.
61+
* Experimental, might still change for 1.0 release.
6062
* @return Task
6163
* @throws \Google\Service\Exception
6264
*/
@@ -75,6 +77,9 @@ public function get($name, $optParams = [])
7577
* @param string $name The resource name of the task to subscribe to. Format:
7678
* tasks/{task_id}
7779
* @param array $optParams Optional parameters.
80+
*
81+
* @opt_param string tenant Optional tenant, provided as a path parameter.
82+
* Experimental, might still change for 1.0 release.
7883
* @return StreamResponse
7984
* @throws \Google\Service\Exception
8085
*/

src/WorkspaceEvents/Resource/TasksPushNotificationConfigs.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ class TasksPushNotificationConfigs extends \Google\Service\Resource
4040
* @param array $optParams Optional parameters.
4141
*
4242
* @opt_param string configId Required. The ID for the new config.
43+
* @opt_param string tenant Optional tenant, provided as a path parameter.
44+
* Experimental, might still change for 1.0 release.
4345
* @return TaskPushNotificationConfig
4446
* @throws \Google\Service\Exception
4547
*/
@@ -56,6 +58,9 @@ public function create($parent, TaskPushNotificationConfig $postBody, $optParams
5658
* @param string $name The resource name of the config to delete. Format:
5759
* tasks/{task_id}/pushNotificationConfigs/{config_id}
5860
* @param array $optParams Optional parameters.
61+
*
62+
* @opt_param string tenant Optional tenant, provided as a path parameter.
63+
* Experimental, might still change for 1.0 release.
5964
* @return WorkspaceeventsEmpty
6065
* @throws \Google\Service\Exception
6166
*/
@@ -71,6 +76,9 @@ public function delete($name, $optParams = [])
7176
* @param string $name The resource name of the config to retrieve. Format:
7277
* tasks/{task_id}/pushNotificationConfigs/{config_id}
7378
* @param array $optParams Optional parameters.
79+
*
80+
* @opt_param string tenant Optional tenant, provided as a path parameter.
81+
* Experimental, might still change for 1.0 release.
7482
* @return TaskPushNotificationConfig
7583
* @throws \Google\Service\Exception
7684
*/
@@ -95,6 +103,8 @@ public function get($name, $optParams = [])
95103
* subsequent page. When paginating, all other parameters provided to
96104
* `ListTaskPushNotificationConfigRequest` must match the call that provided the
97105
* page token.
106+
* @opt_param string tenant Optional tenant, provided as a path parameter.
107+
* Experimental, might still change for 1.0 release.
98108
* @return ListTaskPushNotificationConfigResponse
99109
* @throws \Google\Service\Exception
100110
*/

src/WorkspaceEvents/SendMessageRequest.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ class SendMessageRequest extends \Google\Model
2929
* @var array[]
3030
*/
3131
public $metadata;
32+
/**
33+
* Optional tenant, provided as a path parameter. Experimental, might still
34+
* change for 1.0 release.
35+
*
36+
* @var string
37+
*/
38+
public $tenant;
3239

3340
/**
3441
* Configuration for the send request.
@@ -78,6 +85,23 @@ public function getMetadata()
7885
{
7986
return $this->metadata;
8087
}
88+
/**
89+
* Optional tenant, provided as a path parameter. Experimental, might still
90+
* change for 1.0 release.
91+
*
92+
* @param string $tenant
93+
*/
94+
public function setTenant($tenant)
95+
{
96+
$this->tenant = $tenant;
97+
}
98+
/**
99+
* @return string
100+
*/
101+
public function getTenant()
102+
{
103+
return $this->tenant;
104+
}
81105
}
82106

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

0 commit comments

Comments
 (0)