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
18namespace Google\Service\Storage;
19
20class ObjectAccessControl extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $bucket;
26  /**
27   * @var string
28   */
29  public $domain;
30  /**
31   * @var string
32   */
33  public $email;
34  /**
35   * @var string
36   */
37  public $entity;
38  /**
39   * @var string
40   */
41  public $entityId;
42  /**
43   * @var string
44   */
45  public $etag;
46  /**
47   * @var string
48   */
49  public $generation;
50  /**
51   * @var string
52   */
53  public $id;
54  /**
55   * @var string
56   */
57  public $kind;
58  /**
59   * @var string
60   */
61  public $object;
62  protected $projectTeamType = ObjectAccessControlProjectTeam::class;
63  protected $projectTeamDataType = '';
64  /**
65   * @var string
66   */
67  public $role;
68  /**
69   * @var string
70   */
71  public $selfLink;
72
73  /**
74   * @param string
75   */
76  public function setBucket($bucket)
77  {
78    $this->bucket = $bucket;
79  }
80  /**
81   * @return string
82   */
83  public function getBucket()
84  {
85    return $this->bucket;
86  }
87  /**
88   * @param string
89   */
90  public function setDomain($domain)
91  {
92    $this->domain = $domain;
93  }
94  /**
95   * @return string
96   */
97  public function getDomain()
98  {
99    return $this->domain;
100  }
101  /**
102   * @param string
103   */
104  public function setEmail($email)
105  {
106    $this->email = $email;
107  }
108  /**
109   * @return string
110   */
111  public function getEmail()
112  {
113    return $this->email;
114  }
115  /**
116   * @param string
117   */
118  public function setEntity($entity)
119  {
120    $this->entity = $entity;
121  }
122  /**
123   * @return string
124   */
125  public function getEntity()
126  {
127    return $this->entity;
128  }
129  /**
130   * @param string
131   */
132  public function setEntityId($entityId)
133  {
134    $this->entityId = $entityId;
135  }
136  /**
137   * @return string
138   */
139  public function getEntityId()
140  {
141    return $this->entityId;
142  }
143  /**
144   * @param string
145   */
146  public function setEtag($etag)
147  {
148    $this->etag = $etag;
149  }
150  /**
151   * @return string
152   */
153  public function getEtag()
154  {
155    return $this->etag;
156  }
157  /**
158   * @param string
159   */
160  public function setGeneration($generation)
161  {
162    $this->generation = $generation;
163  }
164  /**
165   * @return string
166   */
167  public function getGeneration()
168  {
169    return $this->generation;
170  }
171  /**
172   * @param string
173   */
174  public function setId($id)
175  {
176    $this->id = $id;
177  }
178  /**
179   * @return string
180   */
181  public function getId()
182  {
183    return $this->id;
184  }
185  /**
186   * @param string
187   */
188  public function setKind($kind)
189  {
190    $this->kind = $kind;
191  }
192  /**
193   * @return string
194   */
195  public function getKind()
196  {
197    return $this->kind;
198  }
199  /**
200   * @param string
201   */
202  public function setObject($object)
203  {
204    $this->object = $object;
205  }
206  /**
207   * @return string
208   */
209  public function getObject()
210  {
211    return $this->object;
212  }
213  /**
214   * @param ObjectAccessControlProjectTeam
215   */
216  public function setProjectTeam(ObjectAccessControlProjectTeam $projectTeam)
217  {
218    $this->projectTeam = $projectTeam;
219  }
220  /**
221   * @return ObjectAccessControlProjectTeam
222   */
223  public function getProjectTeam()
224  {
225    return $this->projectTeam;
226  }
227  /**
228   * @param string
229   */
230  public function setRole($role)
231  {
232    $this->role = $role;
233  }
234  /**
235   * @return string
236   */
237  public function getRole()
238  {
239    return $this->role;
240  }
241  /**
242   * @param string
243   */
244  public function setSelfLink($selfLink)
245  {
246    $this->selfLink = $selfLink;
247  }
248  /**
249   * @return string
250   */
251  public function getSelfLink()
252  {
253    return $this->selfLink;
254  }
255}
256
257// Adding a class alias for backwards compatibility with the previous class name.
258class_alias(ObjectAccessControl::class, 'Google_Service_Storage_ObjectAccessControl');
259