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 18class Google_Service_CloudSearch_ItemAcl extends Google_Collection 19{ 20 protected $collection_key = 'readers'; 21 public $aclInheritanceType; 22 protected $deniedReadersType = 'Google_Service_CloudSearch_Principal'; 23 protected $deniedReadersDataType = 'array'; 24 public $inheritAclFrom; 25 protected $ownersType = 'Google_Service_CloudSearch_Principal'; 26 protected $ownersDataType = 'array'; 27 protected $readersType = 'Google_Service_CloudSearch_Principal'; 28 protected $readersDataType = 'array'; 29 30 public function setAclInheritanceType($aclInheritanceType) 31 { 32 $this->aclInheritanceType = $aclInheritanceType; 33 } 34 public function getAclInheritanceType() 35 { 36 return $this->aclInheritanceType; 37 } 38 /** 39 * @param Google_Service_CloudSearch_Principal 40 */ 41 public function setDeniedReaders($deniedReaders) 42 { 43 $this->deniedReaders = $deniedReaders; 44 } 45 /** 46 * @return Google_Service_CloudSearch_Principal 47 */ 48 public function getDeniedReaders() 49 { 50 return $this->deniedReaders; 51 } 52 public function setInheritAclFrom($inheritAclFrom) 53 { 54 $this->inheritAclFrom = $inheritAclFrom; 55 } 56 public function getInheritAclFrom() 57 { 58 return $this->inheritAclFrom; 59 } 60 /** 61 * @param Google_Service_CloudSearch_Principal 62 */ 63 public function setOwners($owners) 64 { 65 $this->owners = $owners; 66 } 67 /** 68 * @return Google_Service_CloudSearch_Principal 69 */ 70 public function getOwners() 71 { 72 return $this->owners; 73 } 74 /** 75 * @param Google_Service_CloudSearch_Principal 76 */ 77 public function setReaders($readers) 78 { 79 $this->readers = $readers; 80 } 81 /** 82 * @return Google_Service_CloudSearch_Principal 83 */ 84 public function getReaders() 85 { 86 return $this->readers; 87 } 88} 89