| 1 |
efrain |
1 |
<?php
|
|
|
2 |
/*
|
|
|
3 |
* Copyright 2010 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 |
/**
|
|
|
19 |
* Service definition for Storagetransfer (v1).
|
|
|
20 |
*
|
|
|
21 |
* <p>
|
|
|
22 |
* Transfers data from external data sources to a Google Cloud Storage bucket or
|
|
|
23 |
* between Google Cloud Storage buckets.</p>
|
|
|
24 |
*
|
|
|
25 |
* <p>
|
|
|
26 |
* For more information about this service, see the API
|
|
|
27 |
* <a href="https://cloud.google.com/storage/transfer" target="_blank">Documentation</a>
|
|
|
28 |
* </p>
|
|
|
29 |
*
|
|
|
30 |
* @author Google, Inc.
|
|
|
31 |
*/
|
|
|
32 |
#[AllowDynamicProperties]
|
|
|
33 |
class Google_Service_Storagetransfer extends Google_Service
|
|
|
34 |
{
|
|
|
35 |
/** View and manage your data across Google Cloud Platform services. */
|
|
|
36 |
const CLOUD_PLATFORM =
|
|
|
37 |
"https://www.googleapis.com/auth/cloud-platform";
|
|
|
38 |
|
|
|
39 |
public $googleServiceAccounts;
|
|
|
40 |
public $transferJobs;
|
|
|
41 |
public $transferOperations;
|
|
|
42 |
public $v1;
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
/**
|
|
|
46 |
* Constructs the internal representation of the Storagetransfer service.
|
|
|
47 |
*
|
|
|
48 |
* @param Google_Client $client
|
|
|
49 |
*/
|
|
|
50 |
public function __construct(Google_Client $client)
|
|
|
51 |
{
|
|
|
52 |
parent::__construct($client);
|
|
|
53 |
$this->rootUrl = 'https://storagetransfer.googleapis.com/';
|
|
|
54 |
$this->servicePath = '';
|
|
|
55 |
$this->version = 'v1';
|
|
|
56 |
$this->serviceName = 'storagetransfer';
|
|
|
57 |
|
|
|
58 |
$this->googleServiceAccounts = new Google_Service_Storagetransfer_GoogleServiceAccounts_Resource(
|
|
|
59 |
$this,
|
|
|
60 |
$this->serviceName,
|
|
|
61 |
'googleServiceAccounts',
|
|
|
62 |
array(
|
|
|
63 |
'methods' => array(
|
|
|
64 |
'get' => array(
|
|
|
65 |
'path' => 'v1/googleServiceAccounts/{projectId}',
|
|
|
66 |
'httpMethod' => 'GET',
|
|
|
67 |
'parameters' => array(
|
|
|
68 |
'projectId' => array(
|
|
|
69 |
'location' => 'path',
|
|
|
70 |
'type' => 'string',
|
|
|
71 |
'required' => true,
|
|
|
72 |
),
|
|
|
73 |
),
|
|
|
74 |
),
|
|
|
75 |
)
|
|
|
76 |
)
|
|
|
77 |
);
|
|
|
78 |
$this->transferJobs = new Google_Service_Storagetransfer_TransferJobs_Resource(
|
|
|
79 |
$this,
|
|
|
80 |
$this->serviceName,
|
|
|
81 |
'transferJobs',
|
|
|
82 |
array(
|
|
|
83 |
'methods' => array(
|
|
|
84 |
'create' => array(
|
|
|
85 |
'path' => 'v1/transferJobs',
|
|
|
86 |
'httpMethod' => 'POST',
|
|
|
87 |
'parameters' => array(),
|
|
|
88 |
),'get' => array(
|
|
|
89 |
'path' => 'v1/{+jobName}',
|
|
|
90 |
'httpMethod' => 'GET',
|
|
|
91 |
'parameters' => array(
|
|
|
92 |
'jobName' => array(
|
|
|
93 |
'location' => 'path',
|
|
|
94 |
'type' => 'string',
|
|
|
95 |
'required' => true,
|
|
|
96 |
),
|
|
|
97 |
'projectId' => array(
|
|
|
98 |
'location' => 'query',
|
|
|
99 |
'type' => 'string',
|
|
|
100 |
),
|
|
|
101 |
),
|
|
|
102 |
),'list' => array(
|
|
|
103 |
'path' => 'v1/transferJobs',
|
|
|
104 |
'httpMethod' => 'GET',
|
|
|
105 |
'parameters' => array(
|
|
|
106 |
'filter' => array(
|
|
|
107 |
'location' => 'query',
|
|
|
108 |
'type' => 'string',
|
|
|
109 |
),
|
|
|
110 |
'pageToken' => array(
|
|
|
111 |
'location' => 'query',
|
|
|
112 |
'type' => 'string',
|
|
|
113 |
),
|
|
|
114 |
'pageSize' => array(
|
|
|
115 |
'location' => 'query',
|
|
|
116 |
'type' => 'integer',
|
|
|
117 |
),
|
|
|
118 |
),
|
|
|
119 |
),'patch' => array(
|
|
|
120 |
'path' => 'v1/{+jobName}',
|
|
|
121 |
'httpMethod' => 'PATCH',
|
|
|
122 |
'parameters' => array(
|
|
|
123 |
'jobName' => array(
|
|
|
124 |
'location' => 'path',
|
|
|
125 |
'type' => 'string',
|
|
|
126 |
'required' => true,
|
|
|
127 |
),
|
|
|
128 |
),
|
|
|
129 |
),
|
|
|
130 |
)
|
|
|
131 |
)
|
|
|
132 |
);
|
|
|
133 |
$this->transferOperations = new Google_Service_Storagetransfer_TransferOperations_Resource(
|
|
|
134 |
$this,
|
|
|
135 |
$this->serviceName,
|
|
|
136 |
'transferOperations',
|
|
|
137 |
array(
|
|
|
138 |
'methods' => array(
|
|
|
139 |
'cancel' => array(
|
|
|
140 |
'path' => 'v1/{+name}:cancel',
|
|
|
141 |
'httpMethod' => 'POST',
|
|
|
142 |
'parameters' => array(
|
|
|
143 |
'name' => array(
|
|
|
144 |
'location' => 'path',
|
|
|
145 |
'type' => 'string',
|
|
|
146 |
'required' => true,
|
|
|
147 |
),
|
|
|
148 |
),
|
|
|
149 |
),'delete' => array(
|
|
|
150 |
'path' => 'v1/{+name}',
|
|
|
151 |
'httpMethod' => 'DELETE',
|
|
|
152 |
'parameters' => array(
|
|
|
153 |
'name' => array(
|
|
|
154 |
'location' => 'path',
|
|
|
155 |
'type' => 'string',
|
|
|
156 |
'required' => true,
|
|
|
157 |
),
|
|
|
158 |
),
|
|
|
159 |
),'get' => array(
|
|
|
160 |
'path' => 'v1/{+name}',
|
|
|
161 |
'httpMethod' => 'GET',
|
|
|
162 |
'parameters' => array(
|
|
|
163 |
'name' => array(
|
|
|
164 |
'location' => 'path',
|
|
|
165 |
'type' => 'string',
|
|
|
166 |
'required' => true,
|
|
|
167 |
),
|
|
|
168 |
),
|
|
|
169 |
),'list' => array(
|
|
|
170 |
'path' => 'v1/{+name}',
|
|
|
171 |
'httpMethod' => 'GET',
|
|
|
172 |
'parameters' => array(
|
|
|
173 |
'name' => array(
|
|
|
174 |
'location' => 'path',
|
|
|
175 |
'type' => 'string',
|
|
|
176 |
'required' => true,
|
|
|
177 |
),
|
|
|
178 |
'filter' => array(
|
|
|
179 |
'location' => 'query',
|
|
|
180 |
'type' => 'string',
|
|
|
181 |
),
|
|
|
182 |
'pageToken' => array(
|
|
|
183 |
'location' => 'query',
|
|
|
184 |
'type' => 'string',
|
|
|
185 |
),
|
|
|
186 |
'pageSize' => array(
|
|
|
187 |
'location' => 'query',
|
|
|
188 |
'type' => 'integer',
|
|
|
189 |
),
|
|
|
190 |
),
|
|
|
191 |
),'pause' => array(
|
|
|
192 |
'path' => 'v1/{+name}:pause',
|
|
|
193 |
'httpMethod' => 'POST',
|
|
|
194 |
'parameters' => array(
|
|
|
195 |
'name' => array(
|
|
|
196 |
'location' => 'path',
|
|
|
197 |
'type' => 'string',
|
|
|
198 |
'required' => true,
|
|
|
199 |
),
|
|
|
200 |
),
|
|
|
201 |
),'resume' => array(
|
|
|
202 |
'path' => 'v1/{+name}:resume',
|
|
|
203 |
'httpMethod' => 'POST',
|
|
|
204 |
'parameters' => array(
|
|
|
205 |
'name' => array(
|
|
|
206 |
'location' => 'path',
|
|
|
207 |
'type' => 'string',
|
|
|
208 |
'required' => true,
|
|
|
209 |
),
|
|
|
210 |
),
|
|
|
211 |
),
|
|
|
212 |
)
|
|
|
213 |
)
|
|
|
214 |
);
|
|
|
215 |
$this->v1 = new Google_Service_Storagetransfer_V1_Resource(
|
|
|
216 |
$this,
|
|
|
217 |
$this->serviceName,
|
|
|
218 |
'v1',
|
|
|
219 |
array(
|
|
|
220 |
'methods' => array(
|
|
|
221 |
'getGoogleServiceAccount' => array(
|
|
|
222 |
'path' => 'v1:getGoogleServiceAccount',
|
|
|
223 |
'httpMethod' => 'GET',
|
|
|
224 |
'parameters' => array(
|
|
|
225 |
'projectId' => array(
|
|
|
226 |
'location' => 'query',
|
|
|
227 |
'type' => 'string',
|
|
|
228 |
),
|
|
|
229 |
),
|
|
|
230 |
),
|
|
|
231 |
)
|
|
|
232 |
)
|
|
|
233 |
);
|
|
|
234 |
}
|
|
|
235 |
}
|
|
|
236 |
|
|
|
237 |
|
|
|
238 |
/**
|
|
|
239 |
* The "googleServiceAccounts" collection of methods.
|
|
|
240 |
* Typical usage is:
|
|
|
241 |
* <code>
|
|
|
242 |
* $storagetransferService = new Google_Service_Storagetransfer(...);
|
|
|
243 |
* $googleServiceAccounts = $storagetransferService->googleServiceAccounts;
|
|
|
244 |
* </code>
|
|
|
245 |
*/
|
|
|
246 |
#[AllowDynamicProperties]
|
|
|
247 |
class Google_Service_Storagetransfer_GoogleServiceAccounts_Resource extends Google_Service_Resource
|
|
|
248 |
{
|
|
|
249 |
|
|
|
250 |
/**
|
|
|
251 |
* Returns the Google service account that is used by Storage Transfer Service
|
|
|
252 |
* to access buckets in the project where transfers run or in other projects.
|
|
|
253 |
* Each Google service account is associated with one Google Developers Console
|
|
|
254 |
* project. Users should add this service account to the Google Cloud Storage
|
|
|
255 |
* bucket ACLs to grant access to Storage Transfer Service. This service account
|
|
|
256 |
* is created and owned by Storage Transfer Service and can only be used by
|
|
|
257 |
* Storage Transfer Service. (googleServiceAccounts.get)
|
|
|
258 |
*
|
|
|
259 |
* @param string $projectId The ID of the Google Developers Console project that
|
|
|
260 |
* the Google service account is associated with. Required.
|
|
|
261 |
* @param array $optParams Optional parameters.
|
|
|
262 |
* @return Google_Service_Storagetransfer_GoogleServiceAccount
|
|
|
263 |
*/
|
|
|
264 |
public function get($projectId, $optParams = array())
|
|
|
265 |
{
|
|
|
266 |
$params = array('projectId' => $projectId);
|
|
|
267 |
$params = array_merge($params, $optParams);
|
|
|
268 |
return $this->call('get', array($params), "Google_Service_Storagetransfer_GoogleServiceAccount");
|
|
|
269 |
}
|
|
|
270 |
}
|
|
|
271 |
|
|
|
272 |
/**
|
|
|
273 |
* The "transferJobs" collection of methods.
|
|
|
274 |
* Typical usage is:
|
|
|
275 |
* <code>
|
|
|
276 |
* $storagetransferService = new Google_Service_Storagetransfer(...);
|
|
|
277 |
* $transferJobs = $storagetransferService->transferJobs;
|
|
|
278 |
* </code>
|
|
|
279 |
*/
|
|
|
280 |
#[AllowDynamicProperties]
|
|
|
281 |
class Google_Service_Storagetransfer_TransferJobs_Resource extends Google_Service_Resource
|
|
|
282 |
{
|
|
|
283 |
|
|
|
284 |
/**
|
|
|
285 |
* Creates a transfer job that runs periodically. (transferJobs.create)
|
|
|
286 |
*
|
|
|
287 |
* @param Google_TransferJob $postBody
|
|
|
288 |
* @param array $optParams Optional parameters.
|
|
|
289 |
* @return Google_Service_Storagetransfer_TransferJob
|
|
|
290 |
*/
|
|
|
291 |
public function create(Google_Service_Storagetransfer_TransferJob $postBody, $optParams = array())
|
|
|
292 |
{
|
|
|
293 |
$params = array('postBody' => $postBody);
|
|
|
294 |
$params = array_merge($params, $optParams);
|
|
|
295 |
return $this->call('create', array($params), "Google_Service_Storagetransfer_TransferJob");
|
|
|
296 |
}
|
|
|
297 |
|
|
|
298 |
/**
|
|
|
299 |
* Gets a transfer job. (transferJobs.get)
|
|
|
300 |
*
|
|
|
301 |
* @param string $jobName The job to get. Required.
|
|
|
302 |
* @param array $optParams Optional parameters.
|
|
|
303 |
*
|
|
|
304 |
* @opt_param string projectId The ID of the Google Developers Console project
|
|
|
305 |
* that owns the job. Required.
|
|
|
306 |
* @return Google_Service_Storagetransfer_TransferJob
|
|
|
307 |
*/
|
|
|
308 |
public function get($jobName, $optParams = array())
|
|
|
309 |
{
|
|
|
310 |
$params = array('jobName' => $jobName);
|
|
|
311 |
$params = array_merge($params, $optParams);
|
|
|
312 |
return $this->call('get', array($params), "Google_Service_Storagetransfer_TransferJob");
|
|
|
313 |
}
|
|
|
314 |
|
|
|
315 |
/**
|
|
|
316 |
* Lists transfer jobs. (transferJobs.listTransferJobs)
|
|
|
317 |
*
|
|
|
318 |
* @param array $optParams Optional parameters.
|
|
|
319 |
*
|
|
|
320 |
* @opt_param string filter A list of query parameters specified as JSON text in
|
|
|
321 |
* the form of {"`project_id`":"my_project_id",
|
|
|
322 |
* "`job_names`":["jobid1","jobid2",...],
|
|
|
323 |
* "`job_statuses`":["status1","status2",...]}. Since `job_names` and
|
|
|
324 |
* `job_statuses` support multiple values, their values must be specified with
|
|
|
325 |
* array notation. `project_id` is required. `job_names` and `job_statuses` are
|
|
|
326 |
* optional. The valid values for `job_statuses` are case-insensitive:
|
|
|
327 |
* `ENABLED`, `DISABLED`, and `DELETED`.
|
|
|
328 |
* @opt_param string pageToken The list page token.
|
|
|
329 |
* @opt_param int pageSize The list page size. The max allowed value is 256.
|
|
|
330 |
* @return Google_Service_Storagetransfer_ListTransferJobsResponse
|
|
|
331 |
*/
|
|
|
332 |
public function listTransferJobs($optParams = array())
|
|
|
333 |
{
|
|
|
334 |
$params = array();
|
|
|
335 |
$params = array_merge($params, $optParams);
|
|
|
336 |
return $this->call('list', array($params), "Google_Service_Storagetransfer_ListTransferJobsResponse");
|
|
|
337 |
}
|
|
|
338 |
|
|
|
339 |
/**
|
|
|
340 |
* Updates a transfer job. Updating a job's transfer spec does not affect
|
|
|
341 |
* transfer operations that are running already. Updating the scheduling of a
|
|
|
342 |
* job is not allowed. (transferJobs.patch)
|
|
|
343 |
*
|
|
|
344 |
* @param string $jobName The name of job to update. Required.
|
|
|
345 |
* @param Google_UpdateTransferJobRequest $postBody
|
|
|
346 |
* @param array $optParams Optional parameters.
|
|
|
347 |
* @return Google_Service_Storagetransfer_TransferJob
|
|
|
348 |
*/
|
|
|
349 |
public function patch($jobName, Google_Service_Storagetransfer_UpdateTransferJobRequest $postBody, $optParams = array())
|
|
|
350 |
{
|
|
|
351 |
$params = array('jobName' => $jobName, 'postBody' => $postBody);
|
|
|
352 |
$params = array_merge($params, $optParams);
|
|
|
353 |
return $this->call('patch', array($params), "Google_Service_Storagetransfer_TransferJob");
|
|
|
354 |
}
|
|
|
355 |
}
|
|
|
356 |
|
|
|
357 |
/**
|
|
|
358 |
* The "transferOperations" collection of methods.
|
|
|
359 |
* Typical usage is:
|
|
|
360 |
* <code>
|
|
|
361 |
* $storagetransferService = new Google_Service_Storagetransfer(...);
|
|
|
362 |
* $transferOperations = $storagetransferService->transferOperations;
|
|
|
363 |
* </code>
|
|
|
364 |
*/
|
|
|
365 |
#[AllowDynamicProperties]
|
|
|
366 |
class Google_Service_Storagetransfer_TransferOperations_Resource extends Google_Service_Resource
|
|
|
367 |
{
|
|
|
368 |
|
|
|
369 |
/**
|
|
|
370 |
* Cancels a transfer. Use the get method to check whether the cancellation
|
|
|
371 |
* succeeded or whether the operation completed despite cancellation.
|
|
|
372 |
* (transferOperations.cancel)
|
|
|
373 |
*
|
|
|
374 |
* @param string $name The name of the operation resource to be cancelled.
|
|
|
375 |
* @param array $optParams Optional parameters.
|
|
|
376 |
* @return Google_Service_Storagetransfer_Empty
|
|
|
377 |
*/
|
|
|
378 |
public function cancel($name, $optParams = array())
|
|
|
379 |
{
|
|
|
380 |
$params = array('name' => $name);
|
|
|
381 |
$params = array_merge($params, $optParams);
|
|
|
382 |
return $this->call('cancel', array($params), "Google_Service_Storagetransfer_Empty");
|
|
|
383 |
}
|
|
|
384 |
|
|
|
385 |
/**
|
|
|
386 |
* This method is not supported and the server returns `UNIMPLEMENTED`.
|
|
|
387 |
* (transferOperations.delete)
|
|
|
388 |
*
|
|
|
389 |
* @param string $name The name of the operation resource to be deleted.
|
|
|
390 |
* @param array $optParams Optional parameters.
|
|
|
391 |
* @return Google_Service_Storagetransfer_Empty
|
|
|
392 |
*/
|
|
|
393 |
public function delete($name, $optParams = array())
|
|
|
394 |
{
|
|
|
395 |
$params = array('name' => $name);
|
|
|
396 |
$params = array_merge($params, $optParams);
|
|
|
397 |
return $this->call('delete', array($params), "Google_Service_Storagetransfer_Empty");
|
|
|
398 |
}
|
|
|
399 |
|
|
|
400 |
/**
|
|
|
401 |
* Gets the latest state of a long-running operation. Clients can use this
|
|
|
402 |
* method to poll the operation result at intervals as recommended by the API
|
|
|
403 |
* service. (transferOperations.get)
|
|
|
404 |
*
|
|
|
405 |
* @param string $name The name of the operation resource.
|
|
|
406 |
* @param array $optParams Optional parameters.
|
|
|
407 |
* @return Google_Service_Storagetransfer_Operation
|
|
|
408 |
*/
|
|
|
409 |
public function get($name, $optParams = array())
|
|
|
410 |
{
|
|
|
411 |
$params = array('name' => $name);
|
|
|
412 |
$params = array_merge($params, $optParams);
|
|
|
413 |
return $this->call('get', array($params), "Google_Service_Storagetransfer_Operation");
|
|
|
414 |
}
|
|
|
415 |
|
|
|
416 |
/**
|
|
|
417 |
* Lists operations that match the specified filter in the request. If the
|
|
|
418 |
* server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the
|
|
|
419 |
* `name` binding below allows API services to override the binding to use
|
|
|
420 |
* different resource name schemes, such as `users/operations`.
|
|
|
421 |
* (transferOperations.listTransferOperations)
|
|
|
422 |
*
|
|
|
423 |
* @param string $name The value `transferOperations`.
|
|
|
424 |
* @param array $optParams Optional parameters.
|
|
|
425 |
*
|
|
|
426 |
* @opt_param string filter The standard list filter.
|
|
|
427 |
* @opt_param string pageToken The standard list page token.
|
|
|
428 |
* @opt_param int pageSize The standard list page size.
|
|
|
429 |
* @return Google_Service_Storagetransfer_ListOperationsResponse
|
|
|
430 |
*/
|
|
|
431 |
public function listTransferOperations($name, $optParams = array())
|
|
|
432 |
{
|
|
|
433 |
$params = array('name' => $name);
|
|
|
434 |
$params = array_merge($params, $optParams);
|
|
|
435 |
return $this->call('list', array($params), "Google_Service_Storagetransfer_ListOperationsResponse");
|
|
|
436 |
}
|
|
|
437 |
|
|
|
438 |
/**
|
|
|
439 |
* Pauses a transfer operation. (transferOperations.pause)
|
|
|
440 |
*
|
|
|
441 |
* @param string $name The name of the transfer operation. Required.
|
|
|
442 |
* @param Google_PauseTransferOperationRequest $postBody
|
|
|
443 |
* @param array $optParams Optional parameters.
|
|
|
444 |
* @return Google_Service_Storagetransfer_Empty
|
|
|
445 |
*/
|
|
|
446 |
public function pause($name, Google_Service_Storagetransfer_PauseTransferOperationRequest $postBody, $optParams = array())
|
|
|
447 |
{
|
|
|
448 |
$params = array('name' => $name, 'postBody' => $postBody);
|
|
|
449 |
$params = array_merge($params, $optParams);
|
|
|
450 |
return $this->call('pause', array($params), "Google_Service_Storagetransfer_Empty");
|
|
|
451 |
}
|
|
|
452 |
|
|
|
453 |
/**
|
|
|
454 |
* Resumes a transfer operation that is paused. (transferOperations.resume)
|
|
|
455 |
*
|
|
|
456 |
* @param string $name The name of the transfer operation. Required.
|
|
|
457 |
* @param Google_ResumeTransferOperationRequest $postBody
|
|
|
458 |
* @param array $optParams Optional parameters.
|
|
|
459 |
* @return Google_Service_Storagetransfer_Empty
|
|
|
460 |
*/
|
|
|
461 |
public function resume($name, Google_Service_Storagetransfer_ResumeTransferOperationRequest $postBody, $optParams = array())
|
|
|
462 |
{
|
|
|
463 |
$params = array('name' => $name, 'postBody' => $postBody);
|
|
|
464 |
$params = array_merge($params, $optParams);
|
|
|
465 |
return $this->call('resume', array($params), "Google_Service_Storagetransfer_Empty");
|
|
|
466 |
}
|
|
|
467 |
}
|
|
|
468 |
|
|
|
469 |
/**
|
|
|
470 |
* The "v1" collection of methods.
|
|
|
471 |
* Typical usage is:
|
|
|
472 |
* <code>
|
|
|
473 |
* $storagetransferService = new Google_Service_Storagetransfer(...);
|
|
|
474 |
* $v1 = $storagetransferService->v1;
|
|
|
475 |
* </code>
|
|
|
476 |
*/
|
|
|
477 |
#[AllowDynamicProperties]
|
|
|
478 |
class Google_Service_Storagetransfer_V1_Resource extends Google_Service_Resource
|
|
|
479 |
{
|
|
|
480 |
|
|
|
481 |
/**
|
|
|
482 |
* Returns the Google service account that is used by Storage Transfer Service
|
|
|
483 |
* to access buckets in the project where transfers run or in other projects.
|
|
|
484 |
* Each Google service account is associated with one Google Developers Console
|
|
|
485 |
* project. Users should add this service account to the Google Cloud Storage
|
|
|
486 |
* bucket ACLs to grant access to Storage Transfer Service. This service account
|
|
|
487 |
* is created and owned by Storage Transfer Service and can only be used by
|
|
|
488 |
* Storage Transfer Service. (v1.getGoogleServiceAccount)
|
|
|
489 |
*
|
|
|
490 |
* @param array $optParams Optional parameters.
|
|
|
491 |
*
|
|
|
492 |
* @opt_param string projectId The ID of the Google Developers Console project
|
|
|
493 |
* that the Google service account is associated with. Required.
|
|
|
494 |
* @return Google_Service_Storagetransfer_GoogleServiceAccount
|
|
|
495 |
*/
|
|
|
496 |
public function getGoogleServiceAccount($optParams = array())
|
|
|
497 |
{
|
|
|
498 |
$params = array();
|
|
|
499 |
$params = array_merge($params, $optParams);
|
|
|
500 |
return $this->call('getGoogleServiceAccount', array($params), "Google_Service_Storagetransfer_GoogleServiceAccount");
|
|
|
501 |
}
|
|
|
502 |
}
|
|
|
503 |
|
|
|
504 |
|
|
|
505 |
|
|
|
506 |
|
|
|
507 |
#[AllowDynamicProperties]
|
|
|
508 |
class Google_Service_Storagetransfer_AwsAccessKey extends Google_Model
|
|
|
509 |
{
|
|
|
510 |
protected $internal_gapi_mappings = array(
|
|
|
511 |
);
|
|
|
512 |
public $accessKeyId;
|
|
|
513 |
public $secretAccessKey;
|
|
|
514 |
|
|
|
515 |
|
|
|
516 |
public function setAccessKeyId($accessKeyId)
|
|
|
517 |
{
|
|
|
518 |
$this->accessKeyId = $accessKeyId;
|
|
|
519 |
}
|
|
|
520 |
public function getAccessKeyId()
|
|
|
521 |
{
|
|
|
522 |
return $this->accessKeyId;
|
|
|
523 |
}
|
|
|
524 |
public function setSecretAccessKey($secretAccessKey)
|
|
|
525 |
{
|
|
|
526 |
$this->secretAccessKey = $secretAccessKey;
|
|
|
527 |
}
|
|
|
528 |
public function getSecretAccessKey()
|
|
|
529 |
{
|
|
|
530 |
return $this->secretAccessKey;
|
|
|
531 |
}
|
|
|
532 |
}
|
|
|
533 |
|
|
|
534 |
#[AllowDynamicProperties]
|
|
|
535 |
class Google_Service_Storagetransfer_AwsS3Data extends Google_Model
|
|
|
536 |
{
|
|
|
537 |
protected $internal_gapi_mappings = array(
|
|
|
538 |
);
|
|
|
539 |
protected $awsAccessKeyType = 'Google_Service_Storagetransfer_AwsAccessKey';
|
|
|
540 |
protected $awsAccessKeyDataType = '';
|
|
|
541 |
public $bucketName;
|
|
|
542 |
|
|
|
543 |
|
|
|
544 |
public function setAwsAccessKey(Google_Service_Storagetransfer_AwsAccessKey $awsAccessKey)
|
|
|
545 |
{
|
|
|
546 |
$this->awsAccessKey = $awsAccessKey;
|
|
|
547 |
}
|
|
|
548 |
public function getAwsAccessKey()
|
|
|
549 |
{
|
|
|
550 |
return $this->awsAccessKey;
|
|
|
551 |
}
|
|
|
552 |
public function setBucketName($bucketName)
|
|
|
553 |
{
|
|
|
554 |
$this->bucketName = $bucketName;
|
|
|
555 |
}
|
|
|
556 |
public function getBucketName()
|
|
|
557 |
{
|
|
|
558 |
return $this->bucketName;
|
|
|
559 |
}
|
|
|
560 |
}
|
|
|
561 |
|
|
|
562 |
#[AllowDynamicProperties]
|
|
|
563 |
class Google_Service_Storagetransfer_Date extends Google_Model
|
|
|
564 |
{
|
|
|
565 |
protected $internal_gapi_mappings = array(
|
|
|
566 |
);
|
|
|
567 |
public $day;
|
|
|
568 |
public $month;
|
|
|
569 |
public $year;
|
|
|
570 |
|
|
|
571 |
|
|
|
572 |
public function setDay($day)
|
|
|
573 |
{
|
|
|
574 |
$this->day = $day;
|
|
|
575 |
}
|
|
|
576 |
public function getDay()
|
|
|
577 |
{
|
|
|
578 |
return $this->day;
|
|
|
579 |
}
|
|
|
580 |
public function setMonth($month)
|
|
|
581 |
{
|
|
|
582 |
$this->month = $month;
|
|
|
583 |
}
|
|
|
584 |
public function getMonth()
|
|
|
585 |
{
|
|
|
586 |
return $this->month;
|
|
|
587 |
}
|
|
|
588 |
public function setYear($year)
|
|
|
589 |
{
|
|
|
590 |
$this->year = $year;
|
|
|
591 |
}
|
|
|
592 |
public function getYear()
|
|
|
593 |
{
|
|
|
594 |
return $this->year;
|
|
|
595 |
}
|
|
|
596 |
}
|
|
|
597 |
|
|
|
598 |
#[AllowDynamicProperties]
|
|
|
599 |
class Google_Service_Storagetransfer_Empty extends Google_Model
|
|
|
600 |
{
|
|
|
601 |
}
|
|
|
602 |
|
|
|
603 |
#[AllowDynamicProperties]
|
|
|
604 |
class Google_Service_Storagetransfer_ErrorLogEntry extends Google_Collection
|
|
|
605 |
{
|
|
|
606 |
protected $collection_key = 'errorDetails';
|
|
|
607 |
protected $internal_gapi_mappings = array(
|
|
|
608 |
);
|
|
|
609 |
public $errorDetails;
|
|
|
610 |
public $url;
|
|
|
611 |
|
|
|
612 |
|
|
|
613 |
public function setErrorDetails($errorDetails)
|
|
|
614 |
{
|
|
|
615 |
$this->errorDetails = $errorDetails;
|
|
|
616 |
}
|
|
|
617 |
public function getErrorDetails()
|
|
|
618 |
{
|
|
|
619 |
return $this->errorDetails;
|
|
|
620 |
}
|
|
|
621 |
public function setUrl($url)
|
|
|
622 |
{
|
|
|
623 |
$this->url = $url;
|
|
|
624 |
}
|
|
|
625 |
public function getUrl()
|
|
|
626 |
{
|
|
|
627 |
return $this->url;
|
|
|
628 |
}
|
|
|
629 |
}
|
|
|
630 |
|
|
|
631 |
#[AllowDynamicProperties]
|
|
|
632 |
class Google_Service_Storagetransfer_ErrorSummary extends Google_Collection
|
|
|
633 |
{
|
|
|
634 |
protected $collection_key = 'errorLogEntries';
|
|
|
635 |
protected $internal_gapi_mappings = array(
|
|
|
636 |
);
|
|
|
637 |
public $errorCode;
|
|
|
638 |
public $errorCount;
|
|
|
639 |
protected $errorLogEntriesType = 'Google_Service_Storagetransfer_ErrorLogEntry';
|
|
|
640 |
protected $errorLogEntriesDataType = 'array';
|
|
|
641 |
|
|
|
642 |
|
|
|
643 |
public function setErrorCode($errorCode)
|
|
|
644 |
{
|
|
|
645 |
$this->errorCode = $errorCode;
|
|
|
646 |
}
|
|
|
647 |
public function getErrorCode()
|
|
|
648 |
{
|
|
|
649 |
return $this->errorCode;
|
|
|
650 |
}
|
|
|
651 |
public function setErrorCount($errorCount)
|
|
|
652 |
{
|
|
|
653 |
$this->errorCount = $errorCount;
|
|
|
654 |
}
|
|
|
655 |
public function getErrorCount()
|
|
|
656 |
{
|
|
|
657 |
return $this->errorCount;
|
|
|
658 |
}
|
|
|
659 |
public function setErrorLogEntries($errorLogEntries)
|
|
|
660 |
{
|
|
|
661 |
$this->errorLogEntries = $errorLogEntries;
|
|
|
662 |
}
|
|
|
663 |
public function getErrorLogEntries()
|
|
|
664 |
{
|
|
|
665 |
return $this->errorLogEntries;
|
|
|
666 |
}
|
|
|
667 |
}
|
|
|
668 |
|
|
|
669 |
#[AllowDynamicProperties]
|
|
|
670 |
class Google_Service_Storagetransfer_GcsData extends Google_Model
|
|
|
671 |
{
|
|
|
672 |
protected $internal_gapi_mappings = array(
|
|
|
673 |
);
|
|
|
674 |
public $bucketName;
|
|
|
675 |
|
|
|
676 |
|
|
|
677 |
public function setBucketName($bucketName)
|
|
|
678 |
{
|
|
|
679 |
$this->bucketName = $bucketName;
|
|
|
680 |
}
|
|
|
681 |
public function getBucketName()
|
|
|
682 |
{
|
|
|
683 |
return $this->bucketName;
|
|
|
684 |
}
|
|
|
685 |
}
|
|
|
686 |
|
|
|
687 |
#[AllowDynamicProperties]
|
|
|
688 |
class Google_Service_Storagetransfer_GoogleServiceAccount extends Google_Model
|
|
|
689 |
{
|
|
|
690 |
protected $internal_gapi_mappings = array(
|
|
|
691 |
);
|
|
|
692 |
public $accountEmail;
|
|
|
693 |
|
|
|
694 |
|
|
|
695 |
public function setAccountEmail($accountEmail)
|
|
|
696 |
{
|
|
|
697 |
$this->accountEmail = $accountEmail;
|
|
|
698 |
}
|
|
|
699 |
public function getAccountEmail()
|
|
|
700 |
{
|
|
|
701 |
return $this->accountEmail;
|
|
|
702 |
}
|
|
|
703 |
}
|
|
|
704 |
|
|
|
705 |
#[AllowDynamicProperties]
|
|
|
706 |
class Google_Service_Storagetransfer_HttpData extends Google_Model
|
|
|
707 |
{
|
|
|
708 |
protected $internal_gapi_mappings = array(
|
|
|
709 |
);
|
|
|
710 |
public $listUrl;
|
|
|
711 |
|
|
|
712 |
|
|
|
713 |
public function setListUrl($listUrl)
|
|
|
714 |
{
|
|
|
715 |
$this->listUrl = $listUrl;
|
|
|
716 |
}
|
|
|
717 |
public function getListUrl()
|
|
|
718 |
{
|
|
|
719 |
return $this->listUrl;
|
|
|
720 |
}
|
|
|
721 |
}
|
|
|
722 |
|
|
|
723 |
#[AllowDynamicProperties]
|
|
|
724 |
class Google_Service_Storagetransfer_ListOperationsResponse extends Google_Collection
|
|
|
725 |
{
|
|
|
726 |
protected $collection_key = 'operations';
|
|
|
727 |
protected $internal_gapi_mappings = array(
|
|
|
728 |
);
|
|
|
729 |
public $nextPageToken;
|
|
|
730 |
protected $operationsType = 'Google_Service_Storagetransfer_Operation';
|
|
|
731 |
protected $operationsDataType = 'array';
|
|
|
732 |
|
|
|
733 |
|
|
|
734 |
public function setNextPageToken($nextPageToken)
|
|
|
735 |
{
|
|
|
736 |
$this->nextPageToken = $nextPageToken;
|
|
|
737 |
}
|
|
|
738 |
public function getNextPageToken()
|
|
|
739 |
{
|
|
|
740 |
return $this->nextPageToken;
|
|
|
741 |
}
|
|
|
742 |
public function setOperations($operations)
|
|
|
743 |
{
|
|
|
744 |
$this->operations = $operations;
|
|
|
745 |
}
|
|
|
746 |
public function getOperations()
|
|
|
747 |
{
|
|
|
748 |
return $this->operations;
|
|
|
749 |
}
|
|
|
750 |
}
|
|
|
751 |
|
|
|
752 |
#[AllowDynamicProperties]
|
|
|
753 |
class Google_Service_Storagetransfer_ListTransferJobsResponse extends Google_Collection
|
|
|
754 |
{
|
|
|
755 |
protected $collection_key = 'transferJobs';
|
|
|
756 |
protected $internal_gapi_mappings = array(
|
|
|
757 |
);
|
|
|
758 |
public $nextPageToken;
|
|
|
759 |
protected $transferJobsType = 'Google_Service_Storagetransfer_TransferJob';
|
|
|
760 |
protected $transferJobsDataType = 'array';
|
|
|
761 |
|
|
|
762 |
|
|
|
763 |
public function setNextPageToken($nextPageToken)
|
|
|
764 |
{
|
|
|
765 |
$this->nextPageToken = $nextPageToken;
|
|
|
766 |
}
|
|
|
767 |
public function getNextPageToken()
|
|
|
768 |
{
|
|
|
769 |
return $this->nextPageToken;
|
|
|
770 |
}
|
|
|
771 |
public function setTransferJobs($transferJobs)
|
|
|
772 |
{
|
|
|
773 |
$this->transferJobs = $transferJobs;
|
|
|
774 |
}
|
|
|
775 |
public function getTransferJobs()
|
|
|
776 |
{
|
|
|
777 |
return $this->transferJobs;
|
|
|
778 |
}
|
|
|
779 |
}
|
|
|
780 |
|
|
|
781 |
#[AllowDynamicProperties]
|
|
|
782 |
class Google_Service_Storagetransfer_ObjectConditions extends Google_Collection
|
|
|
783 |
{
|
|
|
784 |
protected $collection_key = 'includePrefixes';
|
|
|
785 |
protected $internal_gapi_mappings = array(
|
|
|
786 |
);
|
|
|
787 |
public $excludePrefixes;
|
|
|
788 |
public $includePrefixes;
|
|
|
789 |
public $maxTimeElapsedSinceLastModification;
|
|
|
790 |
public $minTimeElapsedSinceLastModification;
|
|
|
791 |
|
|
|
792 |
|
|
|
793 |
public function setExcludePrefixes($excludePrefixes)
|
|
|
794 |
{
|
|
|
795 |
$this->excludePrefixes = $excludePrefixes;
|
|
|
796 |
}
|
|
|
797 |
public function getExcludePrefixes()
|
|
|
798 |
{
|
|
|
799 |
return $this->excludePrefixes;
|
|
|
800 |
}
|
|
|
801 |
public function setIncludePrefixes($includePrefixes)
|
|
|
802 |
{
|
|
|
803 |
$this->includePrefixes = $includePrefixes;
|
|
|
804 |
}
|
|
|
805 |
public function getIncludePrefixes()
|
|
|
806 |
{
|
|
|
807 |
return $this->includePrefixes;
|
|
|
808 |
}
|
|
|
809 |
public function setMaxTimeElapsedSinceLastModification($maxTimeElapsedSinceLastModification)
|
|
|
810 |
{
|
|
|
811 |
$this->maxTimeElapsedSinceLastModification = $maxTimeElapsedSinceLastModification;
|
|
|
812 |
}
|
|
|
813 |
public function getMaxTimeElapsedSinceLastModification()
|
|
|
814 |
{
|
|
|
815 |
return $this->maxTimeElapsedSinceLastModification;
|
|
|
816 |
}
|
|
|
817 |
public function setMinTimeElapsedSinceLastModification($minTimeElapsedSinceLastModification)
|
|
|
818 |
{
|
|
|
819 |
$this->minTimeElapsedSinceLastModification = $minTimeElapsedSinceLastModification;
|
|
|
820 |
}
|
|
|
821 |
public function getMinTimeElapsedSinceLastModification()
|
|
|
822 |
{
|
|
|
823 |
return $this->minTimeElapsedSinceLastModification;
|
|
|
824 |
}
|
|
|
825 |
}
|
|
|
826 |
|
|
|
827 |
#[AllowDynamicProperties]
|
|
|
828 |
class Google_Service_Storagetransfer_Operation extends Google_Model
|
|
|
829 |
{
|
|
|
830 |
protected $internal_gapi_mappings = array(
|
|
|
831 |
);
|
|
|
832 |
public $done;
|
|
|
833 |
protected $errorType = 'Google_Service_Storagetransfer_Status';
|
|
|
834 |
protected $errorDataType = '';
|
|
|
835 |
public $metadata;
|
|
|
836 |
public $name;
|
|
|
837 |
public $response;
|
|
|
838 |
|
|
|
839 |
|
|
|
840 |
public function setDone($done)
|
|
|
841 |
{
|
|
|
842 |
$this->done = $done;
|
|
|
843 |
}
|
|
|
844 |
public function getDone()
|
|
|
845 |
{
|
|
|
846 |
return $this->done;
|
|
|
847 |
}
|
|
|
848 |
public function setError(Google_Service_Storagetransfer_Status $error)
|
|
|
849 |
{
|
|
|
850 |
$this->error = $error;
|
|
|
851 |
}
|
|
|
852 |
public function getError()
|
|
|
853 |
{
|
|
|
854 |
return $this->error;
|
|
|
855 |
}
|
|
|
856 |
public function setMetadata($metadata)
|
|
|
857 |
{
|
|
|
858 |
$this->metadata = $metadata;
|
|
|
859 |
}
|
|
|
860 |
public function getMetadata()
|
|
|
861 |
{
|
|
|
862 |
return $this->metadata;
|
|
|
863 |
}
|
|
|
864 |
public function setName($name)
|
|
|
865 |
{
|
|
|
866 |
$this->name = $name;
|
|
|
867 |
}
|
|
|
868 |
public function getName()
|
|
|
869 |
{
|
|
|
870 |
return $this->name;
|
|
|
871 |
}
|
|
|
872 |
public function setResponse($response)
|
|
|
873 |
{
|
|
|
874 |
$this->response = $response;
|
|
|
875 |
}
|
|
|
876 |
public function getResponse()
|
|
|
877 |
{
|
|
|
878 |
return $this->response;
|
|
|
879 |
}
|
|
|
880 |
}
|
|
|
881 |
|
|
|
882 |
#[AllowDynamicProperties]
|
|
|
883 |
class Google_Service_Storagetransfer_OperationMetadata extends Google_Model
|
|
|
884 |
{
|
|
|
885 |
}
|
|
|
886 |
|
|
|
887 |
#[AllowDynamicProperties]
|
|
|
888 |
class Google_Service_Storagetransfer_OperationResponse extends Google_Model
|
|
|
889 |
{
|
|
|
890 |
}
|
|
|
891 |
|
|
|
892 |
#[AllowDynamicProperties]
|
|
|
893 |
class Google_Service_Storagetransfer_PauseTransferOperationRequest extends Google_Model
|
|
|
894 |
{
|
|
|
895 |
}
|
|
|
896 |
|
|
|
897 |
#[AllowDynamicProperties]
|
|
|
898 |
class Google_Service_Storagetransfer_ResumeTransferOperationRequest extends Google_Model
|
|
|
899 |
{
|
|
|
900 |
}
|
|
|
901 |
|
|
|
902 |
#[AllowDynamicProperties]
|
|
|
903 |
class Google_Service_Storagetransfer_Schedule extends Google_Model
|
|
|
904 |
{
|
|
|
905 |
protected $internal_gapi_mappings = array(
|
|
|
906 |
);
|
|
|
907 |
protected $scheduleEndDateType = 'Google_Service_Storagetransfer_Date';
|
|
|
908 |
protected $scheduleEndDateDataType = '';
|
|
|
909 |
protected $scheduleStartDateType = 'Google_Service_Storagetransfer_Date';
|
|
|
910 |
protected $scheduleStartDateDataType = '';
|
|
|
911 |
protected $startTimeOfDayType = 'Google_Service_Storagetransfer_TimeOfDay';
|
|
|
912 |
protected $startTimeOfDayDataType = '';
|
|
|
913 |
|
|
|
914 |
|
|
|
915 |
public function setScheduleEndDate(Google_Service_Storagetransfer_Date $scheduleEndDate)
|
|
|
916 |
{
|
|
|
917 |
$this->scheduleEndDate = $scheduleEndDate;
|
|
|
918 |
}
|
|
|
919 |
public function getScheduleEndDate()
|
|
|
920 |
{
|
|
|
921 |
return $this->scheduleEndDate;
|
|
|
922 |
}
|
|
|
923 |
public function setScheduleStartDate(Google_Service_Storagetransfer_Date $scheduleStartDate)
|
|
|
924 |
{
|
|
|
925 |
$this->scheduleStartDate = $scheduleStartDate;
|
|
|
926 |
}
|
|
|
927 |
public function getScheduleStartDate()
|
|
|
928 |
{
|
|
|
929 |
return $this->scheduleStartDate;
|
|
|
930 |
}
|
|
|
931 |
public function setStartTimeOfDay(Google_Service_Storagetransfer_TimeOfDay $startTimeOfDay)
|
|
|
932 |
{
|
|
|
933 |
$this->startTimeOfDay = $startTimeOfDay;
|
|
|
934 |
}
|
|
|
935 |
public function getStartTimeOfDay()
|
|
|
936 |
{
|
|
|
937 |
return $this->startTimeOfDay;
|
|
|
938 |
}
|
|
|
939 |
}
|
|
|
940 |
|
|
|
941 |
#[AllowDynamicProperties]
|
|
|
942 |
class Google_Service_Storagetransfer_Status extends Google_Collection
|
|
|
943 |
{
|
|
|
944 |
protected $collection_key = 'details';
|
|
|
945 |
protected $internal_gapi_mappings = array(
|
|
|
946 |
);
|
|
|
947 |
public $code;
|
|
|
948 |
public $details;
|
|
|
949 |
public $message;
|
|
|
950 |
|
|
|
951 |
|
|
|
952 |
public function setCode($code)
|
|
|
953 |
{
|
|
|
954 |
$this->code = $code;
|
|
|
955 |
}
|
|
|
956 |
public function getCode()
|
|
|
957 |
{
|
|
|
958 |
return $this->code;
|
|
|
959 |
}
|
|
|
960 |
public function setDetails($details)
|
|
|
961 |
{
|
|
|
962 |
$this->details = $details;
|
|
|
963 |
}
|
|
|
964 |
public function getDetails()
|
|
|
965 |
{
|
|
|
966 |
return $this->details;
|
|
|
967 |
}
|
|
|
968 |
public function setMessage($message)
|
|
|
969 |
{
|
|
|
970 |
$this->message = $message;
|
|
|
971 |
}
|
|
|
972 |
public function getMessage()
|
|
|
973 |
{
|
|
|
974 |
return $this->message;
|
|
|
975 |
}
|
|
|
976 |
}
|
|
|
977 |
|
|
|
978 |
#[AllowDynamicProperties]
|
|
|
979 |
class Google_Service_Storagetransfer_StatusDetails extends Google_Model
|
|
|
980 |
{
|
|
|
981 |
}
|
|
|
982 |
|
|
|
983 |
#[AllowDynamicProperties]
|
|
|
984 |
class Google_Service_Storagetransfer_TimeOfDay extends Google_Model
|
|
|
985 |
{
|
|
|
986 |
protected $internal_gapi_mappings = array(
|
|
|
987 |
);
|
|
|
988 |
public $hours;
|
|
|
989 |
public $minutes;
|
|
|
990 |
public $nanos;
|
|
|
991 |
public $seconds;
|
|
|
992 |
|
|
|
993 |
|
|
|
994 |
public function setHours($hours)
|
|
|
995 |
{
|
|
|
996 |
$this->hours = $hours;
|
|
|
997 |
}
|
|
|
998 |
public function getHours()
|
|
|
999 |
{
|
|
|
1000 |
return $this->hours;
|
|
|
1001 |
}
|
|
|
1002 |
public function setMinutes($minutes)
|
|
|
1003 |
{
|
|
|
1004 |
$this->minutes = $minutes;
|
|
|
1005 |
}
|
|
|
1006 |
public function getMinutes()
|
|
|
1007 |
{
|
|
|
1008 |
return $this->minutes;
|
|
|
1009 |
}
|
|
|
1010 |
public function setNanos($nanos)
|
|
|
1011 |
{
|
|
|
1012 |
$this->nanos = $nanos;
|
|
|
1013 |
}
|
|
|
1014 |
public function getNanos()
|
|
|
1015 |
{
|
|
|
1016 |
return $this->nanos;
|
|
|
1017 |
}
|
|
|
1018 |
public function setSeconds($seconds)
|
|
|
1019 |
{
|
|
|
1020 |
$this->seconds = $seconds;
|
|
|
1021 |
}
|
|
|
1022 |
public function getSeconds()
|
|
|
1023 |
{
|
|
|
1024 |
return $this->seconds;
|
|
|
1025 |
}
|
|
|
1026 |
}
|
|
|
1027 |
|
|
|
1028 |
#[AllowDynamicProperties]
|
|
|
1029 |
class Google_Service_Storagetransfer_TransferCounters extends Google_Model
|
|
|
1030 |
{
|
|
|
1031 |
protected $internal_gapi_mappings = array(
|
|
|
1032 |
);
|
|
|
1033 |
public $bytesCopiedToSink;
|
|
|
1034 |
public $bytesDeletedFromSink;
|
|
|
1035 |
public $bytesDeletedFromSource;
|
|
|
1036 |
public $bytesFailedToDeleteFromSink;
|
|
|
1037 |
public $bytesFoundFromSource;
|
|
|
1038 |
public $bytesFoundOnlyFromSink;
|
|
|
1039 |
public $bytesFromSourceFailed;
|
|
|
1040 |
public $bytesFromSourceSkippedBySync;
|
|
|
1041 |
public $objectsCopiedToSink;
|
|
|
1042 |
public $objectsDeletedFromSink;
|
|
|
1043 |
public $objectsDeletedFromSource;
|
|
|
1044 |
public $objectsFailedToDeleteFromSink;
|
|
|
1045 |
public $objectsFoundFromSource;
|
|
|
1046 |
public $objectsFoundOnlyFromSink;
|
|
|
1047 |
public $objectsFromSourceFailed;
|
|
|
1048 |
public $objectsFromSourceSkippedBySync;
|
|
|
1049 |
|
|
|
1050 |
|
|
|
1051 |
public function setBytesCopiedToSink($bytesCopiedToSink)
|
|
|
1052 |
{
|
|
|
1053 |
$this->bytesCopiedToSink = $bytesCopiedToSink;
|
|
|
1054 |
}
|
|
|
1055 |
public function getBytesCopiedToSink()
|
|
|
1056 |
{
|
|
|
1057 |
return $this->bytesCopiedToSink;
|
|
|
1058 |
}
|
|
|
1059 |
public function setBytesDeletedFromSink($bytesDeletedFromSink)
|
|
|
1060 |
{
|
|
|
1061 |
$this->bytesDeletedFromSink = $bytesDeletedFromSink;
|
|
|
1062 |
}
|
|
|
1063 |
public function getBytesDeletedFromSink()
|
|
|
1064 |
{
|
|
|
1065 |
return $this->bytesDeletedFromSink;
|
|
|
1066 |
}
|
|
|
1067 |
public function setBytesDeletedFromSource($bytesDeletedFromSource)
|
|
|
1068 |
{
|
|
|
1069 |
$this->bytesDeletedFromSource = $bytesDeletedFromSource;
|
|
|
1070 |
}
|
|
|
1071 |
public function getBytesDeletedFromSource()
|
|
|
1072 |
{
|
|
|
1073 |
return $this->bytesDeletedFromSource;
|
|
|
1074 |
}
|
|
|
1075 |
public function setBytesFailedToDeleteFromSink($bytesFailedToDeleteFromSink)
|
|
|
1076 |
{
|
|
|
1077 |
$this->bytesFailedToDeleteFromSink = $bytesFailedToDeleteFromSink;
|
|
|
1078 |
}
|
|
|
1079 |
public function getBytesFailedToDeleteFromSink()
|
|
|
1080 |
{
|
|
|
1081 |
return $this->bytesFailedToDeleteFromSink;
|
|
|
1082 |
}
|
|
|
1083 |
public function setBytesFoundFromSource($bytesFoundFromSource)
|
|
|
1084 |
{
|
|
|
1085 |
$this->bytesFoundFromSource = $bytesFoundFromSource;
|
|
|
1086 |
}
|
|
|
1087 |
public function getBytesFoundFromSource()
|
|
|
1088 |
{
|
|
|
1089 |
return $this->bytesFoundFromSource;
|
|
|
1090 |
}
|
|
|
1091 |
public function setBytesFoundOnlyFromSink($bytesFoundOnlyFromSink)
|
|
|
1092 |
{
|
|
|
1093 |
$this->bytesFoundOnlyFromSink = $bytesFoundOnlyFromSink;
|
|
|
1094 |
}
|
|
|
1095 |
public function getBytesFoundOnlyFromSink()
|
|
|
1096 |
{
|
|
|
1097 |
return $this->bytesFoundOnlyFromSink;
|
|
|
1098 |
}
|
|
|
1099 |
public function setBytesFromSourceFailed($bytesFromSourceFailed)
|
|
|
1100 |
{
|
|
|
1101 |
$this->bytesFromSourceFailed = $bytesFromSourceFailed;
|
|
|
1102 |
}
|
|
|
1103 |
public function getBytesFromSourceFailed()
|
|
|
1104 |
{
|
|
|
1105 |
return $this->bytesFromSourceFailed;
|
|
|
1106 |
}
|
|
|
1107 |
public function setBytesFromSourceSkippedBySync($bytesFromSourceSkippedBySync)
|
|
|
1108 |
{
|
|
|
1109 |
$this->bytesFromSourceSkippedBySync = $bytesFromSourceSkippedBySync;
|
|
|
1110 |
}
|
|
|
1111 |
public function getBytesFromSourceSkippedBySync()
|
|
|
1112 |
{
|
|
|
1113 |
return $this->bytesFromSourceSkippedBySync;
|
|
|
1114 |
}
|
|
|
1115 |
public function setObjectsCopiedToSink($objectsCopiedToSink)
|
|
|
1116 |
{
|
|
|
1117 |
$this->objectsCopiedToSink = $objectsCopiedToSink;
|
|
|
1118 |
}
|
|
|
1119 |
public function getObjectsCopiedToSink()
|
|
|
1120 |
{
|
|
|
1121 |
return $this->objectsCopiedToSink;
|
|
|
1122 |
}
|
|
|
1123 |
public function setObjectsDeletedFromSink($objectsDeletedFromSink)
|
|
|
1124 |
{
|
|
|
1125 |
$this->objectsDeletedFromSink = $objectsDeletedFromSink;
|
|
|
1126 |
}
|
|
|
1127 |
public function getObjectsDeletedFromSink()
|
|
|
1128 |
{
|
|
|
1129 |
return $this->objectsDeletedFromSink;
|
|
|
1130 |
}
|
|
|
1131 |
public function setObjectsDeletedFromSource($objectsDeletedFromSource)
|
|
|
1132 |
{
|
|
|
1133 |
$this->objectsDeletedFromSource = $objectsDeletedFromSource;
|
|
|
1134 |
}
|
|
|
1135 |
public function getObjectsDeletedFromSource()
|
|
|
1136 |
{
|
|
|
1137 |
return $this->objectsDeletedFromSource;
|
|
|
1138 |
}
|
|
|
1139 |
public function setObjectsFailedToDeleteFromSink($objectsFailedToDeleteFromSink)
|
|
|
1140 |
{
|
|
|
1141 |
$this->objectsFailedToDeleteFromSink = $objectsFailedToDeleteFromSink;
|
|
|
1142 |
}
|
|
|
1143 |
public function getObjectsFailedToDeleteFromSink()
|
|
|
1144 |
{
|
|
|
1145 |
return $this->objectsFailedToDeleteFromSink;
|
|
|
1146 |
}
|
|
|
1147 |
public function setObjectsFoundFromSource($objectsFoundFromSource)
|
|
|
1148 |
{
|
|
|
1149 |
$this->objectsFoundFromSource = $objectsFoundFromSource;
|
|
|
1150 |
}
|
|
|
1151 |
public function getObjectsFoundFromSource()
|
|
|
1152 |
{
|
|
|
1153 |
return $this->objectsFoundFromSource;
|
|
|
1154 |
}
|
|
|
1155 |
public function setObjectsFoundOnlyFromSink($objectsFoundOnlyFromSink)
|
|
|
1156 |
{
|
|
|
1157 |
$this->objectsFoundOnlyFromSink = $objectsFoundOnlyFromSink;
|
|
|
1158 |
}
|
|
|
1159 |
public function getObjectsFoundOnlyFromSink()
|
|
|
1160 |
{
|
|
|
1161 |
return $this->objectsFoundOnlyFromSink;
|
|
|
1162 |
}
|
|
|
1163 |
public function setObjectsFromSourceFailed($objectsFromSourceFailed)
|
|
|
1164 |
{
|
|
|
1165 |
$this->objectsFromSourceFailed = $objectsFromSourceFailed;
|
|
|
1166 |
}
|
|
|
1167 |
public function getObjectsFromSourceFailed()
|
|
|
1168 |
{
|
|
|
1169 |
return $this->objectsFromSourceFailed;
|
|
|
1170 |
}
|
|
|
1171 |
public function setObjectsFromSourceSkippedBySync($objectsFromSourceSkippedBySync)
|
|
|
1172 |
{
|
|
|
1173 |
$this->objectsFromSourceSkippedBySync = $objectsFromSourceSkippedBySync;
|
|
|
1174 |
}
|
|
|
1175 |
public function getObjectsFromSourceSkippedBySync()
|
|
|
1176 |
{
|
|
|
1177 |
return $this->objectsFromSourceSkippedBySync;
|
|
|
1178 |
}
|
|
|
1179 |
}
|
|
|
1180 |
|
|
|
1181 |
#[AllowDynamicProperties]
|
|
|
1182 |
class Google_Service_Storagetransfer_TransferJob extends Google_Model
|
|
|
1183 |
{
|
|
|
1184 |
protected $internal_gapi_mappings = array(
|
|
|
1185 |
);
|
|
|
1186 |
public $creationTime;
|
|
|
1187 |
public $deletionTime;
|
|
|
1188 |
public $description;
|
|
|
1189 |
public $lastModificationTime;
|
|
|
1190 |
public $name;
|
|
|
1191 |
public $projectId;
|
|
|
1192 |
protected $scheduleType = 'Google_Service_Storagetransfer_Schedule';
|
|
|
1193 |
protected $scheduleDataType = '';
|
|
|
1194 |
public $status;
|
|
|
1195 |
protected $transferSpecType = 'Google_Service_Storagetransfer_TransferSpec';
|
|
|
1196 |
protected $transferSpecDataType = '';
|
|
|
1197 |
|
|
|
1198 |
|
|
|
1199 |
public function setCreationTime($creationTime)
|
|
|
1200 |
{
|
|
|
1201 |
$this->creationTime = $creationTime;
|
|
|
1202 |
}
|
|
|
1203 |
public function getCreationTime()
|
|
|
1204 |
{
|
|
|
1205 |
return $this->creationTime;
|
|
|
1206 |
}
|
|
|
1207 |
public function setDeletionTime($deletionTime)
|
|
|
1208 |
{
|
|
|
1209 |
$this->deletionTime = $deletionTime;
|
|
|
1210 |
}
|
|
|
1211 |
public function getDeletionTime()
|
|
|
1212 |
{
|
|
|
1213 |
return $this->deletionTime;
|
|
|
1214 |
}
|
|
|
1215 |
public function setDescription($description)
|
|
|
1216 |
{
|
|
|
1217 |
$this->description = $description;
|
|
|
1218 |
}
|
|
|
1219 |
public function getDescription()
|
|
|
1220 |
{
|
|
|
1221 |
return $this->description;
|
|
|
1222 |
}
|
|
|
1223 |
public function setLastModificationTime($lastModificationTime)
|
|
|
1224 |
{
|
|
|
1225 |
$this->lastModificationTime = $lastModificationTime;
|
|
|
1226 |
}
|
|
|
1227 |
public function getLastModificationTime()
|
|
|
1228 |
{
|
|
|
1229 |
return $this->lastModificationTime;
|
|
|
1230 |
}
|
|
|
1231 |
public function setName($name)
|
|
|
1232 |
{
|
|
|
1233 |
$this->name = $name;
|
|
|
1234 |
}
|
|
|
1235 |
public function getName()
|
|
|
1236 |
{
|
|
|
1237 |
return $this->name;
|
|
|
1238 |
}
|
|
|
1239 |
public function setProjectId($projectId)
|
|
|
1240 |
{
|
|
|
1241 |
$this->projectId = $projectId;
|
|
|
1242 |
}
|
|
|
1243 |
public function getProjectId()
|
|
|
1244 |
{
|
|
|
1245 |
return $this->projectId;
|
|
|
1246 |
}
|
|
|
1247 |
public function setSchedule(Google_Service_Storagetransfer_Schedule $schedule)
|
|
|
1248 |
{
|
|
|
1249 |
$this->schedule = $schedule;
|
|
|
1250 |
}
|
|
|
1251 |
public function getSchedule()
|
|
|
1252 |
{
|
|
|
1253 |
return $this->schedule;
|
|
|
1254 |
}
|
|
|
1255 |
public function setStatus($status)
|
|
|
1256 |
{
|
|
|
1257 |
$this->status = $status;
|
|
|
1258 |
}
|
|
|
1259 |
public function getStatus()
|
|
|
1260 |
{
|
|
|
1261 |
return $this->status;
|
|
|
1262 |
}
|
|
|
1263 |
public function setTransferSpec(Google_Service_Storagetransfer_TransferSpec $transferSpec)
|
|
|
1264 |
{
|
|
|
1265 |
$this->transferSpec = $transferSpec;
|
|
|
1266 |
}
|
|
|
1267 |
public function getTransferSpec()
|
|
|
1268 |
{
|
|
|
1269 |
return $this->transferSpec;
|
|
|
1270 |
}
|
|
|
1271 |
}
|
|
|
1272 |
|
|
|
1273 |
#[AllowDynamicProperties]
|
|
|
1274 |
class Google_Service_Storagetransfer_TransferOperation extends Google_Collection
|
|
|
1275 |
{
|
|
|
1276 |
protected $collection_key = 'errorBreakdowns';
|
|
|
1277 |
protected $internal_gapi_mappings = array(
|
|
|
1278 |
);
|
|
|
1279 |
protected $countersType = 'Google_Service_Storagetransfer_TransferCounters';
|
|
|
1280 |
protected $countersDataType = '';
|
|
|
1281 |
public $endTime;
|
|
|
1282 |
protected $errorBreakdownsType = 'Google_Service_Storagetransfer_ErrorSummary';
|
|
|
1283 |
protected $errorBreakdownsDataType = 'array';
|
|
|
1284 |
public $name;
|
|
|
1285 |
public $projectId;
|
|
|
1286 |
public $startTime;
|
|
|
1287 |
public $status;
|
|
|
1288 |
public $transferJobName;
|
|
|
1289 |
protected $transferSpecType = 'Google_Service_Storagetransfer_TransferSpec';
|
|
|
1290 |
protected $transferSpecDataType = '';
|
|
|
1291 |
|
|
|
1292 |
|
|
|
1293 |
public function setCounters(Google_Service_Storagetransfer_TransferCounters $counters)
|
|
|
1294 |
{
|
|
|
1295 |
$this->counters = $counters;
|
|
|
1296 |
}
|
|
|
1297 |
public function getCounters()
|
|
|
1298 |
{
|
|
|
1299 |
return $this->counters;
|
|
|
1300 |
}
|
|
|
1301 |
public function setEndTime($endTime)
|
|
|
1302 |
{
|
|
|
1303 |
$this->endTime = $endTime;
|
|
|
1304 |
}
|
|
|
1305 |
public function getEndTime()
|
|
|
1306 |
{
|
|
|
1307 |
return $this->endTime;
|
|
|
1308 |
}
|
|
|
1309 |
public function setErrorBreakdowns($errorBreakdowns)
|
|
|
1310 |
{
|
|
|
1311 |
$this->errorBreakdowns = $errorBreakdowns;
|
|
|
1312 |
}
|
|
|
1313 |
public function getErrorBreakdowns()
|
|
|
1314 |
{
|
|
|
1315 |
return $this->errorBreakdowns;
|
|
|
1316 |
}
|
|
|
1317 |
public function setName($name)
|
|
|
1318 |
{
|
|
|
1319 |
$this->name = $name;
|
|
|
1320 |
}
|
|
|
1321 |
public function getName()
|
|
|
1322 |
{
|
|
|
1323 |
return $this->name;
|
|
|
1324 |
}
|
|
|
1325 |
public function setProjectId($projectId)
|
|
|
1326 |
{
|
|
|
1327 |
$this->projectId = $projectId;
|
|
|
1328 |
}
|
|
|
1329 |
public function getProjectId()
|
|
|
1330 |
{
|
|
|
1331 |
return $this->projectId;
|
|
|
1332 |
}
|
|
|
1333 |
public function setStartTime($startTime)
|
|
|
1334 |
{
|
|
|
1335 |
$this->startTime = $startTime;
|
|
|
1336 |
}
|
|
|
1337 |
public function getStartTime()
|
|
|
1338 |
{
|
|
|
1339 |
return $this->startTime;
|
|
|
1340 |
}
|
|
|
1341 |
public function setStatus($status)
|
|
|
1342 |
{
|
|
|
1343 |
$this->status = $status;
|
|
|
1344 |
}
|
|
|
1345 |
public function getStatus()
|
|
|
1346 |
{
|
|
|
1347 |
return $this->status;
|
|
|
1348 |
}
|
|
|
1349 |
public function setTransferJobName($transferJobName)
|
|
|
1350 |
{
|
|
|
1351 |
$this->transferJobName = $transferJobName;
|
|
|
1352 |
}
|
|
|
1353 |
public function getTransferJobName()
|
|
|
1354 |
{
|
|
|
1355 |
return $this->transferJobName;
|
|
|
1356 |
}
|
|
|
1357 |
public function setTransferSpec(Google_Service_Storagetransfer_TransferSpec $transferSpec)
|
|
|
1358 |
{
|
|
|
1359 |
$this->transferSpec = $transferSpec;
|
|
|
1360 |
}
|
|
|
1361 |
public function getTransferSpec()
|
|
|
1362 |
{
|
|
|
1363 |
return $this->transferSpec;
|
|
|
1364 |
}
|
|
|
1365 |
}
|
|
|
1366 |
|
|
|
1367 |
#[AllowDynamicProperties]
|
|
|
1368 |
class Google_Service_Storagetransfer_TransferOptions extends Google_Model
|
|
|
1369 |
{
|
|
|
1370 |
protected $internal_gapi_mappings = array(
|
|
|
1371 |
);
|
|
|
1372 |
public $deleteObjectsFromSourceAfterTransfer;
|
|
|
1373 |
public $deleteObjectsUniqueInSink;
|
|
|
1374 |
public $overwriteObjectsAlreadyExistingInSink;
|
|
|
1375 |
|
|
|
1376 |
|
|
|
1377 |
public function setDeleteObjectsFromSourceAfterTransfer($deleteObjectsFromSourceAfterTransfer)
|
|
|
1378 |
{
|
|
|
1379 |
$this->deleteObjectsFromSourceAfterTransfer = $deleteObjectsFromSourceAfterTransfer;
|
|
|
1380 |
}
|
|
|
1381 |
public function getDeleteObjectsFromSourceAfterTransfer()
|
|
|
1382 |
{
|
|
|
1383 |
return $this->deleteObjectsFromSourceAfterTransfer;
|
|
|
1384 |
}
|
|
|
1385 |
public function setDeleteObjectsUniqueInSink($deleteObjectsUniqueInSink)
|
|
|
1386 |
{
|
|
|
1387 |
$this->deleteObjectsUniqueInSink = $deleteObjectsUniqueInSink;
|
|
|
1388 |
}
|
|
|
1389 |
public function getDeleteObjectsUniqueInSink()
|
|
|
1390 |
{
|
|
|
1391 |
return $this->deleteObjectsUniqueInSink;
|
|
|
1392 |
}
|
|
|
1393 |
public function setOverwriteObjectsAlreadyExistingInSink($overwriteObjectsAlreadyExistingInSink)
|
|
|
1394 |
{
|
|
|
1395 |
$this->overwriteObjectsAlreadyExistingInSink = $overwriteObjectsAlreadyExistingInSink;
|
|
|
1396 |
}
|
|
|
1397 |
public function getOverwriteObjectsAlreadyExistingInSink()
|
|
|
1398 |
{
|
|
|
1399 |
return $this->overwriteObjectsAlreadyExistingInSink;
|
|
|
1400 |
}
|
|
|
1401 |
}
|
|
|
1402 |
|
|
|
1403 |
#[AllowDynamicProperties]
|
|
|
1404 |
class Google_Service_Storagetransfer_TransferSpec extends Google_Model
|
|
|
1405 |
{
|
|
|
1406 |
protected $internal_gapi_mappings = array(
|
|
|
1407 |
);
|
|
|
1408 |
protected $awsS3DataSourceType = 'Google_Service_Storagetransfer_AwsS3Data';
|
|
|
1409 |
protected $awsS3DataSourceDataType = '';
|
|
|
1410 |
protected $gcsDataSinkType = 'Google_Service_Storagetransfer_GcsData';
|
|
|
1411 |
protected $gcsDataSinkDataType = '';
|
|
|
1412 |
protected $gcsDataSourceType = 'Google_Service_Storagetransfer_GcsData';
|
|
|
1413 |
protected $gcsDataSourceDataType = '';
|
|
|
1414 |
protected $httpDataSourceType = 'Google_Service_Storagetransfer_HttpData';
|
|
|
1415 |
protected $httpDataSourceDataType = '';
|
|
|
1416 |
protected $objectConditionsType = 'Google_Service_Storagetransfer_ObjectConditions';
|
|
|
1417 |
protected $objectConditionsDataType = '';
|
|
|
1418 |
protected $transferOptionsType = 'Google_Service_Storagetransfer_TransferOptions';
|
|
|
1419 |
protected $transferOptionsDataType = '';
|
|
|
1420 |
|
|
|
1421 |
|
|
|
1422 |
public function setAwsS3DataSource(Google_Service_Storagetransfer_AwsS3Data $awsS3DataSource)
|
|
|
1423 |
{
|
|
|
1424 |
$this->awsS3DataSource = $awsS3DataSource;
|
|
|
1425 |
}
|
|
|
1426 |
public function getAwsS3DataSource()
|
|
|
1427 |
{
|
|
|
1428 |
return $this->awsS3DataSource;
|
|
|
1429 |
}
|
|
|
1430 |
public function setGcsDataSink(Google_Service_Storagetransfer_GcsData $gcsDataSink)
|
|
|
1431 |
{
|
|
|
1432 |
$this->gcsDataSink = $gcsDataSink;
|
|
|
1433 |
}
|
|
|
1434 |
public function getGcsDataSink()
|
|
|
1435 |
{
|
|
|
1436 |
return $this->gcsDataSink;
|
|
|
1437 |
}
|
|
|
1438 |
public function setGcsDataSource(Google_Service_Storagetransfer_GcsData $gcsDataSource)
|
|
|
1439 |
{
|
|
|
1440 |
$this->gcsDataSource = $gcsDataSource;
|
|
|
1441 |
}
|
|
|
1442 |
public function getGcsDataSource()
|
|
|
1443 |
{
|
|
|
1444 |
return $this->gcsDataSource;
|
|
|
1445 |
}
|
|
|
1446 |
public function setHttpDataSource(Google_Service_Storagetransfer_HttpData $httpDataSource)
|
|
|
1447 |
{
|
|
|
1448 |
$this->httpDataSource = $httpDataSource;
|
|
|
1449 |
}
|
|
|
1450 |
public function getHttpDataSource()
|
|
|
1451 |
{
|
|
|
1452 |
return $this->httpDataSource;
|
|
|
1453 |
}
|
|
|
1454 |
public function setObjectConditions(Google_Service_Storagetransfer_ObjectConditions $objectConditions)
|
|
|
1455 |
{
|
|
|
1456 |
$this->objectConditions = $objectConditions;
|
|
|
1457 |
}
|
|
|
1458 |
public function getObjectConditions()
|
|
|
1459 |
{
|
|
|
1460 |
return $this->objectConditions;
|
|
|
1461 |
}
|
|
|
1462 |
public function setTransferOptions(Google_Service_Storagetransfer_TransferOptions $transferOptions)
|
|
|
1463 |
{
|
|
|
1464 |
$this->transferOptions = $transferOptions;
|
|
|
1465 |
}
|
|
|
1466 |
public function getTransferOptions()
|
|
|
1467 |
{
|
|
|
1468 |
return $this->transferOptions;
|
|
|
1469 |
}
|
|
|
1470 |
}
|
|
|
1471 |
|
|
|
1472 |
#[AllowDynamicProperties]
|
|
|
1473 |
class Google_Service_Storagetransfer_UpdateTransferJobRequest extends Google_Model
|
|
|
1474 |
{
|
|
|
1475 |
protected $internal_gapi_mappings = array(
|
|
|
1476 |
);
|
|
|
1477 |
public $projectId;
|
|
|
1478 |
protected $transferJobType = 'Google_Service_Storagetransfer_TransferJob';
|
|
|
1479 |
protected $transferJobDataType = '';
|
|
|
1480 |
public $updateTransferJobFieldMask;
|
|
|
1481 |
|
|
|
1482 |
|
|
|
1483 |
public function setProjectId($projectId)
|
|
|
1484 |
{
|
|
|
1485 |
$this->projectId = $projectId;
|
|
|
1486 |
}
|
|
|
1487 |
public function getProjectId()
|
|
|
1488 |
{
|
|
|
1489 |
return $this->projectId;
|
|
|
1490 |
}
|
|
|
1491 |
public function setTransferJob(Google_Service_Storagetransfer_TransferJob $transferJob)
|
|
|
1492 |
{
|
|
|
1493 |
$this->transferJob = $transferJob;
|
|
|
1494 |
}
|
|
|
1495 |
public function getTransferJob()
|
|
|
1496 |
{
|
|
|
1497 |
return $this->transferJob;
|
|
|
1498 |
}
|
|
|
1499 |
public function setUpdateTransferJobFieldMask($updateTransferJobFieldMask)
|
|
|
1500 |
{
|
|
|
1501 |
$this->updateTransferJobFieldMask = $updateTransferJobFieldMask;
|
|
|
1502 |
}
|
|
|
1503 |
public function getUpdateTransferJobFieldMask()
|
|
|
1504 |
{
|
|
|
1505 |
return $this->updateTransferJobFieldMask;
|
|
|
1506 |
}
|
|
|
1507 |
}
|