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\Bigquery;
|
---|
19 |
|
---|
20 | class DatasetAccess extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $conditionType = Expr::class;
|
---|
23 | protected $conditionDataType = '';
|
---|
24 | protected $datasetType = DatasetAccessEntry::class;
|
---|
25 | protected $datasetDataType = '';
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $domain;
|
---|
30 | /**
|
---|
31 | * @var string
|
---|
32 | */
|
---|
33 | public $groupByEmail;
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $iamMember;
|
---|
38 | /**
|
---|
39 | * @var string
|
---|
40 | */
|
---|
41 | public $role;
|
---|
42 | protected $routineType = RoutineReference::class;
|
---|
43 | protected $routineDataType = '';
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $specialGroup;
|
---|
48 | /**
|
---|
49 | * @var string
|
---|
50 | */
|
---|
51 | public $userByEmail;
|
---|
52 | protected $viewType = TableReference::class;
|
---|
53 | protected $viewDataType = '';
|
---|
54 |
|
---|
55 | /**
|
---|
56 | * @param Expr
|
---|
57 | */
|
---|
58 | public function setCondition(Expr $condition)
|
---|
59 | {
|
---|
60 | $this->condition = $condition;
|
---|
61 | }
|
---|
62 | /**
|
---|
63 | * @return Expr
|
---|
64 | */
|
---|
65 | public function getCondition()
|
---|
66 | {
|
---|
67 | return $this->condition;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @param DatasetAccessEntry
|
---|
71 | */
|
---|
72 | public function setDataset(DatasetAccessEntry $dataset)
|
---|
73 | {
|
---|
74 | $this->dataset = $dataset;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @return DatasetAccessEntry
|
---|
78 | */
|
---|
79 | public function getDataset()
|
---|
80 | {
|
---|
81 | return $this->dataset;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @param string
|
---|
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 | * @param string
|
---|
99 | */
|
---|
100 | public function setGroupByEmail($groupByEmail)
|
---|
101 | {
|
---|
102 | $this->groupByEmail = $groupByEmail;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @return string
|
---|
106 | */
|
---|
107 | public function getGroupByEmail()
|
---|
108 | {
|
---|
109 | return $this->groupByEmail;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @param string
|
---|
113 | */
|
---|
114 | public function setIamMember($iamMember)
|
---|
115 | {
|
---|
116 | $this->iamMember = $iamMember;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @return string
|
---|
120 | */
|
---|
121 | public function getIamMember()
|
---|
122 | {
|
---|
123 | return $this->iamMember;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @param string
|
---|
127 | */
|
---|
128 | public function setRole($role)
|
---|
129 | {
|
---|
130 | $this->role = $role;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @return string
|
---|
134 | */
|
---|
135 | public function getRole()
|
---|
136 | {
|
---|
137 | return $this->role;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @param RoutineReference
|
---|
141 | */
|
---|
142 | public function setRoutine(RoutineReference $routine)
|
---|
143 | {
|
---|
144 | $this->routine = $routine;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @return RoutineReference
|
---|
148 | */
|
---|
149 | public function getRoutine()
|
---|
150 | {
|
---|
151 | return $this->routine;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @param string
|
---|
155 | */
|
---|
156 | public function setSpecialGroup($specialGroup)
|
---|
157 | {
|
---|
158 | $this->specialGroup = $specialGroup;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @return string
|
---|
162 | */
|
---|
163 | public function getSpecialGroup()
|
---|
164 | {
|
---|
165 | return $this->specialGroup;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @param string
|
---|
169 | */
|
---|
170 | public function setUserByEmail($userByEmail)
|
---|
171 | {
|
---|
172 | $this->userByEmail = $userByEmail;
|
---|
173 | }
|
---|
174 | /**
|
---|
175 | * @return string
|
---|
176 | */
|
---|
177 | public function getUserByEmail()
|
---|
178 | {
|
---|
179 | return $this->userByEmail;
|
---|
180 | }
|
---|
181 | /**
|
---|
182 | * @param TableReference
|
---|
183 | */
|
---|
184 | public function setView(TableReference $view)
|
---|
185 | {
|
---|
186 | $this->view = $view;
|
---|
187 | }
|
---|
188 | /**
|
---|
189 | * @return TableReference
|
---|
190 | */
|
---|
191 | public function getView()
|
---|
192 | {
|
---|
193 | return $this->view;
|
---|
194 | }
|
---|
195 | }
|
---|
196 |
|
---|
197 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
198 | class_alias(DatasetAccess::class, 'Google_Service_Bigquery_DatasetAccess');
|
---|