Skip to content

Commit 640356d

Browse files
Regenerate bigqueryreservation client
1 parent c9fa9d7 commit 640356d

14 files changed

+820
-3
lines changed

src/BigQueryReservation.php

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,20 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
296296
'required' => true,
297297
],
298298
],
299+
],'getIamPolicy' => [
300+
'path' => 'v1/{+resource}:getIamPolicy',
301+
'httpMethod' => 'GET',
302+
'parameters' => [
303+
'resource' => [
304+
'location' => 'path',
305+
'type' => 'string',
306+
'required' => true,
307+
],
308+
'options.requestedPolicyVersion' => [
309+
'location' => 'query',
310+
'type' => 'integer',
311+
],
312+
],
299313
],'list' => [
300314
'path' => 'v1/{+parent}/reservations',
301315
'httpMethod' => 'GET',
@@ -328,6 +342,26 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
328342
'type' => 'string',
329343
],
330344
],
345+
],'setIamPolicy' => [
346+
'path' => 'v1/{+resource}:setIamPolicy',
347+
'httpMethod' => 'POST',
348+
'parameters' => [
349+
'resource' => [
350+
'location' => 'path',
351+
'type' => 'string',
352+
'required' => true,
353+
],
354+
],
355+
],'testIamPermissions' => [
356+
'path' => 'v1/{+resource}:testIamPermissions',
357+
'httpMethod' => 'POST',
358+
'parameters' => [
359+
'resource' => [
360+
'location' => 'path',
361+
'type' => 'string',
362+
'required' => true,
363+
],
364+
],
331365
],
332366
]
333367
]
@@ -362,6 +396,20 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
362396
'required' => true,
363397
],
364398
],
399+
],'getIamPolicy' => [
400+
'path' => 'v1/{+resource}:getIamPolicy',
401+
'httpMethod' => 'GET',
402+
'parameters' => [
403+
'resource' => [
404+
'location' => 'path',
405+
'type' => 'string',
406+
'required' => true,
407+
],
408+
'options.requestedPolicyVersion' => [
409+
'location' => 'query',
410+
'type' => 'integer',
411+
],
412+
],
365413
],'list' => [
366414
'path' => 'v1/{+parent}/assignments',
367415
'httpMethod' => 'GET',
@@ -404,6 +452,26 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
404452
'type' => 'string',
405453
],
406454
],
455+
],'setIamPolicy' => [
456+
'path' => 'v1/{+resource}:setIamPolicy',
457+
'httpMethod' => 'POST',
458+
'parameters' => [
459+
'resource' => [
460+
'location' => 'path',
461+
'type' => 'string',
462+
'required' => true,
463+
],
464+
],
465+
],'testIamPermissions' => [
466+
'path' => 'v1/{+resource}:testIamPermissions',
467+
'httpMethod' => 'POST',
468+
'parameters' => [
469+
'resource' => [
470+
'location' => 'path',
471+
'type' => 'string',
472+
'required' => true,
473+
],
474+
],
407475
],
408476
]
409477
]
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\BigQueryReservation;
19+
20+
class AuditConfig extends \Google\Collection
21+
{
22+
protected $collection_key = 'auditLogConfigs';
23+
protected $auditLogConfigsType = AuditLogConfig::class;
24+
protected $auditLogConfigsDataType = 'array';
25+
/**
26+
* @var string
27+
*/
28+
public $service;
29+
30+
/**
31+
* @param AuditLogConfig[]
32+
*/
33+
public function setAuditLogConfigs($auditLogConfigs)
34+
{
35+
$this->auditLogConfigs = $auditLogConfigs;
36+
}
37+
/**
38+
* @return AuditLogConfig[]
39+
*/
40+
public function getAuditLogConfigs()
41+
{
42+
return $this->auditLogConfigs;
43+
}
44+
/**
45+
* @param string
46+
*/
47+
public function setService($service)
48+
{
49+
$this->service = $service;
50+
}
51+
/**
52+
* @return string
53+
*/
54+
public function getService()
55+
{
56+
return $this->service;
57+
}
58+
}
59+
60+
// Adding a class alias for backwards compatibility with the previous class name.
61+
class_alias(AuditConfig::class, 'Google_Service_BigQueryReservation_AuditConfig');
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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\BigQueryReservation;
19+
20+
class AuditLogConfig extends \Google\Collection
21+
{
22+
protected $collection_key = 'exemptedMembers';
23+
/**
24+
* @var string[]
25+
*/
26+
public $exemptedMembers;
27+
/**
28+
* @var string
29+
*/
30+
public $logType;
31+
32+
/**
33+
* @param string[]
34+
*/
35+
public function setExemptedMembers($exemptedMembers)
36+
{
37+
$this->exemptedMembers = $exemptedMembers;
38+
}
39+
/**
40+
* @return string[]
41+
*/
42+
public function getExemptedMembers()
43+
{
44+
return $this->exemptedMembers;
45+
}
46+
/**
47+
* @param string
48+
*/
49+
public function setLogType($logType)
50+
{
51+
$this->logType = $logType;
52+
}
53+
/**
54+
* @return string
55+
*/
56+
public function getLogType()
57+
{
58+
return $this->logType;
59+
}
60+
}
61+
62+
// Adding a class alias for backwards compatibility with the previous class name.
63+
class_alias(AuditLogConfig::class, 'Google_Service_BigQueryReservation_AuditLogConfig');

src/BigQueryReservation/Binding.php

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\BigQueryReservation;
19+
20+
class Binding extends \Google\Collection
21+
{
22+
protected $collection_key = 'members';
23+
protected $conditionType = Expr::class;
24+
protected $conditionDataType = '';
25+
/**
26+
* @var string[]
27+
*/
28+
public $members;
29+
/**
30+
* @var string
31+
*/
32+
public $role;
33+
34+
/**
35+
* @param Expr
36+
*/
37+
public function setCondition(Expr $condition)
38+
{
39+
$this->condition = $condition;
40+
}
41+
/**
42+
* @return Expr
43+
*/
44+
public function getCondition()
45+
{
46+
return $this->condition;
47+
}
48+
/**
49+
* @param string[]
50+
*/
51+
public function setMembers($members)
52+
{
53+
$this->members = $members;
54+
}
55+
/**
56+
* @return string[]
57+
*/
58+
public function getMembers()
59+
{
60+
return $this->members;
61+
}
62+
/**
63+
* @param string
64+
*/
65+
public function setRole($role)
66+
{
67+
$this->role = $role;
68+
}
69+
/**
70+
* @return string
71+
*/
72+
public function getRole()
73+
{
74+
return $this->role;
75+
}
76+
}
77+
78+
// Adding a class alias for backwards compatibility with the previous class name.
79+
class_alias(Binding::class, 'Google_Service_BigQueryReservation_Binding');

0 commit comments

Comments
 (0)