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\Logging;
|
---|
19 |
|
---|
20 | class LogSink extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'exclusions';
|
---|
23 | protected $bigqueryOptionsType = BigQueryOptions::class;
|
---|
24 | protected $bigqueryOptionsDataType = '';
|
---|
25 | /**
|
---|
26 | * @var string
|
---|
27 | */
|
---|
28 | public $createTime;
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $description;
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $destination;
|
---|
37 | /**
|
---|
38 | * @var bool
|
---|
39 | */
|
---|
40 | public $disabled;
|
---|
41 | protected $exclusionsType = LogExclusion::class;
|
---|
42 | protected $exclusionsDataType = 'array';
|
---|
43 | /**
|
---|
44 | * @var string
|
---|
45 | */
|
---|
46 | public $filter;
|
---|
47 | /**
|
---|
48 | * @var bool
|
---|
49 | */
|
---|
50 | public $includeChildren;
|
---|
51 | /**
|
---|
52 | * @var bool
|
---|
53 | */
|
---|
54 | public $interceptChildren;
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $name;
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $outputVersionFormat;
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $resourceName;
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $updateTime;
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $writerIdentity;
|
---|
75 |
|
---|
76 | /**
|
---|
77 | * @param BigQueryOptions
|
---|
78 | */
|
---|
79 | public function setBigqueryOptions(BigQueryOptions $bigqueryOptions)
|
---|
80 | {
|
---|
81 | $this->bigqueryOptions = $bigqueryOptions;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @return BigQueryOptions
|
---|
85 | */
|
---|
86 | public function getBigqueryOptions()
|
---|
87 | {
|
---|
88 | return $this->bigqueryOptions;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @param string
|
---|
92 | */
|
---|
93 | public function setCreateTime($createTime)
|
---|
94 | {
|
---|
95 | $this->createTime = $createTime;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @return string
|
---|
99 | */
|
---|
100 | public function getCreateTime()
|
---|
101 | {
|
---|
102 | return $this->createTime;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @param string
|
---|
106 | */
|
---|
107 | public function setDescription($description)
|
---|
108 | {
|
---|
109 | $this->description = $description;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @return string
|
---|
113 | */
|
---|
114 | public function getDescription()
|
---|
115 | {
|
---|
116 | return $this->description;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @param string
|
---|
120 | */
|
---|
121 | public function setDestination($destination)
|
---|
122 | {
|
---|
123 | $this->destination = $destination;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @return string
|
---|
127 | */
|
---|
128 | public function getDestination()
|
---|
129 | {
|
---|
130 | return $this->destination;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @param bool
|
---|
134 | */
|
---|
135 | public function setDisabled($disabled)
|
---|
136 | {
|
---|
137 | $this->disabled = $disabled;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @return bool
|
---|
141 | */
|
---|
142 | public function getDisabled()
|
---|
143 | {
|
---|
144 | return $this->disabled;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @param LogExclusion[]
|
---|
148 | */
|
---|
149 | public function setExclusions($exclusions)
|
---|
150 | {
|
---|
151 | $this->exclusions = $exclusions;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @return LogExclusion[]
|
---|
155 | */
|
---|
156 | public function getExclusions()
|
---|
157 | {
|
---|
158 | return $this->exclusions;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @param string
|
---|
162 | */
|
---|
163 | public function setFilter($filter)
|
---|
164 | {
|
---|
165 | $this->filter = $filter;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @return string
|
---|
169 | */
|
---|
170 | public function getFilter()
|
---|
171 | {
|
---|
172 | return $this->filter;
|
---|
173 | }
|
---|
174 | /**
|
---|
175 | * @param bool
|
---|
176 | */
|
---|
177 | public function setIncludeChildren($includeChildren)
|
---|
178 | {
|
---|
179 | $this->includeChildren = $includeChildren;
|
---|
180 | }
|
---|
181 | /**
|
---|
182 | * @return bool
|
---|
183 | */
|
---|
184 | public function getIncludeChildren()
|
---|
185 | {
|
---|
186 | return $this->includeChildren;
|
---|
187 | }
|
---|
188 | /**
|
---|
189 | * @param bool
|
---|
190 | */
|
---|
191 | public function setInterceptChildren($interceptChildren)
|
---|
192 | {
|
---|
193 | $this->interceptChildren = $interceptChildren;
|
---|
194 | }
|
---|
195 | /**
|
---|
196 | * @return bool
|
---|
197 | */
|
---|
198 | public function getInterceptChildren()
|
---|
199 | {
|
---|
200 | return $this->interceptChildren;
|
---|
201 | }
|
---|
202 | /**
|
---|
203 | * @param string
|
---|
204 | */
|
---|
205 | public function setName($name)
|
---|
206 | {
|
---|
207 | $this->name = $name;
|
---|
208 | }
|
---|
209 | /**
|
---|
210 | * @return string
|
---|
211 | */
|
---|
212 | public function getName()
|
---|
213 | {
|
---|
214 | return $this->name;
|
---|
215 | }
|
---|
216 | /**
|
---|
217 | * @param string
|
---|
218 | */
|
---|
219 | public function setOutputVersionFormat($outputVersionFormat)
|
---|
220 | {
|
---|
221 | $this->outputVersionFormat = $outputVersionFormat;
|
---|
222 | }
|
---|
223 | /**
|
---|
224 | * @return string
|
---|
225 | */
|
---|
226 | public function getOutputVersionFormat()
|
---|
227 | {
|
---|
228 | return $this->outputVersionFormat;
|
---|
229 | }
|
---|
230 | /**
|
---|
231 | * @param string
|
---|
232 | */
|
---|
233 | public function setResourceName($resourceName)
|
---|
234 | {
|
---|
235 | $this->resourceName = $resourceName;
|
---|
236 | }
|
---|
237 | /**
|
---|
238 | * @return string
|
---|
239 | */
|
---|
240 | public function getResourceName()
|
---|
241 | {
|
---|
242 | return $this->resourceName;
|
---|
243 | }
|
---|
244 | /**
|
---|
245 | * @param string
|
---|
246 | */
|
---|
247 | public function setUpdateTime($updateTime)
|
---|
248 | {
|
---|
249 | $this->updateTime = $updateTime;
|
---|
250 | }
|
---|
251 | /**
|
---|
252 | * @return string
|
---|
253 | */
|
---|
254 | public function getUpdateTime()
|
---|
255 | {
|
---|
256 | return $this->updateTime;
|
---|
257 | }
|
---|
258 | /**
|
---|
259 | * @param string
|
---|
260 | */
|
---|
261 | public function setWriterIdentity($writerIdentity)
|
---|
262 | {
|
---|
263 | $this->writerIdentity = $writerIdentity;
|
---|
264 | }
|
---|
265 | /**
|
---|
266 | * @return string
|
---|
267 | */
|
---|
268 | public function getWriterIdentity()
|
---|
269 | {
|
---|
270 | return $this->writerIdentity;
|
---|
271 | }
|
---|
272 | }
|
---|
273 |
|
---|
274 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
275 | class_alias(LogSink::class, 'Google_Service_Logging_LogSink');
|
---|