PluginProbe
UpdraftPlus: WP Backup & Migration Plugin / 1.16.5
UpdraftPlus: WP Backup & Migration Plugin v1.16.5
1.26.7 1.26.6 1.26.5 1.26.4 1.26.3 1.9.19 1.9.25 1.9.26 1.9.30 1.9.31 1.9.32 1.9.4 1.9.40 1.9.41 1.9.42 1.9.43 1.9.44 1.9.45 1.9.46 1.9.5 1.9.50 1.9.51 1.9.60 1.9.62 1.9.63 All 371 releases
updraftplus / includes / Google / Service / Resourceviews.php

Resourceviews.php in UpdraftPlus: WP Backup & Migration Plugin 1.16.5, at includes/Google/Service/Resourceviews.php

1,342 lines 36.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 Resourceviews (v1beta2).
20 *
21 * <p>
22 * The Resource View API allows users to create and manage logical sets of
23 * Google Compute Engine instances.</p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="https://developers.google.com/compute/" target="_blank">Documentation</a>
28 * </p>
29 *
30 * @author Google, Inc.
31 */
32 class Google_Service_Resourceviews extends Google_Service
33 {
34 /** View and manage your data across Google Cloud Platform services. */
35 const CLOUD_PLATFORM =
36 "https://www.googleapis.com/auth/cloud-platform";
37 /** View and manage your Google Compute Engine resources. */
38 const COMPUTE =
39 "https://www.googleapis.com/auth/compute";
40 /** View your Google Compute Engine resources. */
41 const COMPUTE_READONLY =
42 "https://www.googleapis.com/auth/compute.readonly";
43 /** View and manage your Google Cloud Platform management resources and deployment status information. */
44 const NDEV_CLOUDMAN =
45 "https://www.googleapis.com/auth/ndev.cloudman";
46 /** View your Google Cloud Platform management resources and deployment status information. */
47 const NDEV_CLOUDMAN_READONLY =
48 "https://www.googleapis.com/auth/ndev.cloudman.readonly";
49
50 public $zoneOperations;
51 public $zoneViews;
52
53
54 /**
55 * Constructs the internal representation of the Resourceviews service.
56 *
57 * @param Google_Client $client
58 */
59 public function __construct(Google_Client $client)
60 {
61 parent::__construct($client);
62 $this->servicePath = 'resourceviews/v1beta2/projects/';
63 $this->version = 'v1beta2';
64 $this->serviceName = 'resourceviews';
65
66 $this->zoneOperations = new Google_Service_Resourceviews_ZoneOperations_Resource(
67 $this,
68 $this->serviceName,
69 'zoneOperations',
70 array(
71 'methods' => array(
72 'get' => array(
73 'path' => '{project}/zones/{zone}/operations/{operation}',
74 'httpMethod' => 'GET',
75 'parameters' => array(
76 'project' => array(
77 'location' => 'path',
78 'type' => 'string',
79 'required' => true,
80 ),
81 'zone' => array(
82 'location' => 'path',
83 'type' => 'string',
84 'required' => true,
85 ),
86 'operation' => array(
87 'location' => 'path',
88 'type' => 'string',
89 'required' => true,
90 ),
91 ),
92 ),'list' => array(
93 'path' => '{project}/zones/{zone}/operations',
94 'httpMethod' => 'GET',
95 'parameters' => array(
96 'project' => array(
97 'location' => 'path',
98 'type' => 'string',
99 'required' => true,
100 ),
101 'zone' => array(
102 'location' => 'path',
103 'type' => 'string',
104 'required' => true,
105 ),
106 'filter' => array(
107 'location' => 'query',
108 'type' => 'string',
109 ),
110 'pageToken' => array(
111 'location' => 'query',
112 'type' => 'string',
113 ),
114 'maxResults' => array(
115 'location' => 'query',
116 'type' => 'integer',
117 ),
118 ),
119 ),
120 )
121 )
122 );
123 $this->zoneViews = new Google_Service_Resourceviews_ZoneViews_Resource(
124 $this,
125 $this->serviceName,
126 'zoneViews',
127 array(
128 'methods' => array(
129 'addResources' => array(
130 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/addResources',
131 'httpMethod' => 'POST',
132 'parameters' => array(
133 'project' => array(
134 'location' => 'path',
135 'type' => 'string',
136 'required' => true,
137 ),
138 'zone' => array(
139 'location' => 'path',
140 'type' => 'string',
141 'required' => true,
142 ),
143 'resourceView' => array(
144 'location' => 'path',
145 'type' => 'string',
146 'required' => true,
147 ),
148 ),
149 ),'delete' => array(
150 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}',
151 'httpMethod' => 'DELETE',
152 'parameters' => array(
153 'project' => array(
154 'location' => 'path',
155 'type' => 'string',
156 'required' => true,
157 ),
158 'zone' => array(
159 'location' => 'path',
160 'type' => 'string',
161 'required' => true,
162 ),
163 'resourceView' => array(
164 'location' => 'path',
165 'type' => 'string',
166 'required' => true,
167 ),
168 ),
169 ),'get' => array(
170 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}',
171 'httpMethod' => 'GET',
172 'parameters' => array(
173 'project' => array(
174 'location' => 'path',
175 'type' => 'string',
176 'required' => true,
177 ),
178 'zone' => array(
179 'location' => 'path',
180 'type' => 'string',
181 'required' => true,
182 ),
183 'resourceView' => array(
184 'location' => 'path',
185 'type' => 'string',
186 'required' => true,
187 ),
188 ),
189 ),'getService' => array(
190 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/getService',
191 'httpMethod' => 'POST',
192 'parameters' => array(
193 'project' => array(
194 'location' => 'path',
195 'type' => 'string',
196 'required' => true,
197 ),
198 'zone' => array(
199 'location' => 'path',
200 'type' => 'string',
201 'required' => true,
202 ),
203 'resourceView' => array(
204 'location' => 'path',
205 'type' => 'string',
206 'required' => true,
207 ),
208 'resourceName' => array(
209 'location' => 'query',
210 'type' => 'string',
211 ),
212 ),
213 ),'insert' => array(
214 'path' => '{project}/zones/{zone}/resourceViews',
215 'httpMethod' => 'POST',
216 'parameters' => array(
217 'project' => array(
218 'location' => 'path',
219 'type' => 'string',
220 'required' => true,
221 ),
222 'zone' => array(
223 'location' => 'path',
224 'type' => 'string',
225 'required' => true,
226 ),
227 ),
228 ),'list' => array(
229 'path' => '{project}/zones/{zone}/resourceViews',
230 'httpMethod' => 'GET',
231 'parameters' => array(
232 'project' => array(
233 'location' => 'path',
234 'type' => 'string',
235 'required' => true,
236 ),
237 'zone' => array(
238 'location' => 'path',
239 'type' => 'string',
240 'required' => true,
241 ),
242 'pageToken' => array(
243 'location' => 'query',
244 'type' => 'string',
245 ),
246 'maxResults' => array(
247 'location' => 'query',
248 'type' => 'integer',
249 ),
250 ),
251 ),'listResources' => array(
252 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/resources',
253 'httpMethod' => 'GET',
254 'parameters' => array(
255 'project' => array(
256 'location' => 'path',
257 'type' => 'string',
258 'required' => true,
259 ),
260 'zone' => array(
261 'location' => 'path',
262 'type' => 'string',
263 'required' => true,
264 ),
265 'resourceView' => array(
266 'location' => 'path',
267 'type' => 'string',
268 'required' => true,
269 ),
270 'listState' => array(
271 'location' => 'query',
272 'type' => 'string',
273 ),
274 'format' => array(
275 'location' => 'query',
276 'type' => 'string',
277 ),
278 'maxResults' => array(
279 'location' => 'query',
280 'type' => 'integer',
281 ),
282 'pageToken' => array(
283 'location' => 'query',
284 'type' => 'string',
285 ),
286 'serviceName' => array(
287 'location' => 'query',
288 'type' => 'string',
289 ),
290 ),
291 ),'removeResources' => array(
292 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/removeResources',
293 'httpMethod' => 'POST',
294 'parameters' => array(
295 'project' => array(
296 'location' => 'path',
297 'type' => 'string',
298 'required' => true,
299 ),
300 'zone' => array(
301 'location' => 'path',
302 'type' => 'string',
303 'required' => true,
304 ),
305 'resourceView' => array(
306 'location' => 'path',
307 'type' => 'string',
308 'required' => true,
309 ),
310 ),
311 ),'setService' => array(
312 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/setService',
313 'httpMethod' => 'POST',
314 'parameters' => array(
315 'project' => array(
316 'location' => 'path',
317 'type' => 'string',
318 'required' => true,
319 ),
320 'zone' => array(
321 'location' => 'path',
322 'type' => 'string',
323 'required' => true,
324 ),
325 'resourceView' => array(
326 'location' => 'path',
327 'type' => 'string',
328 'required' => true,
329 ),
330 ),
331 ),
332 )
333 )
334 );
335 }
336 }
337
338
339 /**
340 * The "zoneOperations" collection of methods.
341 * Typical usage is:
342 * <code>
343 * $resourceviewsService = new Google_Service_Resourceviews(...);
344 * $zoneOperations = $resourceviewsService->zoneOperations;
345 * </code>
346 */
347 class Google_Service_Resourceviews_ZoneOperations_Resource extends Google_Service_Resource
348 {
349
350 /**
351 * Retrieves the specified zone-specific operation resource.
352 * (zoneOperations.get)
353 *
354 * @param string $project Name of the project scoping this request.
355 * @param string $zone Name of the zone scoping this request.
356 * @param string $operation Name of the operation resource to return.
357 * @param array $optParams Optional parameters.
358 * @return Google_Service_Resourceviews_Operation
359 */
360 public function get($project, $zone, $operation, $optParams = array())
361 {
362 $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
363 $params = array_merge($params, $optParams);
364 return $this->call('get', array($params), "Google_Service_Resourceviews_Operation");
365 }
366
367 /**
368 * Retrieves the list of operation resources contained within the specified
369 * zone. (zoneOperations.listZoneOperations)
370 *
371 * @param string $project Name of the project scoping this request.
372 * @param string $zone Name of the zone scoping this request.
373 * @param array $optParams Optional parameters.
374 *
375 * @opt_param string filter Optional. Filter expression for filtering listed
376 * resources.
377 * @opt_param string pageToken Optional. Tag returned by a previous list request
378 * truncated by maxResults. Used to continue a previous list request.
379 * @opt_param string maxResults Optional. Maximum count of results to be
380 * returned. Maximum value is 500 and default value is 500.
381 * @return Google_Service_Resourceviews_OperationList
382 */
383 public function listZoneOperations($project, $zone, $optParams = array())
384 {
385 $params = array('project' => $project, 'zone' => $zone);
386 $params = array_merge($params, $optParams);
387 return $this->call('list', array($params), "Google_Service_Resourceviews_OperationList");
388 }
389 }
390
391 /**
392 * The "zoneViews" collection of methods.
393 * Typical usage is:
394 * <code>
395 * $resourceviewsService = new Google_Service_Resourceviews(...);
396 * $zoneViews = $resourceviewsService->zoneViews;
397 * </code>
398 */
399 class Google_Service_Resourceviews_ZoneViews_Resource extends Google_Service_Resource
400 {
401
402 /**
403 * Add resources to the view. (zoneViews.addResources)
404 *
405 * @param string $project The project name of the resource view.
406 * @param string $zone The zone name of the resource view.
407 * @param string $resourceView The name of the resource view.
408 * @param Google_ZoneViewsAddResourcesRequest $postBody
409 * @param array $optParams Optional parameters.
410 * @return Google_Service_Resourceviews_Operation
411 */
412 public function addResources($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody, $optParams = array())
413 {
414 $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody);
415 $params = array_merge($params, $optParams);
416 return $this->call('addResources', array($params), "Google_Service_Resourceviews_Operation");
417 }
418
419 /**
420 * Delete a resource view. (zoneViews.delete)
421 *
422 * @param string $project The project name of the resource view.
423 * @param string $zone The zone name of the resource view.
424 * @param string $resourceView The name of the resource view.
425 * @param array $optParams Optional parameters.
426 * @return Google_Service_Resourceviews_Operation
427 */
428 public function delete($project, $zone, $resourceView, $optParams = array())
429 {
430 $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView);
431 $params = array_merge($params, $optParams);
432 return $this->call('delete', array($params), "Google_Service_Resourceviews_Operation");
433 }
434
435 /**
436 * Get the information of a zonal resource view. (zoneViews.get)
437 *
438 * @param string $project The project name of the resource view.
439 * @param string $zone The zone name of the resource view.
440 * @param string $resourceView The name of the resource view.
441 * @param array $optParams Optional parameters.
442 * @return Google_Service_Resourceviews_ResourceView
443 */
444 public function get($project, $zone, $resourceView, $optParams = array())
445 {
446 $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView);
447 $params = array_merge($params, $optParams);
448 return $this->call('get', array($params), "Google_Service_Resourceviews_ResourceView");
449 }
450
451 /**
452 * Get the service information of a resource view or a resource.
453 * (zoneViews.getService)
454 *
455 * @param string $project The project name of the resource view.
456 * @param string $zone The zone name of the resource view.
457 * @param string $resourceView The name of the resource view.
458 * @param array $optParams Optional parameters.
459 *
460 * @opt_param string resourceName The name of the resource if user wants to get
461 * the service information of the resource.
462 * @return Google_Service_Resourceviews_ZoneViewsGetServiceResponse
463 */
464 public function getService($project, $zone, $resourceView, $optParams = array())
465 {
466 $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView);
467 $params = array_merge($params, $optParams);
468 return $this->call('getService', array($params), "Google_Service_Resourceviews_ZoneViewsGetServiceResponse");
469 }
470
471 /**
472 * Create a resource view. (zoneViews.insert)
473 *
474 * @param string $project The project name of the resource view.
475 * @param string $zone The zone name of the resource view.
476 * @param Google_ResourceView $postBody
477 * @param array $optParams Optional parameters.
478 * @return Google_Service_Resourceviews_Operation
479 */
480 public function insert($project, $zone, Google_Service_Resourceviews_ResourceView $postBody, $optParams = array())
481 {
482 $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
483 $params = array_merge($params, $optParams);
484 return $this->call('insert', array($params), "Google_Service_Resourceviews_Operation");
485 }
486
487 /**
488 * List resource views. (zoneViews.listZoneViews)
489 *
490 * @param string $project The project name of the resource view.
491 * @param string $zone The zone name of the resource view.
492 * @param array $optParams Optional parameters.
493 *
494 * @opt_param string pageToken Specifies a nextPageToken returned by a previous
495 * list request. This token can be used to request the next page of results from
496 * a previous list request.
497 * @opt_param int maxResults Maximum count of results to be returned. Acceptable
498 * values are 0 to 5000, inclusive. (Default: 5000)
499 * @return Google_Service_Resourceviews_ZoneViewsList
500 */
501 public function listZoneViews($project, $zone, $optParams = array())
502 {
503 $params = array('project' => $project, 'zone' => $zone);
504 $params = array_merge($params, $optParams);
505 return $this->call('list', array($params), "Google_Service_Resourceviews_ZoneViewsList");
506 }
507
508 /**
509 * List the resources of the resource view. (zoneViews.listResources)
510 *
511 * @param string $project The project name of the resource view.
512 * @param string $zone The zone name of the resource view.
513 * @param string $resourceView The name of the resource view.
514 * @param array $optParams Optional parameters.
515 *
516 * @opt_param string listState The state of the instance to list. By default, it
517 * lists all instances.
518 * @opt_param string format The requested format of the return value. It can be
519 * URL or URL_PORT. A JSON object will be included in the response based on the
520 * format. The default format is NONE, which results in no JSON in the response.
521 * @opt_param int maxResults Maximum count of results to be returned. Acceptable
522 * values are 0 to 5000, inclusive. (Default: 5000)
523 * @opt_param string pageToken Specifies a nextPageToken returned by a previous
524 * list request. This token can be used to request the next page of results from
525 * a previous list request.
526 * @opt_param string serviceName The service name to return in the response. It
527 * is optional and if it is not set, all the service end points will be
528 * returned.
529 * @return Google_Service_Resourceviews_ZoneViewsListResourcesResponse
530 */
531 public function listResources($project, $zone, $resourceView, $optParams = array())
532 {
533 $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView);
534 $params = array_merge($params, $optParams);
535 return $this->call('listResources', array($params), "Google_Service_Resourceviews_ZoneViewsListResourcesResponse");
536 }
537
538 /**
539 * Remove resources from the view. (zoneViews.removeResources)
540 *
541 * @param string $project The project name of the resource view.
542 * @param string $zone The zone name of the resource view.
543 * @param string $resourceView The name of the resource view.
544 * @param Google_ZoneViewsRemoveResourcesRequest $postBody
545 * @param array $optParams Optional parameters.
546 * @return Google_Service_Resourceviews_Operation
547 */
548 public function removeResources($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody, $optParams = array())
549 {
550 $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody);
551 $params = array_merge($params, $optParams);
552 return $this->call('removeResources', array($params), "Google_Service_Resourceviews_Operation");
553 }
554
555 /**
556 * Update the service information of a resource view or a resource.
557 * (zoneViews.setService)
558 *
559 * @param string $project The project name of the resource view.
560 * @param string $zone The zone name of the resource view.
561 * @param string $resourceView The name of the resource view.
562 * @param Google_ZoneViewsSetServiceRequest $postBody
563 * @param array $optParams Optional parameters.
564 * @return Google_Service_Resourceviews_Operation
565 */
566 public function setService($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsSetServiceRequest $postBody, $optParams = array())
567 {
568 $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody);
569 $params = array_merge($params, $optParams);
570 return $this->call('setService', array($params), "Google_Service_Resourceviews_Operation");
571 }
572 }
573
574
575
576
577 class Google_Service_Resourceviews_Label extends Google_Model
578 {
579 protected $internal_gapi_mappings = array(
580 );
581 public $key;
582 public $value;
583
584
585 public function setKey($key)
586 {
587 $this->key = $key;
588 }
589 public function getKey()
590 {
591 return $this->key;
592 }
593 public function setValue($value)
594 {
595 $this->value = $value;
596 }
597 public function getValue()
598 {
599 return $this->value;
600 }
601 }
602
603 class Google_Service_Resourceviews_ListResourceResponseItem extends Google_Model
604 {
605 protected $internal_gapi_mappings = array(
606 );
607 public $endpoints;
608 public $resource;
609
610
611 public function setEndpoints($endpoints)
612 {
613 $this->endpoints = $endpoints;
614 }
615 public function getEndpoints()
616 {
617 return $this->endpoints;
618 }
619 public function setResource($resource)
620 {
621 $this->resource = $resource;
622 }
623 public function getResource()
624 {
625 return $this->resource;
626 }
627 }
628
629 class Google_Service_Resourceviews_ListResourceResponseItemEndpoints extends Google_Model
630 {
631 }
632
633 class Google_Service_Resourceviews_Operation extends Google_Collection
634 {
635 protected $collection_key = 'warnings';
636 protected $internal_gapi_mappings = array(
637 );
638 public $clientOperationId;
639 public $creationTimestamp;
640 public $endTime;
641 protected $errorType = 'Google_Service_Resourceviews_OperationError';
642 protected $errorDataType = '';
643 public $httpErrorMessage;
644 public $httpErrorStatusCode;
645 public $id;
646 public $insertTime;
647 public $kind;
648 public $name;
649 public $operationType;
650 public $progress;
651 public $region;
652 public $selfLink;
653 public $startTime;
654 public $status;
655 public $statusMessage;
656 public $targetId;
657 public $targetLink;
658 public $user;
659 protected $warningsType = 'Google_Service_Resourceviews_OperationWarnings';
660 protected $warningsDataType = 'array';
661 public $zone;
662
663
664 public function setClientOperationId($clientOperationId)
665 {
666 $this->clientOperationId = $clientOperationId;
667 }
668 public function getClientOperationId()
669 {
670 return $this->clientOperationId;
671 }
672 public function setCreationTimestamp($creationTimestamp)
673 {
674 $this->creationTimestamp = $creationTimestamp;
675 }
676 public function getCreationTimestamp()
677 {
678 return $this->creationTimestamp;
679 }
680 public function setEndTime($endTime)
681 {
682 $this->endTime = $endTime;
683 }
684 public function getEndTime()
685 {
686 return $this->endTime;
687 }
688 public function setError(Google_Service_Resourceviews_OperationError $error)
689 {
690 $this->error = $error;
691 }
692 public function getError()
693 {
694 return $this->error;
695 }
696 public function setHttpErrorMessage($httpErrorMessage)
697 {
698 $this->httpErrorMessage = $httpErrorMessage;
699 }
700 public function getHttpErrorMessage()
701 {
702 return $this->httpErrorMessage;
703 }
704 public function setHttpErrorStatusCode($httpErrorStatusCode)
705 {
706 $this->httpErrorStatusCode = $httpErrorStatusCode;
707 }
708 public function getHttpErrorStatusCode()
709 {
710 return $this->httpErrorStatusCode;
711 }
712 public function setId($id)
713 {
714 $this->id = $id;
715 }
716 public function getId()
717 {
718 return $this->id;
719 }
720 public function setInsertTime($insertTime)
721 {
722 $this->insertTime = $insertTime;
723 }
724 public function getInsertTime()
725 {
726 return $this->insertTime;
727 }
728 public function setKind($kind)
729 {
730 $this->kind = $kind;
731 }
732 public function getKind()
733 {
734 return $this->kind;
735 }
736 public function setName($name)
737 {
738 $this->name = $name;
739 }
740 public function getName()
741 {
742 return $this->name;
743 }
744 public function setOperationType($operationType)
745 {
746 $this->operationType = $operationType;
747 }
748 public function getOperationType()
749 {
750 return $this->operationType;
751 }
752 public function setProgress($progress)
753 {
754 $this->progress = $progress;
755 }
756 public function getProgress()
757 {
758 return $this->progress;
759 }
760 public function setRegion($region)
761 {
762 $this->region = $region;
763 }
764 public function getRegion()
765 {
766 return $this->region;
767 }
768 public function setSelfLink($selfLink)
769 {
770 $this->selfLink = $selfLink;
771 }
772 public function getSelfLink()
773 {
774 return $this->selfLink;
775 }
776 public function setStartTime($startTime)
777 {
778 $this->startTime = $startTime;
779 }
780 public function getStartTime()
781 {
782 return $this->startTime;
783 }
784 public function setStatus($status)
785 {
786 $this->status = $status;
787 }
788 public function getStatus()
789 {
790 return $this->status;
791 }
792 public function setStatusMessage($statusMessage)
793 {
794 $this->statusMessage = $statusMessage;
795 }
796 public function getStatusMessage()
797 {
798 return $this->statusMessage;
799 }
800 public function setTargetId($targetId)
801 {
802 $this->targetId = $targetId;
803 }
804 public function getTargetId()
805 {
806 return $this->targetId;
807 }
808 public function setTargetLink($targetLink)
809 {
810 $this->targetLink = $targetLink;
811 }
812 public function getTargetLink()
813 {
814 return $this->targetLink;
815 }
816 public function setUser($user)
817 {
818 $this->user = $user;
819 }
820 public function getUser()
821 {
822 return $this->user;
823 }
824 public function setWarnings($warnings)
825 {
826 $this->warnings = $warnings;
827 }
828 public function getWarnings()
829 {
830 return $this->warnings;
831 }
832 public function setZone($zone)
833 {
834 $this->zone = $zone;
835 }
836 public function getZone()
837 {
838 return $this->zone;
839 }
840 }
841
842 class Google_Service_Resourceviews_OperationError extends Google_Collection
843 {
844 protected $collection_key = 'errors';
845 protected $internal_gapi_mappings = array(
846 );
847 protected $errorsType = 'Google_Service_Resourceviews_OperationErrorErrors';
848 protected $errorsDataType = 'array';
849
850
851 public function setErrors($errors)
852 {
853 $this->errors = $errors;
854 }
855 public function getErrors()
856 {
857 return $this->errors;
858 }
859 }
860
861 class Google_Service_Resourceviews_OperationErrorErrors extends Google_Model
862 {
863 protected $internal_gapi_mappings = array(
864 );
865 public $code;
866 public $location;
867 public $message;
868
869
870 public function setCode($code)
871 {
872 $this->code = $code;
873 }
874 public function getCode()
875 {
876 return $this->code;
877 }
878 public function setLocation($location)
879 {
880 $this->location = $location;
881 }
882 public function getLocation()
883 {
884 return $this->location;
885 }
886 public function setMessage($message)
887 {
888 $this->message = $message;
889 }
890 public function getMessage()
891 {
892 return $this->message;
893 }
894 }
895
896 class Google_Service_Resourceviews_OperationList extends Google_Collection
897 {
898 protected $collection_key = 'items';
899 protected $internal_gapi_mappings = array(
900 );
901 public $id;
902 protected $itemsType = 'Google_Service_Resourceviews_Operation';
903 protected $itemsDataType = 'array';
904 public $kind;
905 public $nextPageToken;
906 public $selfLink;
907
908
909 public function setId($id)
910 {
911 $this->id = $id;
912 }
913 public function getId()
914 {
915 return $this->id;
916 }
917 public function setItems($items)
918 {
919 $this->items = $items;
920 }
921 public function getItems()
922 {
923 return $this->items;
924 }
925 public function setKind($kind)
926 {
927 $this->kind = $kind;
928 }
929 public function getKind()
930 {
931 return $this->kind;
932 }
933 public function setNextPageToken($nextPageToken)
934 {
935 $this->nextPageToken = $nextPageToken;
936 }
937 public function getNextPageToken()
938 {
939 return $this->nextPageToken;
940 }
941 public function setSelfLink($selfLink)
942 {
943 $this->selfLink = $selfLink;
944 }
945 public function getSelfLink()
946 {
947 return $this->selfLink;
948 }
949 }
950
951 class Google_Service_Resourceviews_OperationWarnings extends Google_Collection
952 {
953 protected $collection_key = 'data';
954 protected $internal_gapi_mappings = array(
955 );
956 public $code;
957 protected $dataType = 'Google_Service_Resourceviews_OperationWarningsData';
958 protected $dataDataType = 'array';
959 public $message;
960
961
962 public function setCode($code)
963 {
964 $this->code = $code;
965 }
966 public function getCode()
967 {
968 return $this->code;
969 }
970 public function setData($data)
971 {
972 $this->data = $data;
973 }
974 public function getData()
975 {
976 return $this->data;
977 }
978 public function setMessage($message)
979 {
980 $this->message = $message;
981 }
982 public function getMessage()
983 {
984 return $this->message;
985 }
986 }
987
988 class Google_Service_Resourceviews_OperationWarningsData extends Google_Model
989 {
990 protected $internal_gapi_mappings = array(
991 );
992 public $key;
993 public $value;
994
995
996 public function setKey($key)
997 {
998 $this->key = $key;
999 }
1000 public function getKey()
1001 {
1002 return $this->key;
1003 }
1004 public function setValue($value)
1005 {
1006 $this->value = $value;
1007 }
1008 public function getValue()
1009 {
1010 return $this->value;
1011 }
1012 }
1013
1014 class Google_Service_Resourceviews_ResourceView extends Google_Collection
1015 {
1016 protected $collection_key = 'resources';
1017 protected $internal_gapi_mappings = array(
1018 );
1019 public $creationTimestamp;
1020 public $description;
1021 protected $endpointsType = 'Google_Service_Resourceviews_ServiceEndpoint';
1022 protected $endpointsDataType = 'array';
1023 public $fingerprint;
1024 public $id;
1025 public $kind;
1026 protected $labelsType = 'Google_Service_Resourceviews_Label';
1027 protected $labelsDataType = 'array';
1028 public $name;
1029 public $network;
1030 public $resources;
1031 public $selfLink;
1032 public $size;
1033
1034
1035 public function setCreationTimestamp($creationTimestamp)
1036 {
1037 $this->creationTimestamp = $creationTimestamp;
1038 }
1039 public function getCreationTimestamp()
1040 {
1041 return $this->creationTimestamp;
1042 }
1043 public function setDescription($description)
1044 {
1045 $this->description = $description;
1046 }
1047 public function getDescription()
1048 {
1049 return $this->description;
1050 }
1051 public function setEndpoints($endpoints)
1052 {
1053 $this->endpoints = $endpoints;
1054 }
1055 public function getEndpoints()
1056 {
1057 return $this->endpoints;
1058 }
1059 public function setFingerprint($fingerprint)
1060 {
1061 $this->fingerprint = $fingerprint;
1062 }
1063 public function getFingerprint()
1064 {
1065 return $this->fingerprint;
1066 }
1067 public function setId($id)
1068 {
1069 $this->id = $id;
1070 }
1071 public function getId()
1072 {
1073 return $this->id;
1074 }
1075 public function setKind($kind)
1076 {
1077 $this->kind = $kind;
1078 }
1079 public function getKind()
1080 {
1081 return $this->kind;
1082 }
1083 public function setLabels($labels)
1084 {
1085 $this->labels = $labels;
1086 }
1087 public function getLabels()
1088 {
1089 return $this->labels;
1090 }
1091 public function setName($name)
1092 {
1093 $this->name = $name;
1094 }
1095 public function getName()
1096 {
1097 return $this->name;
1098 }
1099 public function setNetwork($network)
1100 {
1101 $this->network = $network;
1102 }
1103 public function getNetwork()
1104 {
1105 return $this->network;
1106 }
1107 public function setResources($resources)
1108 {
1109 $this->resources = $resources;
1110 }
1111 public function getResources()
1112 {
1113 return $this->resources;
1114 }
1115 public function setSelfLink($selfLink)
1116 {
1117 $this->selfLink = $selfLink;
1118 }
1119 public function getSelfLink()
1120 {
1121 return $this->selfLink;
1122 }
1123 public function setSize($size)
1124 {
1125 $this->size = $size;
1126 }
1127 public function getSize()
1128 {
1129 return $this->size;
1130 }
1131 }
1132
1133 class Google_Service_Resourceviews_ServiceEndpoint extends Google_Model
1134 {
1135 protected $internal_gapi_mappings = array(
1136 );
1137 public $name;
1138 public $port;
1139
1140
1141 public function setName($name)
1142 {
1143 $this->name = $name;
1144 }
1145 public function getName()
1146 {
1147 return $this->name;
1148 }
1149 public function setPort($port)
1150 {
1151 $this->port = $port;
1152 }
1153 public function getPort()
1154 {
1155 return $this->port;
1156 }
1157 }
1158
1159 class Google_Service_Resourceviews_ZoneViewsAddResourcesRequest extends Google_Collection
1160 {
1161 protected $collection_key = 'resources';
1162 protected $internal_gapi_mappings = array(
1163 );
1164 public $resources;
1165
1166
1167 public function setResources($resources)
1168 {
1169 $this->resources = $resources;
1170 }
1171 public function getResources()
1172 {
1173 return $this->resources;
1174 }
1175 }
1176
1177 class Google_Service_Resourceviews_ZoneViewsGetServiceResponse extends Google_Collection
1178 {
1179 protected $collection_key = 'endpoints';
1180 protected $internal_gapi_mappings = array(
1181 );
1182 protected $endpointsType = 'Google_Service_Resourceviews_ServiceEndpoint';
1183 protected $endpointsDataType = 'array';
1184 public $fingerprint;
1185
1186
1187 public function setEndpoints($endpoints)
1188 {
1189 $this->endpoints = $endpoints;
1190 }
1191 public function getEndpoints()
1192 {
1193 return $this->endpoints;
1194 }
1195 public function setFingerprint($fingerprint)
1196 {
1197 $this->fingerprint = $fingerprint;
1198 }
1199 public function getFingerprint()
1200 {
1201 return $this->fingerprint;
1202 }
1203 }
1204
1205 class Google_Service_Resourceviews_ZoneViewsList extends Google_Collection
1206 {
1207 protected $collection_key = 'items';
1208 protected $internal_gapi_mappings = array(
1209 );
1210 protected $itemsType = 'Google_Service_Resourceviews_ResourceView';
1211 protected $itemsDataType = 'array';
1212 public $kind;
1213 public $nextPageToken;
1214 public $selfLink;
1215
1216
1217 public function setItems($items)
1218 {
1219 $this->items = $items;
1220 }
1221 public function getItems()
1222 {
1223 return $this->items;
1224 }
1225 public function setKind($kind)
1226 {
1227 $this->kind = $kind;
1228 }
1229 public function getKind()
1230 {
1231 return $this->kind;
1232 }
1233 public function setNextPageToken($nextPageToken)
1234 {
1235 $this->nextPageToken = $nextPageToken;
1236 }
1237 public function getNextPageToken()
1238 {
1239 return $this->nextPageToken;
1240 }
1241 public function setSelfLink($selfLink)
1242 {
1243 $this->selfLink = $selfLink;
1244 }
1245 public function getSelfLink()
1246 {
1247 return $this->selfLink;
1248 }
1249 }
1250
1251 class Google_Service_Resourceviews_ZoneViewsListResourcesResponse extends Google_Collection
1252 {
1253 protected $collection_key = 'items';
1254 protected $internal_gapi_mappings = array(
1255 );
1256 protected $itemsType = 'Google_Service_Resourceviews_ListResourceResponseItem';
1257 protected $itemsDataType = 'array';
1258 public $network;
1259 public $nextPageToken;
1260
1261
1262 public function setItems($items)
1263 {
1264 $this->items = $items;
1265 }
1266 public function getItems()
1267 {
1268 return $this->items;
1269 }
1270 public function setNetwork($network)
1271 {
1272 $this->network = $network;
1273 }
1274 public function getNetwork()
1275 {
1276 return $this->network;
1277 }
1278 public function setNextPageToken($nextPageToken)
1279 {
1280 $this->nextPageToken = $nextPageToken;
1281 }
1282 public function getNextPageToken()
1283 {
1284 return $this->nextPageToken;
1285 }
1286 }
1287
1288 class Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest extends Google_Collection
1289 {
1290 protected $collection_key = 'resources';
1291 protected $internal_gapi_mappings = array(
1292 );
1293 public $resources;
1294
1295
1296 public function setResources($resources)
1297 {
1298 $this->resources = $resources;
1299 }
1300 public function getResources()
1301 {
1302 return $this->resources;
1303 }
1304 }
1305
1306 class Google_Service_Resourceviews_ZoneViewsSetServiceRequest extends Google_Collection
1307 {
1308 protected $collection_key = 'endpoints';
1309 protected $internal_gapi_mappings = array(
1310 );
1311 protected $endpointsType = 'Google_Service_Resourceviews_ServiceEndpoint';
1312 protected $endpointsDataType = 'array';
1313 public $fingerprint;
1314 public $resourceName;
1315
1316
1317 public function setEndpoints($endpoints)
1318 {
1319 $this->endpoints = $endpoints;
1320 }
1321 public function getEndpoints()
1322 {
1323 return $this->endpoints;
1324 }
1325 public function setFingerprint($fingerprint)
1326 {
1327 $this->fingerprint = $fingerprint;
1328 }
1329 public function getFingerprint()
1330 {
1331 return $this->fingerprint;
1332 }
1333 public function setResourceName($resourceName)
1334 {
1335 $this->resourceName = $resourceName;
1336 }
1337 public function getResourceName()
1338 {
1339 return $this->resourceName;
1340 }
1341 }
1342