Skip to content

Commit 55af813

Browse files
1 parent 59e362e commit 55af813

File tree

9 files changed

+694
-0
lines changed

9 files changed

+694
-0
lines changed

src/BigLakeService.php

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ class BigLakeService extends \Google\Service
4343
const CLOUD_PLATFORM =
4444
"https://www.googleapis.com/auth/cloud-platform";
4545

46+
public $projects_catalogs;
47+
public $projects_catalogs_namespaces;
4648
public $projects_locations_catalogs;
4749
public $projects_locations_catalogs_databases;
4850
public $projects_locations_catalogs_databases_tables;
@@ -65,6 +67,74 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
6567
$this->version = 'v1';
6668
$this->serviceName = 'biglake';
6769

70+
$this->projects_catalogs = new BigLakeService\Resource\ProjectsCatalogs(
71+
$this,
72+
$this->serviceName,
73+
'catalogs',
74+
[
75+
'methods' => [
76+
'getIamPolicy' => [
77+
'path' => 'v1/{+resource}:getIamPolicy',
78+
'httpMethod' => 'GET',
79+
'parameters' => [
80+
'resource' => [
81+
'location' => 'path',
82+
'type' => 'string',
83+
'required' => true,
84+
],
85+
'options.requestedPolicyVersion' => [
86+
'location' => 'query',
87+
'type' => 'integer',
88+
],
89+
],
90+
],'setIamPolicy' => [
91+
'path' => 'v1/{+resource}:setIamPolicy',
92+
'httpMethod' => 'POST',
93+
'parameters' => [
94+
'resource' => [
95+
'location' => 'path',
96+
'type' => 'string',
97+
'required' => true,
98+
],
99+
],
100+
],
101+
]
102+
]
103+
);
104+
$this->projects_catalogs_namespaces = new BigLakeService\Resource\ProjectsCatalogsNamespaces(
105+
$this,
106+
$this->serviceName,
107+
'namespaces',
108+
[
109+
'methods' => [
110+
'getIamPolicy' => [
111+
'path' => 'v1/{+resource}:getIamPolicy',
112+
'httpMethod' => 'GET',
113+
'parameters' => [
114+
'resource' => [
115+
'location' => 'path',
116+
'type' => 'string',
117+
'required' => true,
118+
],
119+
'options.requestedPolicyVersion' => [
120+
'location' => 'query',
121+
'type' => 'integer',
122+
],
123+
],
124+
],'setIamPolicy' => [
125+
'path' => 'v1/{+resource}:setIamPolicy',
126+
'httpMethod' => 'POST',
127+
'parameters' => [
128+
'resource' => [
129+
'location' => 'path',
130+
'type' => 'string',
131+
'required' => true,
132+
],
133+
],
134+
],
135+
]
136+
]
137+
);
68138
$this->projects_locations_catalogs = new BigLakeService\Resource\ProjectsLocationsCatalogs(
69139
$this,
70140
$this->serviceName,

src/BigLakeService/AuditConfig.php

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\BigLakeService;
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_BigLakeService_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\BigLakeService;
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_BigLakeService_AuditLogConfig');

src/BigLakeService/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\BigLakeService;
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_BigLakeService_Binding');

src/BigLakeService/Expr.php

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
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\BigLakeService;
19+
20+
class Expr extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $description;
26+
/**
27+
* @var string
28+
*/
29+
public $expression;
30+
/**
31+
* @var string
32+
*/
33+
public $location;
34+
/**
35+
* @var string
36+
*/
37+
public $title;
38+
39+
/**
40+
* @param string
41+
*/
42+
public function setDescription($description)
43+
{
44+
$this->description = $description;
45+
}
46+
/**
47+
* @return string
48+
*/
49+
public function getDescription()
50+
{
51+
return $this->description;
52+
}
53+
/**
54+
* @param string
55+
*/
56+
public function setExpression($expression)
57+
{
58+
$this->expression = $expression;
59+
}
60+
/**
61+
* @return string
62+
*/
63+
public function getExpression()
64+
{
65+
return $this->expression;
66+
}
67+
/**
68+
* @param string
69+
*/
70+
public function setLocation($location)
71+
{
72+
$this->location = $location;
73+
}
74+
/**
75+
* @return string
76+
*/
77+
public function getLocation()
78+
{
79+
return $this->location;
80+
}
81+
/**
82+
* @param string
83+
*/
84+
public function setTitle($title)
85+
{
86+
$this->title = $title;
87+
}
88+
/**
89+
* @return string
90+
*/
91+
public function getTitle()
92+
{
93+
return $this->title;
94+
}
95+
}
96+
97+
// Adding a class alias for backwards compatibility with the previous class name.
98+
class_alias(Expr::class, 'Google_Service_BigLakeService_Expr');

0 commit comments

Comments
 (0)