Skip to content

Commit d63e20b

Browse files
Regenerate workloadmanager client
1 parent 38e76d0 commit d63e20b

19 files changed

+4059
-24
lines changed

src/WorkloadManager.php

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ class WorkloadManager extends \Google\Service
4141
"https://www.googleapis.com/auth/cloud-platform";
4242

4343
public $projects_locations;
44+
public $projects_locations_deployments;
45+
public $projects_locations_deployments_actuations;
4446
public $projects_locations_discoveredprofiles;
4547
public $projects_locations_discoveredprofiles_health;
4648
public $projects_locations_evaluations;
@@ -116,6 +118,154 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
116118
]
117119
]
118120
);
121+
$this->projects_locations_deployments = new WorkloadManager\Resource\ProjectsLocationsDeployments(
122+
$this,
123+
$this->serviceName,
124+
'deployments',
125+
[
126+
'methods' => [
127+
'create' => [
128+
'path' => 'v1/{+parent}/deployments',
129+
'httpMethod' => 'POST',
130+
'parameters' => [
131+
'parent' => [
132+
'location' => 'path',
133+
'type' => 'string',
134+
'required' => true,
135+
],
136+
'deploymentId' => [
137+
'location' => 'query',
138+
'type' => 'string',
139+
],
140+
'requestId' => [
141+
'location' => 'query',
142+
'type' => 'string',
143+
],
144+
],
145+
],'delete' => [
146+
'path' => 'v1/{+name}',
147+
'httpMethod' => 'DELETE',
148+
'parameters' => [
149+
'name' => [
150+
'location' => 'path',
151+
'type' => 'string',
152+
'required' => true,
153+
],
154+
'force' => [
155+
'location' => 'query',
156+
'type' => 'boolean',
157+
],
158+
],
159+
],'get' => [
160+
'path' => 'v1/{+name}',
161+
'httpMethod' => 'GET',
162+
'parameters' => [
163+
'name' => [
164+
'location' => 'path',
165+
'type' => 'string',
166+
'required' => true,
167+
],
168+
],
169+
],'list' => [
170+
'path' => 'v1/{+parent}/deployments',
171+
'httpMethod' => 'GET',
172+
'parameters' => [
173+
'parent' => [
174+
'location' => 'path',
175+
'type' => 'string',
176+
'required' => true,
177+
],
178+
'filter' => [
179+
'location' => 'query',
180+
'type' => 'string',
181+
],
182+
'orderBy' => [
183+
'location' => 'query',
184+
'type' => 'string',
185+
],
186+
'pageSize' => [
187+
'location' => 'query',
188+
'type' => 'integer',
189+
],
190+
'pageToken' => [
191+
'location' => 'query',
192+
'type' => 'string',
193+
],
194+
],
195+
],
196+
]
197+
]
198+
);
199+
$this->projects_locations_deployments_actuations = new WorkloadManager\Resource\ProjectsLocationsDeploymentsActuations(
200+
$this,
201+
$this->serviceName,
202+
'actuations',
203+
[
204+
'methods' => [
205+
'create' => [
206+
'path' => 'v1/{+parent}/actuations',
207+
'httpMethod' => 'POST',
208+
'parameters' => [
209+
'parent' => [
210+
'location' => 'path',
211+
'type' => 'string',
212+
'required' => true,
213+
],
214+
'requestId' => [
215+
'location' => 'query',
216+
'type' => 'string',
217+
],
218+
],
219+
],'delete' => [
220+
'path' => 'v1/{+name}',
221+
'httpMethod' => 'DELETE',
222+
'parameters' => [
223+
'name' => [
224+
'location' => 'path',
225+
'type' => 'string',
226+
'required' => true,
227+
],
228+
],
229+
],'get' => [
230+
'path' => 'v1/{+name}',
231+
'httpMethod' => 'GET',
232+
'parameters' => [
233+
'name' => [
234+
'location' => 'path',
235+
'type' => 'string',
236+
'required' => true,
237+
],
238+
],
239+
],'list' => [
240+
'path' => 'v1/{+parent}/actuations',
241+
'httpMethod' => 'GET',
242+
'parameters' => [
243+
'parent' => [
244+
'location' => 'path',
245+
'type' => 'string',
246+
'required' => true,
247+
],
248+
'filter' => [
249+
'location' => 'query',
250+
'type' => 'string',
251+
],
252+
'orderBy' => [
253+
'location' => 'query',
254+
'type' => 'string',
255+
],
256+
'pageSize' => [
257+
'location' => 'query',
258+
'type' => 'integer',
259+
],
260+
'pageToken' => [
261+
'location' => 'query',
262+
'type' => 'string',
263+
],
264+
],
265+
],
266+
]
267+
]
268+
);
119269
$this->projects_locations_discoveredprofiles = new WorkloadManager\Resource\ProjectsLocationsDiscoveredprofiles(
120270
$this,
121271
$this->serviceName,
Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
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\WorkloadManager;
19+
20+
class ActiveDirectory extends \Google\Model
21+
{
22+
/**
23+
* Unspecified active directory type
24+
*/
25+
public const TYPE_ACTIVE_DIRECTORY_TYPE_UNSPECIFIED = 'ACTIVE_DIRECTORY_TYPE_UNSPECIFIED';
26+
/**
27+
* GCP managed active directory type
28+
*/
29+
public const TYPE_GCP_MANAGED = 'GCP_MANAGED';
30+
/**
31+
* Self managed active directory type
32+
*/
33+
public const TYPE_SELF_MANAGED = 'SELF_MANAGED';
34+
/**
35+
* Optional. DNS IP address
36+
*
37+
* @var string
38+
*/
39+
public $dnsAddress;
40+
/**
41+
* Optional. human readable form of a domain such as “google.com”.
42+
*
43+
* @var string
44+
*/
45+
public $domain;
46+
/**
47+
* Optional. domain username
48+
*
49+
* @var string
50+
*/
51+
public $domainUsername;
52+
/**
53+
* Required. secret_manager_secret
54+
*
55+
* @var string
56+
*/
57+
public $secretManagerSecret;
58+
/**
59+
* Required. active directory type
60+
*
61+
* @var string
62+
*/
63+
public $type;
64+
65+
/**
66+
* Optional. DNS IP address
67+
*
68+
* @param string $dnsAddress
69+
*/
70+
public function setDnsAddress($dnsAddress)
71+
{
72+
$this->dnsAddress = $dnsAddress;
73+
}
74+
/**
75+
* @return string
76+
*/
77+
public function getDnsAddress()
78+
{
79+
return $this->dnsAddress;
80+
}
81+
/**
82+
* Optional. human readable form of a domain such as “google.com”.
83+
*
84+
* @param string $domain
85+
*/
86+
public function setDomain($domain)
87+
{
88+
$this->domain = $domain;
89+
}
90+
/**
91+
* @return string
92+
*/
93+
public function getDomain()
94+
{
95+
return $this->domain;
96+
}
97+
/**
98+
* Optional. domain username
99+
*
100+
* @param string $domainUsername
101+
*/
102+
public function setDomainUsername($domainUsername)
103+
{
104+
$this->domainUsername = $domainUsername;
105+
}
106+
/**
107+
* @return string
108+
*/
109+
public function getDomainUsername()
110+
{
111+
return $this->domainUsername;
112+
}
113+
/**
114+
* Required. secret_manager_secret
115+
*
116+
* @param string $secretManagerSecret
117+
*/
118+
public function setSecretManagerSecret($secretManagerSecret)
119+
{
120+
$this->secretManagerSecret = $secretManagerSecret;
121+
}
122+
/**
123+
* @return string
124+
*/
125+
public function getSecretManagerSecret()
126+
{
127+
return $this->secretManagerSecret;
128+
}
129+
/**
130+
* Required. active directory type
131+
*
132+
* Accepted values: ACTIVE_DIRECTORY_TYPE_UNSPECIFIED, GCP_MANAGED,
133+
* SELF_MANAGED
134+
*
135+
* @param self::TYPE_* $type
136+
*/
137+
public function setType($type)
138+
{
139+
$this->type = $type;
140+
}
141+
/**
142+
* @return self::TYPE_*
143+
*/
144+
public function getType()
145+
{
146+
return $this->type;
147+
}
148+
}
149+
150+
// Adding a class alias for backwards compatibility with the previous class name.
151+
class_alias(ActiveDirectory::class, 'Google_Service_WorkloadManager_ActiveDirectory');

0 commit comments

Comments
 (0)