source: vendor/google/apiclient-services/src/ChromePolicy/GoogleChromePolicyV1PolicySchema.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 5.9 KB
Line 
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 /**
30 * @var string
31 */
32 public $categoryTitle;
33 protected $definitionType = Proto2FileDescriptorProto::class;
34 protected $definitionDataType = '';
35 protected $fieldDescriptionsType = GoogleChromePolicyV1PolicySchemaFieldDescription::class;
36 protected $fieldDescriptionsDataType = 'array';
37 /**
38 * @var string
39 */
40 public $name;
41 protected $noticesType = GoogleChromePolicyV1PolicySchemaNoticeDescription::class;
42 protected $noticesDataType = 'array';
43 protected $policyApiLifecycleType = ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle::class;
44 protected $policyApiLifecycleDataType = '';
45 protected $policyApiLifeycleType = ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle::class;
46 protected $policyApiLifeycleDataType = '';
47 /**
48 * @var string
49 */
50 public $policyDescription;
51 /**
52 * @var string
53 */
54 public $schemaName;
55 /**
56 * @var string
57 */
58 public $supportUri;
59 /**
60 * @var string[]
61 */
62 public $validTargetResources;
63
64 /**
65 * @param string[]
66 */
67 public function setAccessRestrictions($accessRestrictions)
68 {
69 $this->accessRestrictions = $accessRestrictions;
70 }
71 /**
72 * @return string[]
73 */
74 public function getAccessRestrictions()
75 {
76 return $this->accessRestrictions;
77 }
78 /**
79 * @param GoogleChromePolicyV1AdditionalTargetKeyName[]
80 */
81 public function setAdditionalTargetKeyNames($additionalTargetKeyNames)
82 {
83 $this->additionalTargetKeyNames = $additionalTargetKeyNames;
84 }
85 /**
86 * @return GoogleChromePolicyV1AdditionalTargetKeyName[]
87 */
88 public function getAdditionalTargetKeyNames()
89 {
90 return $this->additionalTargetKeyNames;
91 }
92 /**
93 * @param string
94 */
95 public function setCategoryTitle($categoryTitle)
96 {
97 $this->categoryTitle = $categoryTitle;
98 }
99 /**
100 * @return string
101 */
102 public function getCategoryTitle()
103 {
104 return $this->categoryTitle;
105 }
106 /**
107 * @param Proto2FileDescriptorProto
108 */
109 public function setDefinition(Proto2FileDescriptorProto $definition)
110 {
111 $this->definition = $definition;
112 }
113 /**
114 * @return Proto2FileDescriptorProto
115 */
116 public function getDefinition()
117 {
118 return $this->definition;
119 }
120 /**
121 * @param GoogleChromePolicyV1PolicySchemaFieldDescription[]
122 */
123 public function setFieldDescriptions($fieldDescriptions)
124 {
125 $this->fieldDescriptions = $fieldDescriptions;
126 }
127 /**
128 * @return GoogleChromePolicyV1PolicySchemaFieldDescription[]
129 */
130 public function getFieldDescriptions()
131 {
132 return $this->fieldDescriptions;
133 }
134 /**
135 * @param string
136 */
137 public function setName($name)
138 {
139 $this->name = $name;
140 }
141 /**
142 * @return string
143 */
144 public function getName()
145 {
146 return $this->name;
147 }
148 /**
149 * @param GoogleChromePolicyV1PolicySchemaNoticeDescription[]
150 */
151 public function setNotices($notices)
152 {
153 $this->notices = $notices;
154 }
155 /**
156 * @return GoogleChromePolicyV1PolicySchemaNoticeDescription[]
157 */
158 public function getNotices()
159 {
160 return $this->notices;
161 }
162 /**
163 * @param ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
164 */
165 public function setPolicyApiLifecycle(ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle $policyApiLifecycle)
166 {
167 $this->policyApiLifecycle = $policyApiLifecycle;
168 }
169 /**
170 * @return ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
171 */
172 public function getPolicyApiLifecycle()
173 {
174 return $this->policyApiLifecycle;
175 }
176 /**
177 * @param ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
178 */
179 public function setPolicyApiLifeycle(ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle $policyApiLifeycle)
180 {
181 $this->policyApiLifeycle = $policyApiLifeycle;
182 }
183 /**
184 * @return ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
185 */
186 public function getPolicyApiLifeycle()
187 {
188 return $this->policyApiLifeycle;
189 }
190 /**
191 * @param string
192 */
193 public function setPolicyDescription($policyDescription)
194 {
195 $this->policyDescription = $policyDescription;
196 }
197 /**
198 * @return string
199 */
200 public function getPolicyDescription()
201 {
202 return $this->policyDescription;
203 }
204 /**
205 * @param string
206 */
207 public function setSchemaName($schemaName)
208 {
209 $this->schemaName = $schemaName;
210 }
211 /**
212 * @return string
213 */
214 public function getSchemaName()
215 {
216 return $this->schemaName;
217 }
218 /**
219 * @param string
220 */
221 public function setSupportUri($supportUri)
222 {
223 $this->supportUri = $supportUri;
224 }
225 /**
226 * @return string
227 */
228 public function getSupportUri()
229 {
230 return $this->supportUri;
231 }
232 /**
233 * @param string[]
234 */
235 public function setValidTargetResources($validTargetResources)
236 {
237 $this->validTargetResources = $validTargetResources;
238 }
239 /**
240 * @return string[]
241 */
242 public function getValidTargetResources()
243 {
244 return $this->validTargetResources;
245 }
246}
247
248// Adding a class alias for backwards compatibility with the previous class name.
249class_alias(GoogleChromePolicyV1PolicySchema::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1PolicySchema');
Note: See TracBrowser for help on using the repository browser.