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\ChromePolicy; 19 20class GoogleChromePolicyV1PolicySchema extends \Google\Collection 21{ 22 protected $collection_key = 'validTargetResources'; 23 /** 24 * @var string[] 25 */ 26 public $accessRestrictions; 27 protected $additionalTargetKeyNamesType = GoogleChromePolicyV1AdditionalTargetKeyName::class; 28 protected $additionalTargetKeyNamesDataType = 'array'; 29 protected $definitionType = Proto2FileDescriptorProto::class; 30 protected $definitionDataType = ''; 31 protected $fieldDescriptionsType = GoogleChromePolicyV1PolicySchemaFieldDescription::class; 32 protected $fieldDescriptionsDataType = 'array'; 33 /** 34 * @var string 35 */ 36 public $name; 37 protected $noticesType = GoogleChromePolicyV1PolicySchemaNoticeDescription::class; 38 protected $noticesDataType = 'array'; 39 protected $policyApiLifeycleType = ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle::class; 40 protected $policyApiLifeycleDataType = ''; 41 /** 42 * @var string 43 */ 44 public $policyDescription; 45 /** 46 * @var string 47 */ 48 public $schemaName; 49 /** 50 * @var string 51 */ 52 public $supportUri; 53 /** 54 * @var string[] 55 */ 56 public $validTargetResources; 57 58 /** 59 * @param string[] 60 */ 61 public function setAccessRestrictions($accessRestrictions) 62 { 63 $this->accessRestrictions = $accessRestrictions; 64 } 65 /** 66 * @return string[] 67 */ 68 public function getAccessRestrictions() 69 { 70 return $this->accessRestrictions; 71 } 72 /** 73 * @param GoogleChromePolicyV1AdditionalTargetKeyName[] 74 */ 75 public function setAdditionalTargetKeyNames($additionalTargetKeyNames) 76 { 77 $this->additionalTargetKeyNames = $additionalTargetKeyNames; 78 } 79 /** 80 * @return GoogleChromePolicyV1AdditionalTargetKeyName[] 81 */ 82 public function getAdditionalTargetKeyNames() 83 { 84 return $this->additionalTargetKeyNames; 85 } 86 /** 87 * @param Proto2FileDescriptorProto 88 */ 89 public function setDefinition(Proto2FileDescriptorProto $definition) 90 { 91 $this->definition = $definition; 92 } 93 /** 94 * @return Proto2FileDescriptorProto 95 */ 96 public function getDefinition() 97 { 98 return $this->definition; 99 } 100 /** 101 * @param GoogleChromePolicyV1PolicySchemaFieldDescription[] 102 */ 103 public function setFieldDescriptions($fieldDescriptions) 104 { 105 $this->fieldDescriptions = $fieldDescriptions; 106 } 107 /** 108 * @return GoogleChromePolicyV1PolicySchemaFieldDescription[] 109 */ 110 public function getFieldDescriptions() 111 { 112 return $this->fieldDescriptions; 113 } 114 /** 115 * @param string 116 */ 117 public function setName($name) 118 { 119 $this->name = $name; 120 } 121 /** 122 * @return string 123 */ 124 public function getName() 125 { 126 return $this->name; 127 } 128 /** 129 * @param GoogleChromePolicyV1PolicySchemaNoticeDescription[] 130 */ 131 public function setNotices($notices) 132 { 133 $this->notices = $notices; 134 } 135 /** 136 * @return GoogleChromePolicyV1PolicySchemaNoticeDescription[] 137 */ 138 public function getNotices() 139 { 140 return $this->notices; 141 } 142 /** 143 * @param ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle 144 */ 145 public function setPolicyApiLifeycle(ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle $policyApiLifeycle) 146 { 147 $this->policyApiLifeycle = $policyApiLifeycle; 148 } 149 /** 150 * @return ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle 151 */ 152 public function getPolicyApiLifeycle() 153 { 154 return $this->policyApiLifeycle; 155 } 156 /** 157 * @param string 158 */ 159 public function setPolicyDescription($policyDescription) 160 { 161 $this->policyDescription = $policyDescription; 162 } 163 /** 164 * @return string 165 */ 166 public function getPolicyDescription() 167 { 168 return $this->policyDescription; 169 } 170 /** 171 * @param string 172 */ 173 public function setSchemaName($schemaName) 174 { 175 $this->schemaName = $schemaName; 176 } 177 /** 178 * @return string 179 */ 180 public function getSchemaName() 181 { 182 return $this->schemaName; 183 } 184 /** 185 * @param string 186 */ 187 public function setSupportUri($supportUri) 188 { 189 $this->supportUri = $supportUri; 190 } 191 /** 192 * @return string 193 */ 194 public function getSupportUri() 195 { 196 return $this->supportUri; 197 } 198 /** 199 * @param string[] 200 */ 201 public function setValidTargetResources($validTargetResources) 202 { 203 $this->validTargetResources = $validTargetResources; 204 } 205 /** 206 * @return string[] 207 */ 208 public function getValidTargetResources() 209 { 210 return $this->validTargetResources; 211 } 212} 213 214// Adding a class alias for backwards compatibility with the previous class name. 215class_alias(GoogleChromePolicyV1PolicySchema::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1PolicySchema'); 216