PluginProbe
Authorizer / 2.2
Authorizer v2.2
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / inc / google-api-php-client / src / Google / Service / Resourceviews.php

Resourceviews.php in Authorizer 2.2, at inc/google-api-php-client/src/Google/Service/Resourceviews.php

1,001 lines 30.9 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 (v1beta1).
20 *
21 * <p>
22 * The Google Resource Views API provides views of VMs.
23 * </p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="http://code.google.com/apis/cloud/resourceviews/v1/using_rest.html" 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 = "https://www.googleapis.com/auth/cloud-platform";
36 /** View and manage your Google Cloud Platform management resources and deployment status information. */
37 const NDEV_CLOUDMAN = "https://www.googleapis.com/auth/ndev.cloudman";
38 /** View your Google Cloud Platform management resources and deployment status information. */
39 const NDEV_CLOUDMAN_READONLY = "https://www.googleapis.com/auth/ndev.cloudman.readonly";
40
41 public $regionViews;
42 public $zoneViews;
43
44
45 /**
46 * Constructs the internal representation of the Resourceviews service.
47 *
48 * @param Google_Client $client
49 */
50 public function __construct(Google_Client $client)
51 {
52 parent::__construct($client);
53 $this->servicePath = 'resourceviews/v1beta1/projects/';
54 $this->version = 'v1beta1';
55 $this->serviceName = 'resourceviews';
56
57 $this->regionViews = new Google_Service_Resourceviews_RegionViews_Resource(
58 $this,
59 $this->serviceName,
60 'regionViews',
61 array(
62 'methods' => array(
63 'addresources' => array(
64 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}/addResources',
65 'httpMethod' => 'POST',
66 'parameters' => array(
67 'projectName' => array(
68 'location' => 'path',
69 'type' => 'string',
70 'required' => true,
71 ),
72 'region' => array(
73 'location' => 'path',
74 'type' => 'string',
75 'required' => true,
76 ),
77 'resourceViewName' => array(
78 'location' => 'path',
79 'type' => 'string',
80 'required' => true,
81 ),
82 ),
83 ),'delete' => array(
84 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}',
85 'httpMethod' => 'DELETE',
86 'parameters' => array(
87 'projectName' => array(
88 'location' => 'path',
89 'type' => 'string',
90 'required' => true,
91 ),
92 'region' => array(
93 'location' => 'path',
94 'type' => 'string',
95 'required' => true,
96 ),
97 'resourceViewName' => array(
98 'location' => 'path',
99 'type' => 'string',
100 'required' => true,
101 ),
102 ),
103 ),'get' => array(
104 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}',
105 'httpMethod' => 'GET',
106 'parameters' => array(
107 'projectName' => array(
108 'location' => 'path',
109 'type' => 'string',
110 'required' => true,
111 ),
112 'region' => array(
113 'location' => 'path',
114 'type' => 'string',
115 'required' => true,
116 ),
117 'resourceViewName' => array(
118 'location' => 'path',
119 'type' => 'string',
120 'required' => true,
121 ),
122 ),
123 ),'insert' => array(
124 'path' => '{projectName}/regions/{region}/resourceViews',
125 'httpMethod' => 'POST',
126 'parameters' => array(
127 'projectName' => array(
128 'location' => 'path',
129 'type' => 'string',
130 'required' => true,
131 ),
132 'region' => array(
133 'location' => 'path',
134 'type' => 'string',
135 'required' => true,
136 ),
137 ),
138 ),'list' => array(
139 'path' => '{projectName}/regions/{region}/resourceViews',
140 'httpMethod' => 'GET',
141 'parameters' => array(
142 'projectName' => array(
143 'location' => 'path',
144 'type' => 'string',
145 'required' => true,
146 ),
147 'region' => array(
148 'location' => 'path',
149 'type' => 'string',
150 'required' => true,
151 ),
152 'pageToken' => array(
153 'location' => 'query',
154 'type' => 'string',
155 ),
156 'maxResults' => array(
157 'location' => 'query',
158 'type' => 'integer',
159 ),
160 ),
161 ),'listresources' => array(
162 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}/resources',
163 'httpMethod' => 'POST',
164 'parameters' => array(
165 'projectName' => array(
166 'location' => 'path',
167 'type' => 'string',
168 'required' => true,
169 ),
170 'region' => array(
171 'location' => 'path',
172 'type' => 'string',
173 'required' => true,
174 ),
175 'resourceViewName' => array(
176 'location' => 'path',
177 'type' => 'string',
178 'required' => true,
179 ),
180 'pageToken' => array(
181 'location' => 'query',
182 'type' => 'string',
183 ),
184 'maxResults' => array(
185 'location' => 'query',
186 'type' => 'integer',
187 ),
188 ),
189 ),'removeresources' => array(
190 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}/removeResources',
191 'httpMethod' => 'POST',
192 'parameters' => array(
193 'projectName' => array(
194 'location' => 'path',
195 'type' => 'string',
196 'required' => true,
197 ),
198 'region' => array(
199 'location' => 'path',
200 'type' => 'string',
201 'required' => true,
202 ),
203 'resourceViewName' => array(
204 'location' => 'path',
205 'type' => 'string',
206 'required' => true,
207 ),
208 ),
209 ),
210 )
211 )
212 );
213 $this->zoneViews = new Google_Service_Resourceviews_ZoneViews_Resource(
214 $this,
215 $this->serviceName,
216 'zoneViews',
217 array(
218 'methods' => array(
219 'addresources' => array(
220 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/addResources',
221 'httpMethod' => 'POST',
222 'parameters' => array(
223 'projectName' => array(
224 'location' => 'path',
225 'type' => 'string',
226 'required' => true,
227 ),
228 'zone' => array(
229 'location' => 'path',
230 'type' => 'string',
231 'required' => true,
232 ),
233 'resourceViewName' => array(
234 'location' => 'path',
235 'type' => 'string',
236 'required' => true,
237 ),
238 ),
239 ),'delete' => array(
240 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}',
241 'httpMethod' => 'DELETE',
242 'parameters' => array(
243 'projectName' => array(
244 'location' => 'path',
245 'type' => 'string',
246 'required' => true,
247 ),
248 'zone' => array(
249 'location' => 'path',
250 'type' => 'string',
251 'required' => true,
252 ),
253 'resourceViewName' => array(
254 'location' => 'path',
255 'type' => 'string',
256 'required' => true,
257 ),
258 ),
259 ),'get' => array(
260 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}',
261 'httpMethod' => 'GET',
262 'parameters' => array(
263 'projectName' => array(
264 'location' => 'path',
265 'type' => 'string',
266 'required' => true,
267 ),
268 'zone' => array(
269 'location' => 'path',
270 'type' => 'string',
271 'required' => true,
272 ),
273 'resourceViewName' => array(
274 'location' => 'path',
275 'type' => 'string',
276 'required' => true,
277 ),
278 ),
279 ),'insert' => array(
280 'path' => '{projectName}/zones/{zone}/resourceViews',
281 'httpMethod' => 'POST',
282 'parameters' => array(
283 'projectName' => array(
284 'location' => 'path',
285 'type' => 'string',
286 'required' => true,
287 ),
288 'zone' => array(
289 'location' => 'path',
290 'type' => 'string',
291 'required' => true,
292 ),
293 ),
294 ),'list' => array(
295 'path' => '{projectName}/zones/{zone}/resourceViews',
296 'httpMethod' => 'GET',
297 'parameters' => array(
298 'projectName' => array(
299 'location' => 'path',
300 'type' => 'string',
301 'required' => true,
302 ),
303 'zone' => array(
304 'location' => 'path',
305 'type' => 'string',
306 'required' => true,
307 ),
308 'pageToken' => array(
309 'location' => 'query',
310 'type' => 'string',
311 ),
312 'maxResults' => array(
313 'location' => 'query',
314 'type' => 'integer',
315 ),
316 ),
317 ),'listresources' => array(
318 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/resources',
319 'httpMethod' => 'POST',
320 'parameters' => array(
321 'projectName' => array(
322 'location' => 'path',
323 'type' => 'string',
324 'required' => true,
325 ),
326 'zone' => array(
327 'location' => 'path',
328 'type' => 'string',
329 'required' => true,
330 ),
331 'resourceViewName' => array(
332 'location' => 'path',
333 'type' => 'string',
334 'required' => true,
335 ),
336 'pageToken' => array(
337 'location' => 'query',
338 'type' => 'string',
339 ),
340 'maxResults' => array(
341 'location' => 'query',
342 'type' => 'integer',
343 ),
344 ),
345 ),'removeresources' => array(
346 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/removeResources',
347 'httpMethod' => 'POST',
348 'parameters' => array(
349 'projectName' => array(
350 'location' => 'path',
351 'type' => 'string',
352 'required' => true,
353 ),
354 'zone' => array(
355 'location' => 'path',
356 'type' => 'string',
357 'required' => true,
358 ),
359 'resourceViewName' => array(
360 'location' => 'path',
361 'type' => 'string',
362 'required' => true,
363 ),
364 ),
365 ),
366 )
367 )
368 );
369 }
370 }
371
372
373 /**
374 * The "regionViews" collection of methods.
375 * Typical usage is:
376 * <code>
377 * $resourceviewsService = new Google_Service_Resourceviews(...);
378 * $regionViews = $resourceviewsService->regionViews;
379 * </code>
380 */
381 class Google_Service_Resourceviews_RegionViews_Resource extends Google_Service_Resource
382 {
383
384 /**
385 * Add resources to the view. (regionViews.addresources)
386 *
387 * @param string $projectName
388 * The project name of the resource view.
389 * @param string $region
390 * The region name of the resource view.
391 * @param string $resourceViewName
392 * The name of the resource view.
393 * @param Google_RegionViewsAddResourcesRequest $postBody
394 * @param array $optParams Optional parameters.
395 */
396 public function addresources($projectName, $region, $resourceViewName, Google_Service_Resourceviews_RegionViewsAddResourcesRequest $postBody, $optParams = array())
397 {
398 $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody);
399 $params = array_merge($params, $optParams);
400 return $this->call('addresources', array($params));
401 }
402 /**
403 * Delete a resource view. (regionViews.delete)
404 *
405 * @param string $projectName
406 * The project name of the resource view.
407 * @param string $region
408 * The region name of the resource view.
409 * @param string $resourceViewName
410 * The name of the resource view.
411 * @param array $optParams Optional parameters.
412 */
413 public function delete($projectName, $region, $resourceViewName, $optParams = array())
414 {
415 $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName);
416 $params = array_merge($params, $optParams);
417 return $this->call('delete', array($params));
418 }
419 /**
420 * Get the information of a resource view. (regionViews.get)
421 *
422 * @param string $projectName
423 * The project name of the resource view.
424 * @param string $region
425 * The region name of the resource view.
426 * @param string $resourceViewName
427 * The name of the resource view.
428 * @param array $optParams Optional parameters.
429 * @return Google_Service_Resourceviews_ResourceView
430 */
431 public function get($projectName, $region, $resourceViewName, $optParams = array())
432 {
433 $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName);
434 $params = array_merge($params, $optParams);
435 return $this->call('get', array($params), "Google_Service_Resourceviews_ResourceView");
436 }
437 /**
438 * Create a resource view. (regionViews.insert)
439 *
440 * @param string $projectName
441 * The project name of the resource view.
442 * @param string $region
443 * The region name of the resource view.
444 * @param Google_ResourceView $postBody
445 * @param array $optParams Optional parameters.
446 * @return Google_Service_Resourceviews_RegionViewsInsertResponse
447 */
448 public function insert($projectName, $region, Google_Service_Resourceviews_ResourceView $postBody, $optParams = array())
449 {
450 $params = array('projectName' => $projectName, 'region' => $region, 'postBody' => $postBody);
451 $params = array_merge($params, $optParams);
452 return $this->call('insert', array($params), "Google_Service_Resourceviews_RegionViewsInsertResponse");
453 }
454 /**
455 * List resource views. (regionViews.listRegionViews)
456 *
457 * @param string $projectName
458 * The project name of the resource view.
459 * @param string $region
460 * The region name of the resource view.
461 * @param array $optParams Optional parameters.
462 *
463 * @opt_param string pageToken
464 * Specifies a nextPageToken returned by a previous list request. This token can be used to request
465 * the next page of results from a previous list request.
466 * @opt_param int maxResults
467 * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
468 * 50)
469 * @return Google_Service_Resourceviews_RegionViewsListResponse
470 */
471 public function listRegionViews($projectName, $region, $optParams = array())
472 {
473 $params = array('projectName' => $projectName, 'region' => $region);
474 $params = array_merge($params, $optParams);
475 return $this->call('list', array($params), "Google_Service_Resourceviews_RegionViewsListResponse");
476 }
477 /**
478 * List the resources in the view. (regionViews.listresources)
479 *
480 * @param string $projectName
481 * The project name of the resource view.
482 * @param string $region
483 * The region name of the resource view.
484 * @param string $resourceViewName
485 * The name of the resource view.
486 * @param array $optParams Optional parameters.
487 *
488 * @opt_param string pageToken
489 * Specifies a nextPageToken returned by a previous list request. This token can be used to request
490 * the next page of results from a previous list request.
491 * @opt_param int maxResults
492 * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
493 * 50)
494 * @return Google_Service_Resourceviews_RegionViewsListResourcesResponse
495 */
496 public function listresources($projectName, $region, $resourceViewName, $optParams = array())
497 {
498 $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName);
499 $params = array_merge($params, $optParams);
500 return $this->call('listresources', array($params), "Google_Service_Resourceviews_RegionViewsListResourcesResponse");
501 }
502 /**
503 * Remove resources from the view. (regionViews.removeresources)
504 *
505 * @param string $projectName
506 * The project name of the resource view.
507 * @param string $region
508 * The region name of the resource view.
509 * @param string $resourceViewName
510 * The name of the resource view.
511 * @param Google_RegionViewsRemoveResourcesRequest $postBody
512 * @param array $optParams Optional parameters.
513 */
514 public function removeresources($projectName, $region, $resourceViewName, Google_Service_Resourceviews_RegionViewsRemoveResourcesRequest $postBody, $optParams = array())
515 {
516 $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody);
517 $params = array_merge($params, $optParams);
518 return $this->call('removeresources', array($params));
519 }
520 }
521
522 /**
523 * The "zoneViews" collection of methods.
524 * Typical usage is:
525 * <code>
526 * $resourceviewsService = new Google_Service_Resourceviews(...);
527 * $zoneViews = $resourceviewsService->zoneViews;
528 * </code>
529 */
530 class Google_Service_Resourceviews_ZoneViews_Resource extends Google_Service_Resource
531 {
532
533 /**
534 * Add resources to the view. (zoneViews.addresources)
535 *
536 * @param string $projectName
537 * The project name of the resource view.
538 * @param string $zone
539 * The zone name of the resource view.
540 * @param string $resourceViewName
541 * The name of the resource view.
542 * @param Google_ZoneViewsAddResourcesRequest $postBody
543 * @param array $optParams Optional parameters.
544 */
545 public function addresources($projectName, $zone, $resourceViewName, Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody, $optParams = array())
546 {
547 $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody);
548 $params = array_merge($params, $optParams);
549 return $this->call('addresources', array($params));
550 }
551 /**
552 * Delete a resource view. (zoneViews.delete)
553 *
554 * @param string $projectName
555 * The project name of the resource view.
556 * @param string $zone
557 * The zone name of the resource view.
558 * @param string $resourceViewName
559 * The name of the resource view.
560 * @param array $optParams Optional parameters.
561 */
562 public function delete($projectName, $zone, $resourceViewName, $optParams = array())
563 {
564 $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName);
565 $params = array_merge($params, $optParams);
566 return $this->call('delete', array($params));
567 }
568 /**
569 * Get the information of a zonal resource view. (zoneViews.get)
570 *
571 * @param string $projectName
572 * The project name of the resource view.
573 * @param string $zone
574 * The zone name of the resource view.
575 * @param string $resourceViewName
576 * The name of the resource view.
577 * @param array $optParams Optional parameters.
578 * @return Google_Service_Resourceviews_ResourceView
579 */
580 public function get($projectName, $zone, $resourceViewName, $optParams = array())
581 {
582 $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName);
583 $params = array_merge($params, $optParams);
584 return $this->call('get', array($params), "Google_Service_Resourceviews_ResourceView");
585 }
586 /**
587 * Create a resource view. (zoneViews.insert)
588 *
589 * @param string $projectName
590 * The project name of the resource view.
591 * @param string $zone
592 * The zone name of the resource view.
593 * @param Google_ResourceView $postBody
594 * @param array $optParams Optional parameters.
595 * @return Google_Service_Resourceviews_ZoneViewsInsertResponse
596 */
597 public function insert($projectName, $zone, Google_Service_Resourceviews_ResourceView $postBody, $optParams = array())
598 {
599 $params = array('projectName' => $projectName, 'zone' => $zone, 'postBody' => $postBody);
600 $params = array_merge($params, $optParams);
601 return $this->call('insert', array($params), "Google_Service_Resourceviews_ZoneViewsInsertResponse");
602 }
603 /**
604 * List resource views. (zoneViews.listZoneViews)
605 *
606 * @param string $projectName
607 * The project name of the resource view.
608 * @param string $zone
609 * The zone name of the resource view.
610 * @param array $optParams Optional parameters.
611 *
612 * @opt_param string pageToken
613 * Specifies a nextPageToken returned by a previous list request. This token can be used to request
614 * the next page of results from a previous list request.
615 * @opt_param int maxResults
616 * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
617 * 50)
618 * @return Google_Service_Resourceviews_ZoneViewsListResponse
619 */
620 public function listZoneViews($projectName, $zone, $optParams = array())
621 {
622 $params = array('projectName' => $projectName, 'zone' => $zone);
623 $params = array_merge($params, $optParams);
624 return $this->call('list', array($params), "Google_Service_Resourceviews_ZoneViewsListResponse");
625 }
626 /**
627 * List the resources of the resource view. (zoneViews.listresources)
628 *
629 * @param string $projectName
630 * The project name of the resource view.
631 * @param string $zone
632 * The zone name of the resource view.
633 * @param string $resourceViewName
634 * The name of the resource view.
635 * @param array $optParams Optional parameters.
636 *
637 * @opt_param string pageToken
638 * Specifies a nextPageToken returned by a previous list request. This token can be used to request
639 * the next page of results from a previous list request.
640 * @opt_param int maxResults
641 * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
642 * 50)
643 * @return Google_Service_Resourceviews_ZoneViewsListResourcesResponse
644 */
645 public function listresources($projectName, $zone, $resourceViewName, $optParams = array())
646 {
647 $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName);
648 $params = array_merge($params, $optParams);
649 return $this->call('listresources', array($params), "Google_Service_Resourceviews_ZoneViewsListResourcesResponse");
650 }
651 /**
652 * Remove resources from the view. (zoneViews.removeresources)
653 *
654 * @param string $projectName
655 * The project name of the resource view.
656 * @param string $zone
657 * The zone name of the resource view.
658 * @param string $resourceViewName
659 * The name of the resource view.
660 * @param Google_ZoneViewsRemoveResourcesRequest $postBody
661 * @param array $optParams Optional parameters.
662 */
663 public function removeresources($projectName, $zone, $resourceViewName, Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody, $optParams = array())
664 {
665 $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody);
666 $params = array_merge($params, $optParams);
667 return $this->call('removeresources', array($params));
668 }
669 }
670
671
672
673
674 class Google_Service_Resourceviews_Label extends Google_Model
675 {
676 public $key;
677 public $value;
678
679 public function setKey($key)
680 {
681 $this->key = $key;
682 }
683
684 public function getKey()
685 {
686 return $this->key;
687 }
688
689 public function setValue($value)
690 {
691 $this->value = $value;
692 }
693
694 public function getValue()
695 {
696 return $this->value;
697 }
698 }
699
700 class Google_Service_Resourceviews_RegionViewsAddResourcesRequest extends Google_Collection
701 {
702 public $resources;
703
704 public function setResources($resources)
705 {
706 $this->resources = $resources;
707 }
708
709 public function getResources()
710 {
711 return $this->resources;
712 }
713 }
714
715 class Google_Service_Resourceviews_RegionViewsInsertResponse extends Google_Model
716 {
717 protected $resourceType = 'Google_Service_Resourceviews_ResourceView';
718 protected $resourceDataType = '';
719
720 public function setResource(Google_Service_Resourceviews_ResourceView $resource)
721 {
722 $this->resource = $resource;
723 }
724
725 public function getResource()
726 {
727 return $this->resource;
728 }
729 }
730
731 class Google_Service_Resourceviews_RegionViewsListResourcesResponse extends Google_Collection
732 {
733 public $members;
734 public $nextPageToken;
735
736 public function setMembers($members)
737 {
738 $this->members = $members;
739 }
740
741 public function getMembers()
742 {
743 return $this->members;
744 }
745
746 public function setNextPageToken($nextPageToken)
747 {
748 $this->nextPageToken = $nextPageToken;
749 }
750
751 public function getNextPageToken()
752 {
753 return $this->nextPageToken;
754 }
755 }
756
757 class Google_Service_Resourceviews_RegionViewsListResponse extends Google_Collection
758 {
759 public $nextPageToken;
760 protected $resourceViewsType = 'Google_Service_Resourceviews_ResourceView';
761 protected $resourceViewsDataType = 'array';
762
763 public function setNextPageToken($nextPageToken)
764 {
765 $this->nextPageToken = $nextPageToken;
766 }
767
768 public function getNextPageToken()
769 {
770 return $this->nextPageToken;
771 }
772
773 public function setResourceViews($resourceViews)
774 {
775 $this->resourceViews = $resourceViews;
776 }
777
778 public function getResourceViews()
779 {
780 return $this->resourceViews;
781 }
782 }
783
784 class Google_Service_Resourceviews_RegionViewsRemoveResourcesRequest extends Google_Collection
785 {
786 public $resources;
787
788 public function setResources($resources)
789 {
790 $this->resources = $resources;
791 }
792
793 public function getResources()
794 {
795 return $this->resources;
796 }
797 }
798
799 class Google_Service_Resourceviews_ResourceView extends Google_Collection
800 {
801 public $creationTime;
802 public $description;
803 public $id;
804 protected $labelsType = 'Google_Service_Resourceviews_Label';
805 protected $labelsDataType = 'array';
806 public $lastModified;
807 public $members;
808 public $name;
809 public $numMembers;
810 public $selfLink;
811
812 public function setCreationTime($creationTime)
813 {
814 $this->creationTime = $creationTime;
815 }
816
817 public function getCreationTime()
818 {
819 return $this->creationTime;
820 }
821
822 public function setDescription($description)
823 {
824 $this->description = $description;
825 }
826
827 public function getDescription()
828 {
829 return $this->description;
830 }
831
832 public function setId($id)
833 {
834 $this->id = $id;
835 }
836
837 public function getId()
838 {
839 return $this->id;
840 }
841
842 public function setLabels($labels)
843 {
844 $this->labels = $labels;
845 }
846
847 public function getLabels()
848 {
849 return $this->labels;
850 }
851
852 public function setLastModified($lastModified)
853 {
854 $this->lastModified = $lastModified;
855 }
856
857 public function getLastModified()
858 {
859 return $this->lastModified;
860 }
861
862 public function setMembers($members)
863 {
864 $this->members = $members;
865 }
866
867 public function getMembers()
868 {
869 return $this->members;
870 }
871
872 public function setName($name)
873 {
874 $this->name = $name;
875 }
876
877 public function getName()
878 {
879 return $this->name;
880 }
881
882 public function setNumMembers($numMembers)
883 {
884 $this->numMembers = $numMembers;
885 }
886
887 public function getNumMembers()
888 {
889 return $this->numMembers;
890 }
891
892 public function setSelfLink($selfLink)
893 {
894 $this->selfLink = $selfLink;
895 }
896
897 public function getSelfLink()
898 {
899 return $this->selfLink;
900 }
901 }
902
903 class Google_Service_Resourceviews_ZoneViewsAddResourcesRequest extends Google_Collection
904 {
905 public $resources;
906
907 public function setResources($resources)
908 {
909 $this->resources = $resources;
910 }
911
912 public function getResources()
913 {
914 return $this->resources;
915 }
916 }
917
918 class Google_Service_Resourceviews_ZoneViewsInsertResponse extends Google_Model
919 {
920 protected $resourceType = 'Google_Service_Resourceviews_ResourceView';
921 protected $resourceDataType = '';
922
923 public function setResource(Google_Service_Resourceviews_ResourceView $resource)
924 {
925 $this->resource = $resource;
926 }
927
928 public function getResource()
929 {
930 return $this->resource;
931 }
932 }
933
934 class Google_Service_Resourceviews_ZoneViewsListResourcesResponse extends Google_Collection
935 {
936 public $members;
937 public $nextPageToken;
938
939 public function setMembers($members)
940 {
941 $this->members = $members;
942 }
943
944 public function getMembers()
945 {
946 return $this->members;
947 }
948
949 public function setNextPageToken($nextPageToken)
950 {
951 $this->nextPageToken = $nextPageToken;
952 }
953
954 public function getNextPageToken()
955 {
956 return $this->nextPageToken;
957 }
958 }
959
960 class Google_Service_Resourceviews_ZoneViewsListResponse extends Google_Collection
961 {
962 public $nextPageToken;
963 protected $resourceViewsType = 'Google_Service_Resourceviews_ResourceView';
964 protected $resourceViewsDataType = 'array';
965
966 public function setNextPageToken($nextPageToken)
967 {
968 $this->nextPageToken = $nextPageToken;
969 }
970
971 public function getNextPageToken()
972 {
973 return $this->nextPageToken;
974 }
975
976 public function setResourceViews($resourceViews)
977 {
978 $this->resourceViews = $resourceViews;
979 }
980
981 public function getResourceViews()
982 {
983 return $this->resourceViews;
984 }
985 }
986
987 class Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest extends Google_Collection
988 {
989 public $resources;
990
991 public function setResources($resources)
992 {
993 $this->resources = $resources;
994 }
995
996 public function getResources()
997 {
998 return $this->resources;
999 }
1000 }
1001