Skip to content

Commit 85b5a0e

Browse files
Regenerate assuredworkloads client
1 parent c9fa9d7 commit 85b5a0e

14 files changed

+887
-1
lines changed

src/Assuredworkloads.php

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class Assuredworkloads extends \Google\Service
4040

4141
public $organizations_locations_operations;
4242
public $organizations_locations_workloads;
43+
public $organizations_locations_workloads_updates;
4344
public $organizations_locations_workloads_violations;
4445
public $rootUrlTemplate;
4546

@@ -163,6 +164,16 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
163164
'type' => 'string',
164165
],
165166
],
167+
],'enableComplianceUpdates' => [
168+
'path' => 'v1/{+name}:enableComplianceUpdates',
169+
'httpMethod' => 'PUT',
170+
'parameters' => [
171+
'name' => [
172+
'location' => 'path',
173+
'type' => 'string',
174+
'required' => true,
175+
],
176+
],
166177
],'enableResourceMonitoring' => [
167178
'path' => 'v1/{+name}:enableResourceMonitoring',
168179
'httpMethod' => 'POST',
@@ -243,6 +254,44 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
243254
]
244255
]
245256
);
257+
$this->organizations_locations_workloads_updates = new Assuredworkloads\Resource\OrganizationsLocationsWorkloadsUpdates(
258+
$this,
259+
$this->serviceName,
260+
'updates',
261+
[
262+
'methods' => [
263+
'apply' => [
264+
'path' => 'v1/{+name}:apply',
265+
'httpMethod' => 'POST',
266+
'parameters' => [
267+
'name' => [
268+
'location' => 'path',
269+
'type' => 'string',
270+
'required' => true,
271+
],
272+
],
273+
],'list' => [
274+
'path' => 'v1/{+parent}/updates',
275+
'httpMethod' => 'GET',
276+
'parameters' => [
277+
'parent' => [
278+
'location' => 'path',
279+
'type' => 'string',
280+
'required' => true,
281+
],
282+
'pageSize' => [
283+
'location' => 'query',
284+
'type' => 'integer',
285+
],
286+
'pageToken' => [
287+
'location' => 'query',
288+
'type' => 'string',
289+
],
290+
],
291+
],
292+
]
293+
]
294+
);
246295
$this->organizations_locations_workloads_violations = new Assuredworkloads\Resource\OrganizationsLocationsWorkloadsViolations(
247296
$this,
248297
$this->serviceName,
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\Assuredworkloads;
19+
20+
class GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateOperationMetadata extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $action;
26+
/**
27+
* @var string
28+
*/
29+
public $createTime;
30+
/**
31+
* @var string
32+
*/
33+
public $updateName;
34+
35+
/**
36+
* @param string
37+
*/
38+
public function setAction($action)
39+
{
40+
$this->action = $action;
41+
}
42+
/**
43+
* @return string
44+
*/
45+
public function getAction()
46+
{
47+
return $this->action;
48+
}
49+
/**
50+
* @param string
51+
*/
52+
public function setCreateTime($createTime)
53+
{
54+
$this->createTime = $createTime;
55+
}
56+
/**
57+
* @return string
58+
*/
59+
public function getCreateTime()
60+
{
61+
return $this->createTime;
62+
}
63+
/**
64+
* @param string
65+
*/
66+
public function setUpdateName($updateName)
67+
{
68+
$this->updateName = $updateName;
69+
}
70+
/**
71+
* @return string
72+
*/
73+
public function getUpdateName()
74+
{
75+
return $this->updateName;
76+
}
77+
}
78+
79+
// Adding a class alias for backwards compatibility with the previous class name.
80+
class_alias(GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateOperationMetadata::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateOperationMetadata');
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\Assuredworkloads;
19+
20+
class GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateRequest extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $action;
26+
27+
/**
28+
* @param string
29+
*/
30+
public function setAction($action)
31+
{
32+
$this->action = $action;
33+
}
34+
/**
35+
* @return string
36+
*/
37+
public function getAction()
38+
{
39+
return $this->action;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateRequest::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateRequest');
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\Assuredworkloads;
19+
20+
class GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateResponse extends \Google\Model
21+
{
22+
protected $appliedUpdateType = GoogleCloudAssuredworkloadsV1WorkloadUpdate::class;
23+
protected $appliedUpdateDataType = '';
24+
25+
/**
26+
* @param GoogleCloudAssuredworkloadsV1WorkloadUpdate
27+
*/
28+
public function setAppliedUpdate(GoogleCloudAssuredworkloadsV1WorkloadUpdate $appliedUpdate)
29+
{
30+
$this->appliedUpdate = $appliedUpdate;
31+
}
32+
/**
33+
* @return GoogleCloudAssuredworkloadsV1WorkloadUpdate
34+
*/
35+
public function getAppliedUpdate()
36+
{
37+
return $this->appliedUpdate;
38+
}
39+
}
40+
41+
// Adding a class alias for backwards compatibility with the previous class name.
42+
class_alias(GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateResponse::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateResponse');
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\Assuredworkloads;
19+
20+
class GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponse extends \Google\Model
21+
{
22+
}
23+
24+
// Adding a class alias for backwards compatibility with the previous class name.
25+
class_alias(GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponse::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponse');
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\Assuredworkloads;
19+
20+
class GoogleCloudAssuredworkloadsV1ListWorkloadUpdatesResponse extends \Google\Collection
21+
{
22+
protected $collection_key = 'workloadUpdates';
23+
/**
24+
* @var string
25+
*/
26+
public $nextPageToken;
27+
protected $workloadUpdatesType = GoogleCloudAssuredworkloadsV1WorkloadUpdate::class;
28+
protected $workloadUpdatesDataType = 'array';
29+
30+
/**
31+
* @param string
32+
*/
33+
public function setNextPageToken($nextPageToken)
34+
{
35+
$this->nextPageToken = $nextPageToken;
36+
}
37+
/**
38+
* @return string
39+
*/
40+
public function getNextPageToken()
41+
{
42+
return $this->nextPageToken;
43+
}
44+
/**
45+
* @param GoogleCloudAssuredworkloadsV1WorkloadUpdate[]
46+
*/
47+
public function setWorkloadUpdates($workloadUpdates)
48+
{
49+
$this->workloadUpdates = $workloadUpdates;
50+
}
51+
/**
52+
* @return GoogleCloudAssuredworkloadsV1WorkloadUpdate[]
53+
*/
54+
public function getWorkloadUpdates()
55+
{
56+
return $this->workloadUpdates;
57+
}
58+
}
59+
60+
// Adding a class alias for backwards compatibility with the previous class name.
61+
class_alias(GoogleCloudAssuredworkloadsV1ListWorkloadUpdatesResponse::class, 'Google_Service_Assuredworkloads_GoogleCloudAssuredworkloadsV1ListWorkloadUpdatesResponse');

0 commit comments

Comments
 (0)