source: vendor/google/apiclient-services/src/Datastream/Stream.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 4.8 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\Datastream;
19
20class Stream extends \Google\Collection
21{
22 protected $collection_key = 'errors';
23 protected $backfillAllType = BackfillAllStrategy::class;
24 protected $backfillAllDataType = '';
25 protected $backfillNoneType = BackfillNoneStrategy::class;
26 protected $backfillNoneDataType = '';
27 /**
28 * @var string
29 */
30 public $createTime;
31 /**
32 * @var string
33 */
34 public $customerManagedEncryptionKey;
35 protected $destinationConfigType = DestinationConfig::class;
36 protected $destinationConfigDataType = '';
37 /**
38 * @var string
39 */
40 public $displayName;
41 protected $errorsType = Error::class;
42 protected $errorsDataType = 'array';
43 /**
44 * @var string[]
45 */
46 public $labels;
47 /**
48 * @var string
49 */
50 public $lastRecoveryTime;
51 /**
52 * @var string
53 */
54 public $name;
55 protected $sourceConfigType = SourceConfig::class;
56 protected $sourceConfigDataType = '';
57 /**
58 * @var string
59 */
60 public $state;
61 /**
62 * @var string
63 */
64 public $updateTime;
65
66 /**
67 * @param BackfillAllStrategy
68 */
69 public function setBackfillAll(BackfillAllStrategy $backfillAll)
70 {
71 $this->backfillAll = $backfillAll;
72 }
73 /**
74 * @return BackfillAllStrategy
75 */
76 public function getBackfillAll()
77 {
78 return $this->backfillAll;
79 }
80 /**
81 * @param BackfillNoneStrategy
82 */
83 public function setBackfillNone(BackfillNoneStrategy $backfillNone)
84 {
85 $this->backfillNone = $backfillNone;
86 }
87 /**
88 * @return BackfillNoneStrategy
89 */
90 public function getBackfillNone()
91 {
92 return $this->backfillNone;
93 }
94 /**
95 * @param string
96 */
97 public function setCreateTime($createTime)
98 {
99 $this->createTime = $createTime;
100 }
101 /**
102 * @return string
103 */
104 public function getCreateTime()
105 {
106 return $this->createTime;
107 }
108 /**
109 * @param string
110 */
111 public function setCustomerManagedEncryptionKey($customerManagedEncryptionKey)
112 {
113 $this->customerManagedEncryptionKey = $customerManagedEncryptionKey;
114 }
115 /**
116 * @return string
117 */
118 public function getCustomerManagedEncryptionKey()
119 {
120 return $this->customerManagedEncryptionKey;
121 }
122 /**
123 * @param DestinationConfig
124 */
125 public function setDestinationConfig(DestinationConfig $destinationConfig)
126 {
127 $this->destinationConfig = $destinationConfig;
128 }
129 /**
130 * @return DestinationConfig
131 */
132 public function getDestinationConfig()
133 {
134 return $this->destinationConfig;
135 }
136 /**
137 * @param string
138 */
139 public function setDisplayName($displayName)
140 {
141 $this->displayName = $displayName;
142 }
143 /**
144 * @return string
145 */
146 public function getDisplayName()
147 {
148 return $this->displayName;
149 }
150 /**
151 * @param Error[]
152 */
153 public function setErrors($errors)
154 {
155 $this->errors = $errors;
156 }
157 /**
158 * @return Error[]
159 */
160 public function getErrors()
161 {
162 return $this->errors;
163 }
164 /**
165 * @param string[]
166 */
167 public function setLabels($labels)
168 {
169 $this->labels = $labels;
170 }
171 /**
172 * @return string[]
173 */
174 public function getLabels()
175 {
176 return $this->labels;
177 }
178 /**
179 * @param string
180 */
181 public function setLastRecoveryTime($lastRecoveryTime)
182 {
183 $this->lastRecoveryTime = $lastRecoveryTime;
184 }
185 /**
186 * @return string
187 */
188 public function getLastRecoveryTime()
189 {
190 return $this->lastRecoveryTime;
191 }
192 /**
193 * @param string
194 */
195 public function setName($name)
196 {
197 $this->name = $name;
198 }
199 /**
200 * @return string
201 */
202 public function getName()
203 {
204 return $this->name;
205 }
206 /**
207 * @param SourceConfig
208 */
209 public function setSourceConfig(SourceConfig $sourceConfig)
210 {
211 $this->sourceConfig = $sourceConfig;
212 }
213 /**
214 * @return SourceConfig
215 */
216 public function getSourceConfig()
217 {
218 return $this->sourceConfig;
219 }
220 /**
221 * @param string
222 */
223 public function setState($state)
224 {
225 $this->state = $state;
226 }
227 /**
228 * @return string
229 */
230 public function getState()
231 {
232 return $this->state;
233 }
234 /**
235 * @param string
236 */
237 public function setUpdateTime($updateTime)
238 {
239 $this->updateTime = $updateTime;
240 }
241 /**
242 * @return string
243 */
244 public function getUpdateTime()
245 {
246 return $this->updateTime;
247 }
248}
249
250// Adding a class alias for backwards compatibility with the previous class name.
251class_alias(Stream::class, 'Google_Service_Datastream_Stream');
Note: See TracBrowser for help on using the repository browser.