source: vendor/google/apiclient-services/src/Logging/LogBucket.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: 4.0 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\Logging;
19
20class LogBucket extends \Google\Collection
21{
22 protected $collection_key = 'restrictedFields';
23 /**
24 * @var bool
25 */
26 public $analyticsEnabled;
27 protected $cmekSettingsType = CmekSettings::class;
28 protected $cmekSettingsDataType = '';
29 /**
30 * @var string
31 */
32 public $createTime;
33 /**
34 * @var string
35 */
36 public $description;
37 protected $indexConfigsType = IndexConfig::class;
38 protected $indexConfigsDataType = 'array';
39 /**
40 * @var string
41 */
42 public $lifecycleState;
43 /**
44 * @var bool
45 */
46 public $locked;
47 /**
48 * @var string
49 */
50 public $name;
51 /**
52 * @var string[]
53 */
54 public $restrictedFields;
55 /**
56 * @var int
57 */
58 public $retentionDays;
59 /**
60 * @var string
61 */
62 public $updateTime;
63
64 /**
65 * @param bool
66 */
67 public function setAnalyticsEnabled($analyticsEnabled)
68 {
69 $this->analyticsEnabled = $analyticsEnabled;
70 }
71 /**
72 * @return bool
73 */
74 public function getAnalyticsEnabled()
75 {
76 return $this->analyticsEnabled;
77 }
78 /**
79 * @param CmekSettings
80 */
81 public function setCmekSettings(CmekSettings $cmekSettings)
82 {
83 $this->cmekSettings = $cmekSettings;
84 }
85 /**
86 * @return CmekSettings
87 */
88 public function getCmekSettings()
89 {
90 return $this->cmekSettings;
91 }
92 /**
93 * @param string
94 */
95 public function setCreateTime($createTime)
96 {
97 $this->createTime = $createTime;
98 }
99 /**
100 * @return string
101 */
102 public function getCreateTime()
103 {
104 return $this->createTime;
105 }
106 /**
107 * @param string
108 */
109 public function setDescription($description)
110 {
111 $this->description = $description;
112 }
113 /**
114 * @return string
115 */
116 public function getDescription()
117 {
118 return $this->description;
119 }
120 /**
121 * @param IndexConfig[]
122 */
123 public function setIndexConfigs($indexConfigs)
124 {
125 $this->indexConfigs = $indexConfigs;
126 }
127 /**
128 * @return IndexConfig[]
129 */
130 public function getIndexConfigs()
131 {
132 return $this->indexConfigs;
133 }
134 /**
135 * @param string
136 */
137 public function setLifecycleState($lifecycleState)
138 {
139 $this->lifecycleState = $lifecycleState;
140 }
141 /**
142 * @return string
143 */
144 public function getLifecycleState()
145 {
146 return $this->lifecycleState;
147 }
148 /**
149 * @param bool
150 */
151 public function setLocked($locked)
152 {
153 $this->locked = $locked;
154 }
155 /**
156 * @return bool
157 */
158 public function getLocked()
159 {
160 return $this->locked;
161 }
162 /**
163 * @param string
164 */
165 public function setName($name)
166 {
167 $this->name = $name;
168 }
169 /**
170 * @return string
171 */
172 public function getName()
173 {
174 return $this->name;
175 }
176 /**
177 * @param string[]
178 */
179 public function setRestrictedFields($restrictedFields)
180 {
181 $this->restrictedFields = $restrictedFields;
182 }
183 /**
184 * @return string[]
185 */
186 public function getRestrictedFields()
187 {
188 return $this->restrictedFields;
189 }
190 /**
191 * @param int
192 */
193 public function setRetentionDays($retentionDays)
194 {
195 $this->retentionDays = $retentionDays;
196 }
197 /**
198 * @return int
199 */
200 public function getRetentionDays()
201 {
202 return $this->retentionDays;
203 }
204 /**
205 * @param string
206 */
207 public function setUpdateTime($updateTime)
208 {
209 $this->updateTime = $updateTime;
210 }
211 /**
212 * @return string
213 */
214 public function getUpdateTime()
215 {
216 return $this->updateTime;
217 }
218}
219
220// Adding a class alias for backwards compatibility with the previous class name.
221class_alias(LogBucket::class, 'Google_Service_Logging_LogBucket');
Note: See TracBrowser for help on using the repository browser.