PluginProbe
Authorizer / 2.6.10
Authorizer v2.6.10
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 / vendor / google-api-php-client / src / Google / Service / ServiceRegistry.php

ServiceRegistry.php in Authorizer 2.6.10, at vendor/google-api-php-client/src/Google/Service/ServiceRegistry.php

972 lines 28.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 * use this file except in compliance with the License. You may obtain a copy of
5 * the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 * License for the specific language governing permissions and limitations under
13 * the License.
14 */
15
16 /**
17 * Service definition for ServiceRegistry (alpha).
18 *
19 * <p>
20 * The Service Registry API allows users to manage service endpoints in Service
21 * Registry and use DNS-based service discovery / name resolution.</p>
22 *
23 * <p>
24 * For more information about this service, see the API
25 * <a href="https://developers.google.com/cloud-serviceregistry/" target="_blank">Documentation</a>
26 * </p>
27 *
28 * @author Google, Inc.
29 */
30 class Google_Service_ServiceRegistry extends Google_Service
31 {
32 /** View and manage your data across Google Cloud Platform services. */
33 const CLOUD_PLATFORM =
34 "https://www.googleapis.com/auth/cloud-platform";
35 /** View your data across Google Cloud Platform services. */
36 const CLOUD_PLATFORM_READ_ONLY =
37 "https://www.googleapis.com/auth/cloud-platform.read-only";
38 /** View and manage your Google Cloud Platform management resources and deployment status information. */
39 const NDEV_CLOUDMAN =
40 "https://www.googleapis.com/auth/ndev.cloudman";
41 /** View your Google Cloud Platform management resources and deployment status information. */
42 const NDEV_CLOUDMAN_READONLY =
43 "https://www.googleapis.com/auth/ndev.cloudman.readonly";
44
45 public $endpoints;
46 public $operations;
47
48
49 /**
50 * Constructs the internal representation of the ServiceRegistry service.
51 *
52 * @param Google_Client $client
53 */
54 public function __construct(Google_Client $client)
55 {
56 parent::__construct($client);
57 $this->rootUrl = 'https://www.googleapis.com/';
58 $this->servicePath = 'serviceregistry/alpha/projects/';
59 $this->version = 'alpha';
60 $this->serviceName = 'serviceregistry';
61
62 $this->endpoints = new Google_Service_ServiceRegistry_Endpoints_Resource(
63 $this,
64 $this->serviceName,
65 'endpoints',
66 array(
67 'methods' => array(
68 'delete' => array(
69 'path' => '{project}/global/endpoints/{endpoint}',
70 'httpMethod' => 'DELETE',
71 'parameters' => array(
72 'project' => array(
73 'location' => 'path',
74 'type' => 'string',
75 'required' => true,
76 ),
77 'endpoint' => array(
78 'location' => 'path',
79 'type' => 'string',
80 'required' => true,
81 ),
82 ),
83 ),'get' => array(
84 'path' => '{project}/global/endpoints/{endpoint}',
85 'httpMethod' => 'GET',
86 'parameters' => array(
87 'project' => array(
88 'location' => 'path',
89 'type' => 'string',
90 'required' => true,
91 ),
92 'endpoint' => array(
93 'location' => 'path',
94 'type' => 'string',
95 'required' => true,
96 ),
97 ),
98 ),'insert' => array(
99 'path' => '{project}/global/endpoints',
100 'httpMethod' => 'POST',
101 'parameters' => array(
102 'project' => array(
103 'location' => 'path',
104 'type' => 'string',
105 'required' => true,
106 ),
107 ),
108 ),'list' => array(
109 'path' => '{project}/global/endpoints',
110 'httpMethod' => 'GET',
111 'parameters' => array(
112 'project' => array(
113 'location' => 'path',
114 'type' => 'string',
115 'required' => true,
116 ),
117 'filter' => array(
118 'location' => 'query',
119 'type' => 'string',
120 ),
121 'maxResults' => array(
122 'location' => 'query',
123 'type' => 'integer',
124 ),
125 'orderBy' => array(
126 'location' => 'query',
127 'type' => 'string',
128 ),
129 'pageToken' => array(
130 'location' => 'query',
131 'type' => 'string',
132 ),
133 ),
134 ),'patch' => array(
135 'path' => '{project}/global/endpoints/{endpoint}',
136 'httpMethod' => 'PATCH',
137 'parameters' => array(
138 'project' => array(
139 'location' => 'path',
140 'type' => 'string',
141 'required' => true,
142 ),
143 'endpoint' => array(
144 'location' => 'path',
145 'type' => 'string',
146 'required' => true,
147 ),
148 ),
149 ),'update' => array(
150 'path' => '{project}/global/endpoints/{endpoint}',
151 'httpMethod' => 'PUT',
152 'parameters' => array(
153 'project' => array(
154 'location' => 'path',
155 'type' => 'string',
156 'required' => true,
157 ),
158 'endpoint' => array(
159 'location' => 'path',
160 'type' => 'string',
161 'required' => true,
162 ),
163 ),
164 ),
165 )
166 )
167 );
168 $this->operations = new Google_Service_ServiceRegistry_Operations_Resource(
169 $this,
170 $this->serviceName,
171 'operations',
172 array(
173 'methods' => array(
174 'get' => array(
175 'path' => '{project}/global/operations/{operation}',
176 'httpMethod' => 'GET',
177 'parameters' => array(
178 'project' => array(
179 'location' => 'path',
180 'type' => 'string',
181 'required' => true,
182 ),
183 'operation' => array(
184 'location' => 'path',
185 'type' => 'string',
186 'required' => true,
187 ),
188 ),
189 ),'list' => array(
190 'path' => '{project}/global/operations',
191 'httpMethod' => 'GET',
192 'parameters' => array(
193 'project' => array(
194 'location' => 'path',
195 'type' => 'string',
196 'required' => true,
197 ),
198 'filter' => array(
199 'location' => 'query',
200 'type' => 'string',
201 ),
202 'maxResults' => array(
203 'location' => 'query',
204 'type' => 'integer',
205 ),
206 'orderBy' => array(
207 'location' => 'query',
208 'type' => 'string',
209 ),
210 'pageToken' => array(
211 'location' => 'query',
212 'type' => 'string',
213 ),
214 ),
215 ),
216 )
217 )
218 );
219 }
220 }
221
222
223 /**
224 * The "endpoints" collection of methods.
225 * Typical usage is:
226 * <code>
227 * $serviceregistryService = new Google_Service_ServiceRegistry(...);
228 * $endpoints = $serviceregistryService->endpoints;
229 * </code>
230 */
231 class Google_Service_ServiceRegistry_Endpoints_Resource extends Google_Service_Resource
232 {
233
234 /**
235 * Deletes an endpoint. (endpoints.delete)
236 *
237 * @param string $project The project ID for this request.
238 * @param string $endpoint The name of the endpoint for this request.
239 * @param array $optParams Optional parameters.
240 * @return Google_Service_ServiceRegistry_Operation
241 */
242 public function delete($project, $endpoint, $optParams = array())
243 {
244 $params = array('project' => $project, 'endpoint' => $endpoint);
245 $params = array_merge($params, $optParams);
246 return $this->call('delete', array($params), "Google_Service_ServiceRegistry_Operation");
247 }
248
249 /**
250 * Gets an endpoint. (endpoints.get)
251 *
252 * @param string $project The project ID for this request.
253 * @param string $endpoint The name of the endpoint for this request.
254 * @param array $optParams Optional parameters.
255 * @return Google_Service_ServiceRegistry_Endpoint
256 */
257 public function get($project, $endpoint, $optParams = array())
258 {
259 $params = array('project' => $project, 'endpoint' => $endpoint);
260 $params = array_merge($params, $optParams);
261 return $this->call('get', array($params), "Google_Service_ServiceRegistry_Endpoint");
262 }
263
264 /**
265 * Creates an endpoint. (endpoints.insert)
266 *
267 * @param string $project The project ID for this request.
268 * @param Google_Endpoint $postBody
269 * @param array $optParams Optional parameters.
270 * @return Google_Service_ServiceRegistry_Operation
271 */
272 public function insert($project, Google_Service_ServiceRegistry_Endpoint $postBody, $optParams = array())
273 {
274 $params = array('project' => $project, 'postBody' => $postBody);
275 $params = array_merge($params, $optParams);
276 return $this->call('insert', array($params), "Google_Service_ServiceRegistry_Operation");
277 }
278
279 /**
280 * Lists endpoints for a project. (endpoints.listEndpoints)
281 *
282 * @param string $project The project ID for this request.
283 * @param array $optParams Optional parameters.
284 *
285 * @opt_param string filter Sets a filter expression for filtering listed
286 * resources, in the form filter={expression}. Your {expression} must be in the
287 * format: field_name comparison_string literal_string.
288 *
289 * The field_name is the name of the field you want to compare. Only atomic
290 * field types are supported (string, number, boolean). The comparison_string
291 * must be either eq (equals) or ne (not equals). The literal_string is the
292 * string value to filter to. The literal value must be valid for the type of
293 * field you are filtering by (string, number, boolean). For string fields, the
294 * literal value is interpreted as a regular expression using RE2 syntax. The
295 * literal value must match the entire field.
296 *
297 * For example, filter=name ne example-instance.
298 *
299 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
300 * also filter on nested fields. For example, you could filter on instances that
301 * have set the scheduling.automaticRestart field to true. In particular, use
302 * filtering on nested fields to take advantage of instance labels to organize
303 * and filter results based on label values.
304 *
305 * The Beta API also supports filtering on multiple expressions by providing
306 * each separate expression within parentheses. For example,
307 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
308 * expressions are treated as AND expressions meaning that resources must match
309 * all expressions to pass the filters.
310 * @opt_param string maxResults The maximum number of results per page that
311 * Compute Engine should return. If the number of available results is larger
312 * than maxResults, Compute Engine returns a nextPageToken that can be used to
313 * get the next page of results in subsequent list requests.
314 * @opt_param string orderBy Sorts list results by a certain order. By default,
315 * results are returned in alphanumerical order based on the resource name.
316 *
317 * You can also sort results in descending order based on the creation timestamp
318 * using orderBy="creationTimestamp desc". This sorts results based on the
319 * creationTimestamp field in reverse chronological order (newest result first).
320 * Use this to sort resources like operations so that the newest operation is
321 * returned first.
322 *
323 * Currently, only sorting by name or creationTimestamp desc is supported.
324 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
325 * the nextPageToken returned by a previous list request to get the next page of
326 * results.
327 * @return Google_Service_ServiceRegistry_EndpointsListResponse
328 */
329 public function listEndpoints($project, $optParams = array())
330 {
331 $params = array('project' => $project);
332 $params = array_merge($params, $optParams);
333 return $this->call('list', array($params), "Google_Service_ServiceRegistry_EndpointsListResponse");
334 }
335
336 /**
337 * Updates an endpoint. This method supports patch semantics. (endpoints.patch)
338 *
339 * @param string $project The project ID for this request.
340 * @param string $endpoint The name of the endpoint for this request.
341 * @param Google_Endpoint $postBody
342 * @param array $optParams Optional parameters.
343 * @return Google_Service_ServiceRegistry_Operation
344 */
345 public function patch($project, $endpoint, Google_Service_ServiceRegistry_Endpoint $postBody, $optParams = array())
346 {
347 $params = array('project' => $project, 'endpoint' => $endpoint, 'postBody' => $postBody);
348 $params = array_merge($params, $optParams);
349 return $this->call('patch', array($params), "Google_Service_ServiceRegistry_Operation");
350 }
351
352 /**
353 * Updates an endpoint. (endpoints.update)
354 *
355 * @param string $project The project ID for this request.
356 * @param string $endpoint The name of the endpoint for this request.
357 * @param Google_Endpoint $postBody
358 * @param array $optParams Optional parameters.
359 * @return Google_Service_ServiceRegistry_Operation
360 */
361 public function update($project, $endpoint, Google_Service_ServiceRegistry_Endpoint $postBody, $optParams = array())
362 {
363 $params = array('project' => $project, 'endpoint' => $endpoint, 'postBody' => $postBody);
364 $params = array_merge($params, $optParams);
365 return $this->call('update', array($params), "Google_Service_ServiceRegistry_Operation");
366 }
367 }
368
369 /**
370 * The "operations" collection of methods.
371 * Typical usage is:
372 * <code>
373 * $serviceregistryService = new Google_Service_ServiceRegistry(...);
374 * $operations = $serviceregistryService->operations;
375 * </code>
376 */
377 class Google_Service_ServiceRegistry_Operations_Resource extends Google_Service_Resource
378 {
379
380 /**
381 * Gets information about a specific operation. (operations.get)
382 *
383 * @param string $project The project ID for this request.
384 * @param string $operation The name of the operation for this request.
385 * @param array $optParams Optional parameters.
386 * @return Google_Service_ServiceRegistry_Operation
387 */
388 public function get($project, $operation, $optParams = array())
389 {
390 $params = array('project' => $project, 'operation' => $operation);
391 $params = array_merge($params, $optParams);
392 return $this->call('get', array($params), "Google_Service_ServiceRegistry_Operation");
393 }
394
395 /**
396 * Lists all operations for a project. (operations.listOperations)
397 *
398 * @param string $project The project ID for this request.
399 * @param array $optParams Optional parameters.
400 *
401 * @opt_param string filter Sets a filter expression for filtering listed
402 * resources, in the form filter={expression}. Your {expression} must be in the
403 * format: field_name comparison_string literal_string.
404 *
405 * The field_name is the name of the field you want to compare. Only atomic
406 * field types are supported (string, number, boolean). The comparison_string
407 * must be either eq (equals) or ne (not equals). The literal_string is the
408 * string value to filter to. The literal value must be valid for the type of
409 * field you are filtering by (string, number, boolean). For string fields, the
410 * literal value is interpreted as a regular expression using RE2 syntax. The
411 * literal value must match the entire field.
412 *
413 * For example, filter=name ne example-instance.
414 *
415 * Compute Engine Beta API Only: If you use filtering in the Beta API, you can
416 * also filter on nested fields. For example, you could filter on instances that
417 * have set the scheduling.automaticRestart field to true. In particular, use
418 * filtering on nested fields to take advantage of instance labels to organize
419 * and filter results based on label values.
420 *
421 * The Beta API also supports filtering on multiple expressions by providing
422 * each separate expression within parentheses. For example,
423 * (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple
424 * expressions are treated as AND expressions meaning that resources must match
425 * all expressions to pass the filters.
426 * @opt_param string maxResults The maximum number of results per page that
427 * Compute Engine should return. If the number of available results is larger
428 * than maxResults, Compute Engine returns a nextPageToken that can be used to
429 * get the next page of results in subsequent list requests.
430 * @opt_param string orderBy Sorts list results by a certain order. By default,
431 * results are returned in alphanumerical order based on the resource name.
432 *
433 * You can also sort results in descending order based on the creation timestamp
434 * using orderBy="creationTimestamp desc". This sorts results based on the
435 * creationTimestamp field in reverse chronological order (newest result first).
436 * Use this to sort resources like operations so that the newest operation is
437 * returned first.
438 *
439 * Currently, only sorting by name or creationTimestamp desc is supported.
440 * @opt_param string pageToken Specifies a page token to use. Set pageToken to
441 * the nextPageToken returned by a previous list request to get the next page of
442 * results.
443 * @return Google_Service_ServiceRegistry_OperationsListResponse
444 */
445 public function listOperations($project, $optParams = array())
446 {
447 $params = array('project' => $project);
448 $params = array_merge($params, $optParams);
449 return $this->call('list', array($params), "Google_Service_ServiceRegistry_OperationsListResponse");
450 }
451 }
452
453
454
455
456 class Google_Service_ServiceRegistry_Endpoint extends Google_Model
457 {
458 protected $internal_gapi_mappings = array(
459 );
460 public $address;
461 public $creationTimestamp;
462 public $description;
463 public $fingerprint;
464 public $id;
465 public $name;
466 public $port;
467 public $selfLink;
468 public $state;
469 protected $visibilityType = 'Google_Service_ServiceRegistry_EndpointEndpointVisibility';
470 protected $visibilityDataType = '';
471
472
473 public function setAddress($address)
474 {
475 $this->address = $address;
476 }
477 public function getAddress()
478 {
479 return $this->address;
480 }
481 public function setCreationTimestamp($creationTimestamp)
482 {
483 $this->creationTimestamp = $creationTimestamp;
484 }
485 public function getCreationTimestamp()
486 {
487 return $this->creationTimestamp;
488 }
489 public function setDescription($description)
490 {
491 $this->description = $description;
492 }
493 public function getDescription()
494 {
495 return $this->description;
496 }
497 public function setFingerprint($fingerprint)
498 {
499 $this->fingerprint = $fingerprint;
500 }
501 public function getFingerprint()
502 {
503 return $this->fingerprint;
504 }
505 public function setId($id)
506 {
507 $this->id = $id;
508 }
509 public function getId()
510 {
511 return $this->id;
512 }
513 public function setName($name)
514 {
515 $this->name = $name;
516 }
517 public function getName()
518 {
519 return $this->name;
520 }
521 public function setPort($port)
522 {
523 $this->port = $port;
524 }
525 public function getPort()
526 {
527 return $this->port;
528 }
529 public function setSelfLink($selfLink)
530 {
531 $this->selfLink = $selfLink;
532 }
533 public function getSelfLink()
534 {
535 return $this->selfLink;
536 }
537 public function setState($state)
538 {
539 $this->state = $state;
540 }
541 public function getState()
542 {
543 return $this->state;
544 }
545 public function setVisibility(Google_Service_ServiceRegistry_EndpointEndpointVisibility $visibility)
546 {
547 $this->visibility = $visibility;
548 }
549 public function getVisibility()
550 {
551 return $this->visibility;
552 }
553 }
554
555 class Google_Service_ServiceRegistry_EndpointEndpointVisibility extends Google_Collection
556 {
557 protected $collection_key = 'projects';
558 protected $internal_gapi_mappings = array(
559 );
560 public $networks;
561 public $projects;
562
563
564 public function setNetworks($networks)
565 {
566 $this->networks = $networks;
567 }
568 public function getNetworks()
569 {
570 return $this->networks;
571 }
572 public function setProjects($projects)
573 {
574 $this->projects = $projects;
575 }
576 public function getProjects()
577 {
578 return $this->projects;
579 }
580 }
581
582 class Google_Service_ServiceRegistry_EndpointsListResponse extends Google_Collection
583 {
584 protected $collection_key = 'endpoints';
585 protected $internal_gapi_mappings = array(
586 );
587 protected $endpointsType = 'Google_Service_ServiceRegistry_Endpoint';
588 protected $endpointsDataType = 'array';
589 public $nextPageToken;
590
591
592 public function setEndpoints($endpoints)
593 {
594 $this->endpoints = $endpoints;
595 }
596 public function getEndpoints()
597 {
598 return $this->endpoints;
599 }
600 public function setNextPageToken($nextPageToken)
601 {
602 $this->nextPageToken = $nextPageToken;
603 }
604 public function getNextPageToken()
605 {
606 return $this->nextPageToken;
607 }
608 }
609
610 class Google_Service_ServiceRegistry_Operation extends Google_Collection
611 {
612 protected $collection_key = 'warnings';
613 protected $internal_gapi_mappings = array(
614 );
615 public $clientOperationId;
616 public $creationTimestamp;
617 public $description;
618 public $endTime;
619 protected $errorType = 'Google_Service_ServiceRegistry_OperationError';
620 protected $errorDataType = '';
621 public $httpErrorMessage;
622 public $httpErrorStatusCode;
623 public $id;
624 public $insertTime;
625 public $kind;
626 public $name;
627 public $operationType;
628 public $progress;
629 public $region;
630 public $selfLink;
631 public $startTime;
632 public $status;
633 public $statusMessage;
634 public $targetId;
635 public $targetLink;
636 public $user;
637 protected $warningsType = 'Google_Service_ServiceRegistry_OperationWarnings';
638 protected $warningsDataType = 'array';
639 public $zone;
640
641
642 public function setClientOperationId($clientOperationId)
643 {
644 $this->clientOperationId = $clientOperationId;
645 }
646 public function getClientOperationId()
647 {
648 return $this->clientOperationId;
649 }
650 public function setCreationTimestamp($creationTimestamp)
651 {
652 $this->creationTimestamp = $creationTimestamp;
653 }
654 public function getCreationTimestamp()
655 {
656 return $this->creationTimestamp;
657 }
658 public function setDescription($description)
659 {
660 $this->description = $description;
661 }
662 public function getDescription()
663 {
664 return $this->description;
665 }
666 public function setEndTime($endTime)
667 {
668 $this->endTime = $endTime;
669 }
670 public function getEndTime()
671 {
672 return $this->endTime;
673 }
674 public function setError(Google_Service_ServiceRegistry_OperationError $error)
675 {
676 $this->error = $error;
677 }
678 public function getError()
679 {
680 return $this->error;
681 }
682 public function setHttpErrorMessage($httpErrorMessage)
683 {
684 $this->httpErrorMessage = $httpErrorMessage;
685 }
686 public function getHttpErrorMessage()
687 {
688 return $this->httpErrorMessage;
689 }
690 public function setHttpErrorStatusCode($httpErrorStatusCode)
691 {
692 $this->httpErrorStatusCode = $httpErrorStatusCode;
693 }
694 public function getHttpErrorStatusCode()
695 {
696 return $this->httpErrorStatusCode;
697 }
698 public function setId($id)
699 {
700 $this->id = $id;
701 }
702 public function getId()
703 {
704 return $this->id;
705 }
706 public function setInsertTime($insertTime)
707 {
708 $this->insertTime = $insertTime;
709 }
710 public function getInsertTime()
711 {
712 return $this->insertTime;
713 }
714 public function setKind($kind)
715 {
716 $this->kind = $kind;
717 }
718 public function getKind()
719 {
720 return $this->kind;
721 }
722 public function setName($name)
723 {
724 $this->name = $name;
725 }
726 public function getName()
727 {
728 return $this->name;
729 }
730 public function setOperationType($operationType)
731 {
732 $this->operationType = $operationType;
733 }
734 public function getOperationType()
735 {
736 return $this->operationType;
737 }
738 public function setProgress($progress)
739 {
740 $this->progress = $progress;
741 }
742 public function getProgress()
743 {
744 return $this->progress;
745 }
746 public function setRegion($region)
747 {
748 $this->region = $region;
749 }
750 public function getRegion()
751 {
752 return $this->region;
753 }
754 public function setSelfLink($selfLink)
755 {
756 $this->selfLink = $selfLink;
757 }
758 public function getSelfLink()
759 {
760 return $this->selfLink;
761 }
762 public function setStartTime($startTime)
763 {
764 $this->startTime = $startTime;
765 }
766 public function getStartTime()
767 {
768 return $this->startTime;
769 }
770 public function setStatus($status)
771 {
772 $this->status = $status;
773 }
774 public function getStatus()
775 {
776 return $this->status;
777 }
778 public function setStatusMessage($statusMessage)
779 {
780 $this->statusMessage = $statusMessage;
781 }
782 public function getStatusMessage()
783 {
784 return $this->statusMessage;
785 }
786 public function setTargetId($targetId)
787 {
788 $this->targetId = $targetId;
789 }
790 public function getTargetId()
791 {
792 return $this->targetId;
793 }
794 public function setTargetLink($targetLink)
795 {
796 $this->targetLink = $targetLink;
797 }
798 public function getTargetLink()
799 {
800 return $this->targetLink;
801 }
802 public function setUser($user)
803 {
804 $this->user = $user;
805 }
806 public function getUser()
807 {
808 return $this->user;
809 }
810 public function setWarnings($warnings)
811 {
812 $this->warnings = $warnings;
813 }
814 public function getWarnings()
815 {
816 return $this->warnings;
817 }
818 public function setZone($zone)
819 {
820 $this->zone = $zone;
821 }
822 public function getZone()
823 {
824 return $this->zone;
825 }
826 }
827
828 class Google_Service_ServiceRegistry_OperationError extends Google_Collection
829 {
830 protected $collection_key = 'errors';
831 protected $internal_gapi_mappings = array(
832 );
833 protected $errorsType = 'Google_Service_ServiceRegistry_OperationErrorErrors';
834 protected $errorsDataType = 'array';
835
836
837 public function setErrors($errors)
838 {
839 $this->errors = $errors;
840 }
841 public function getErrors()
842 {
843 return $this->errors;
844 }
845 }
846
847 class Google_Service_ServiceRegistry_OperationErrorErrors extends Google_Model
848 {
849 protected $internal_gapi_mappings = array(
850 );
851 public $code;
852 public $location;
853 public $message;
854
855
856 public function setCode($code)
857 {
858 $this->code = $code;
859 }
860 public function getCode()
861 {
862 return $this->code;
863 }
864 public function setLocation($location)
865 {
866 $this->location = $location;
867 }
868 public function getLocation()
869 {
870 return $this->location;
871 }
872 public function setMessage($message)
873 {
874 $this->message = $message;
875 }
876 public function getMessage()
877 {
878 return $this->message;
879 }
880 }
881
882 class Google_Service_ServiceRegistry_OperationWarnings extends Google_Collection
883 {
884 protected $collection_key = 'data';
885 protected $internal_gapi_mappings = array(
886 );
887 public $code;
888 protected $dataType = 'Google_Service_ServiceRegistry_OperationWarningsData';
889 protected $dataDataType = 'array';
890 public $message;
891
892
893 public function setCode($code)
894 {
895 $this->code = $code;
896 }
897 public function getCode()
898 {
899 return $this->code;
900 }
901 public function setData($data)
902 {
903 $this->data = $data;
904 }
905 public function getData()
906 {
907 return $this->data;
908 }
909 public function setMessage($message)
910 {
911 $this->message = $message;
912 }
913 public function getMessage()
914 {
915 return $this->message;
916 }
917 }
918
919 class Google_Service_ServiceRegistry_OperationWarningsData extends Google_Model
920 {
921 protected $internal_gapi_mappings = array(
922 );
923 public $key;
924 public $value;
925
926
927 public function setKey($key)
928 {
929 $this->key = $key;
930 }
931 public function getKey()
932 {
933 return $this->key;
934 }
935 public function setValue($value)
936 {
937 $this->value = $value;
938 }
939 public function getValue()
940 {
941 return $this->value;
942 }
943 }
944
945 class Google_Service_ServiceRegistry_OperationsListResponse extends Google_Collection
946 {
947 protected $collection_key = 'operations';
948 protected $internal_gapi_mappings = array(
949 );
950 public $nextPageToken;
951 protected $operationsType = 'Google_Service_ServiceRegistry_Operation';
952 protected $operationsDataType = 'array';
953
954
955 public function setNextPageToken($nextPageToken)
956 {
957 $this->nextPageToken = $nextPageToken;
958 }
959 public function getNextPageToken()
960 {
961 return $this->nextPageToken;
962 }
963 public function setOperations($operations)
964 {
965 $this->operations = $operations;
966 }
967 public function getOperations()
968 {
969 return $this->operations;
970 }
971 }
972