Skip to content

Commit 57b245c

Browse files
1 parent 063d7ac commit 57b245c

7 files changed

Lines changed: 365 additions & 164 deletions

src/Looker.php

Lines changed: 36 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -157,20 +157,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
157157
'required' => true,
158158
],
159159
],
160-
],'getIamPolicy' => [
161-
'path' => 'v1/{+resource}:getIamPolicy',
162-
'httpMethod' => 'GET',
163-
'parameters' => [
164-
'resource' => [
165-
'location' => 'path',
166-
'type' => 'string',
167-
'required' => true,
168-
],
169-
'options.requestedPolicyVersion' => [
170-
'location' => 'query',
171-
'type' => 'integer',
172-
],
173-
],
174160
],'import' => [
175161
'path' => 'v1/{+name}:import',
176162
'httpMethod' => 'POST',
@@ -223,21 +209,11 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
223209
'required' => true,
224210
],
225211
],
226-
],'setIamPolicy' => [
227-
'path' => 'v1/{+resource}:setIamPolicy',
212+
],'restore' => [
213+
'path' => 'v1/{+name}:restore',
228214
'httpMethod' => 'POST',
229215
'parameters' => [
230-
'resource' => [
231-
'location' => 'path',
232-
'type' => 'string',
233-
'required' => true,
234-
],
235-
],
236-
],'testIamPermissions' => [
237-
'path' => 'v1/{+resource}:testIamPermissions',
238-
'httpMethod' => 'POST',
239-
'parameters' => [
240-
'resource' => [
216+
'name' => [
241217
'location' => 'path',
242218
'type' => 'string',
243219
'required' => true,
@@ -253,39 +229,57 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
253229
'backups',
254230
[
255231
'methods' => [
256-
'getIamPolicy' => [
257-
'path' => 'v1/{+resource}:getIamPolicy',
258-
'httpMethod' => 'GET',
232+
'create' => [
233+
'path' => 'v1/{+parent}/backups',
234+
'httpMethod' => 'POST',
259235
'parameters' => [
260-
'resource' => [
236+
'parent' => [
261237
'location' => 'path',
262238
'type' => 'string',
263239
'required' => true,
264240
],
265-
'options.requestedPolicyVersion' => [
266-
'location' => 'query',
267-
'type' => 'integer',
241+
],
242+
],'delete' => [
243+
'path' => 'v1/{+name}',
244+
'httpMethod' => 'DELETE',
245+
'parameters' => [
246+
'name' => [
247+
'location' => 'path',
248+
'type' => 'string',
249+
'required' => true,
268250
],
269251
],
270-
],'setIamPolicy' => [
271-
'path' => 'v1/{+resource}:setIamPolicy',
272-
'httpMethod' => 'POST',
252+
],'get' => [
253+
'path' => 'v1/{+name}',
254+
'httpMethod' => 'GET',
273255
'parameters' => [
274-
'resource' => [
256+
'name' => [
275257
'location' => 'path',
276258
'type' => 'string',
277259
'required' => true,
278260
],
279261
],
280-
],'testIamPermissions' => [
281-
'path' => 'v1/{+resource}:testIamPermissions',
282-
'httpMethod' => 'POST',
262+
],'list' => [
263+
'path' => 'v1/{+parent}/backups',
264+
'httpMethod' => 'GET',
283265
'parameters' => [
284-
'resource' => [
266+
'parent' => [
285267
'location' => 'path',
286268
'type' => 'string',
287269
'required' => true,
288270
],
271+
'orderBy' => [
272+
'location' => 'query',
273+
'type' => 'string',
274+
],
275+
'pageSize' => [
276+
'location' => 'query',
277+
'type' => 'integer',
278+
],
279+
'pageToken' => [
280+
'location' => 'query',
281+
'type' => 'string',
282+
],
289283
],
290284
],
291285
]

src/Looker/Instance.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@ class Instance extends \Google\Model
101101
* @var string
102102
*/
103103
public $reservedRange;
104+
/**
105+
* @var bool
106+
*/
107+
public $satisfiesPzi;
108+
/**
109+
* @var bool
110+
*/
111+
public $satisfiesPzs;
104112
/**
105113
* @var string
106114
*/
@@ -462,6 +470,34 @@ public function getReservedRange()
462470
{
463471
return $this->reservedRange;
464472
}
473+
/**
474+
* @param bool
475+
*/
476+
public function setSatisfiesPzi($satisfiesPzi)
477+
{
478+
$this->satisfiesPzi = $satisfiesPzi;
479+
}
480+
/**
481+
* @return bool
482+
*/
483+
public function getSatisfiesPzi()
484+
{
485+
return $this->satisfiesPzi;
486+
}
487+
/**
488+
* @param bool
489+
*/
490+
public function setSatisfiesPzs($satisfiesPzs)
491+
{
492+
$this->satisfiesPzs = $satisfiesPzs;
493+
}
494+
/**
495+
* @return bool
496+
*/
497+
public function getSatisfiesPzs()
498+
{
499+
return $this->satisfiesPzs;
500+
}
465501
/**
466502
* @param string
467503
*/

src/Looker/InstanceBackup.php

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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\Looker;
19+
20+
class InstanceBackup extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $createTime;
26+
protected $encryptionConfigType = EncryptionConfig::class;
27+
protected $encryptionConfigDataType = '';
28+
/**
29+
* @var string
30+
*/
31+
public $expireTime;
32+
/**
33+
* @var string
34+
*/
35+
public $name;
36+
/**
37+
* @var string
38+
*/
39+
public $state;
40+
41+
/**
42+
* @param string
43+
*/
44+
public function setCreateTime($createTime)
45+
{
46+
$this->createTime = $createTime;
47+
}
48+
/**
49+
* @return string
50+
*/
51+
public function getCreateTime()
52+
{
53+
return $this->createTime;
54+
}
55+
/**
56+
* @param EncryptionConfig
57+
*/
58+
public function setEncryptionConfig(EncryptionConfig $encryptionConfig)
59+
{
60+
$this->encryptionConfig = $encryptionConfig;
61+
}
62+
/**
63+
* @return EncryptionConfig
64+
*/
65+
public function getEncryptionConfig()
66+
{
67+
return $this->encryptionConfig;
68+
}
69+
/**
70+
* @param string
71+
*/
72+
public function setExpireTime($expireTime)
73+
{
74+
$this->expireTime = $expireTime;
75+
}
76+
/**
77+
* @return string
78+
*/
79+
public function getExpireTime()
80+
{
81+
return $this->expireTime;
82+
}
83+
/**
84+
* @param string
85+
*/
86+
public function setName($name)
87+
{
88+
$this->name = $name;
89+
}
90+
/**
91+
* @return string
92+
*/
93+
public function getName()
94+
{
95+
return $this->name;
96+
}
97+
/**
98+
* @param string
99+
*/
100+
public function setState($state)
101+
{
102+
$this->state = $state;
103+
}
104+
/**
105+
* @return string
106+
*/
107+
public function getState()
108+
{
109+
return $this->state;
110+
}
111+
}
112+
113+
// Adding a class alias for backwards compatibility with the previous class name.
114+
class_alias(InstanceBackup::class, 'Google_Service_Looker_InstanceBackup');
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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\Looker;
19+
20+
class ListInstanceBackupsResponse extends \Google\Collection
21+
{
22+
protected $collection_key = 'unreachable';
23+
protected $instanceBackupsType = InstanceBackup::class;
24+
protected $instanceBackupsDataType = 'array';
25+
/**
26+
* @var string
27+
*/
28+
public $nextPageToken;
29+
/**
30+
* @var string[]
31+
*/
32+
public $unreachable;
33+
34+
/**
35+
* @param InstanceBackup[]
36+
*/
37+
public function setInstanceBackups($instanceBackups)
38+
{
39+
$this->instanceBackups = $instanceBackups;
40+
}
41+
/**
42+
* @return InstanceBackup[]
43+
*/
44+
public function getInstanceBackups()
45+
{
46+
return $this->instanceBackups;
47+
}
48+
/**
49+
* @param string
50+
*/
51+
public function setNextPageToken($nextPageToken)
52+
{
53+
$this->nextPageToken = $nextPageToken;
54+
}
55+
/**
56+
* @return string
57+
*/
58+
public function getNextPageToken()
59+
{
60+
return $this->nextPageToken;
61+
}
62+
/**
63+
* @param string[]
64+
*/
65+
public function setUnreachable($unreachable)
66+
{
67+
$this->unreachable = $unreachable;
68+
}
69+
/**
70+
* @return string[]
71+
*/
72+
public function getUnreachable()
73+
{
74+
return $this->unreachable;
75+
}
76+
}
77+
78+
// Adding a class alias for backwards compatibility with the previous class name.
79+
class_alias(ListInstanceBackupsResponse::class, 'Google_Service_Looker_ListInstanceBackupsResponse');

0 commit comments

Comments
 (0)