source: vendor/google/apiclient-services/src/CloudFunctions/GoogleCloudFunctionsV2OperationMetadata.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.3 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\CloudFunctions;
19
20class GoogleCloudFunctionsV2OperationMetadata extends \Google\Collection
21{
22 protected $collection_key = 'stages';
23 /**
24 * @var string
25 */
26 public $apiVersion;
27 /**
28 * @var string
29 */
30 public $buildName;
31 /**
32 * @var bool
33 */
34 public $cancelRequested;
35 /**
36 * @var string
37 */
38 public $createTime;
39 /**
40 * @var string
41 */
42 public $endTime;
43 /**
44 * @var string
45 */
46 public $operationType;
47 /**
48 * @var array[]
49 */
50 public $requestResource;
51 /**
52 * @var string
53 */
54 public $sourceToken;
55 protected $stagesType = GoogleCloudFunctionsV2Stage::class;
56 protected $stagesDataType = 'array';
57 /**
58 * @var string
59 */
60 public $statusDetail;
61 /**
62 * @var string
63 */
64 public $target;
65 /**
66 * @var string
67 */
68 public $verb;
69
70 /**
71 * @param string
72 */
73 public function setApiVersion($apiVersion)
74 {
75 $this->apiVersion = $apiVersion;
76 }
77 /**
78 * @return string
79 */
80 public function getApiVersion()
81 {
82 return $this->apiVersion;
83 }
84 /**
85 * @param string
86 */
87 public function setBuildName($buildName)
88 {
89 $this->buildName = $buildName;
90 }
91 /**
92 * @return string
93 */
94 public function getBuildName()
95 {
96 return $this->buildName;
97 }
98 /**
99 * @param bool
100 */
101 public function setCancelRequested($cancelRequested)
102 {
103 $this->cancelRequested = $cancelRequested;
104 }
105 /**
106 * @return bool
107 */
108 public function getCancelRequested()
109 {
110 return $this->cancelRequested;
111 }
112 /**
113 * @param string
114 */
115 public function setCreateTime($createTime)
116 {
117 $this->createTime = $createTime;
118 }
119 /**
120 * @return string
121 */
122 public function getCreateTime()
123 {
124 return $this->createTime;
125 }
126 /**
127 * @param string
128 */
129 public function setEndTime($endTime)
130 {
131 $this->endTime = $endTime;
132 }
133 /**
134 * @return string
135 */
136 public function getEndTime()
137 {
138 return $this->endTime;
139 }
140 /**
141 * @param string
142 */
143 public function setOperationType($operationType)
144 {
145 $this->operationType = $operationType;
146 }
147 /**
148 * @return string
149 */
150 public function getOperationType()
151 {
152 return $this->operationType;
153 }
154 /**
155 * @param array[]
156 */
157 public function setRequestResource($requestResource)
158 {
159 $this->requestResource = $requestResource;
160 }
161 /**
162 * @return array[]
163 */
164 public function getRequestResource()
165 {
166 return $this->requestResource;
167 }
168 /**
169 * @param string
170 */
171 public function setSourceToken($sourceToken)
172 {
173 $this->sourceToken = $sourceToken;
174 }
175 /**
176 * @return string
177 */
178 public function getSourceToken()
179 {
180 return $this->sourceToken;
181 }
182 /**
183 * @param GoogleCloudFunctionsV2Stage[]
184 */
185 public function setStages($stages)
186 {
187 $this->stages = $stages;
188 }
189 /**
190 * @return GoogleCloudFunctionsV2Stage[]
191 */
192 public function getStages()
193 {
194 return $this->stages;
195 }
196 /**
197 * @param string
198 */
199 public function setStatusDetail($statusDetail)
200 {
201 $this->statusDetail = $statusDetail;
202 }
203 /**
204 * @return string
205 */
206 public function getStatusDetail()
207 {
208 return $this->statusDetail;
209 }
210 /**
211 * @param string
212 */
213 public function setTarget($target)
214 {
215 $this->target = $target;
216 }
217 /**
218 * @return string
219 */
220 public function getTarget()
221 {
222 return $this->target;
223 }
224 /**
225 * @param string
226 */
227 public function setVerb($verb)
228 {
229 $this->verb = $verb;
230 }
231 /**
232 * @return string
233 */
234 public function getVerb()
235 {
236 return $this->verb;
237 }
238}
239
240// Adding a class alias for backwards compatibility with the previous class name.
241class_alias(GoogleCloudFunctionsV2OperationMetadata::class, 'Google_Service_CloudFunctions_GoogleCloudFunctionsV2OperationMetadata');
Note: See TracBrowser for help on using the repository browser.