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 / CloudUserAccounts.php

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

2,284 lines 64.3 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 CloudUserAccounts (vm_alpha).
18 *
19 * <p>
20 * API for the Google Cloud User Accounts service.</p>
21 *
22 * <p>
23 * For more information about this service, see the API
24 * <a href="https://cloud.google.com/compute/docs/access/user-accounts/api/latest/" target="_blank">Documentation</a>
25 * </p>
26 *
27 * @author Google, Inc.
28 */
29 class Google_Service_CloudUserAccounts extends Google_Service
30 {
31 /** View and manage your data across Google Cloud Platform services. */
32 const CLOUD_PLATFORM =
33 "https://www.googleapis.com/auth/cloud-platform";
34 /** View your data across Google Cloud Platform services. */
35 const CLOUD_PLATFORM_READ_ONLY =
36 "https://www.googleapis.com/auth/cloud-platform.read-only";
37 /** Manage your Google Cloud User Accounts. */
38 const CLOUD_USERACCOUNTS =
39 "https://www.googleapis.com/auth/cloud.useraccounts";
40 /** View your Google Cloud User Accounts. */
41 const CLOUD_USERACCOUNTS_READONLY =
42 "https://www.googleapis.com/auth/cloud.useraccounts.readonly";
43
44 public $globalAccountsOperations;
45 public $groups;
46 public $linux;
47 public $users;
48
49
50 /**
51 * Constructs the internal representation of the CloudUserAccounts service.
52 *
53 * @param Google_Client $client
54 */
55 public function __construct(Google_Client $client)
56 {
57 parent::__construct($client);
58 $this->rootUrl = 'https://www.googleapis.com/';
59 $this->servicePath = 'clouduseraccounts/vm_alpha/projects/';
60 $this->version = 'vm_alpha';
61 $this->serviceName = 'clouduseraccounts';
62
63 $this->globalAccountsOperations = new Google_Service_CloudUserAccounts_GlobalAccountsOperations_Resource(
64 $this,
65 $this->serviceName,
66 'globalAccountsOperations',
67 array(
68 'methods' => array(
69 'delete' => array(
70 'path' => '{project}/global/operations/{operation}',
71 'httpMethod' => 'DELETE',
72 'parameters' => array(
73 'project' => array(
74 'location' => 'path',
75 'type' => 'string',
76 'required' => true,
77 ),
78 'operation' => array(
79 'location' => 'path',
80 'type' => 'string',
81 'required' => true,
82 ),
83 ),
84 ),'get' => array(
85 'path' => '{project}/global/operations/{operation}',
86 'httpMethod' => 'GET',
87 'parameters' => array(
88 'project' => array(
89 'location' => 'path',
90 'type' => 'string',
91 'required' => true,
92 ),
93 'operation' => array(
94 'location' => 'path',
95 'type' => 'string',
96 'required' => true,
97 ),
98 ),
99 ),'list' => array(
100 'path' => '{project}/global/operations',
101 'httpMethod' => 'GET',
102 'parameters' => array(
103 'project' => array(
104 'location' => 'path',
105 'type' => 'string',
106 'required' => true,
107 ),
108 'filter' => array(
109 'location' => 'query',
110 'type' => 'string',
111 ),
112 'maxResults' => array(
113 'location' => 'query',
114 'type' => 'integer',
115 ),
116 'orderBy' => array(
117 'location' => 'query',
118 'type' => 'string',
119 ),
120 'pageToken' => array(
121 'location' => 'query',
122 'type' => 'string',
123 ),
124 ),
125 ),
126 )
127 )
128 );
129 $this->groups = new Google_Service_CloudUserAccounts_Groups_Resource(
130 $this,
131 $this->serviceName,
132 'groups',
133 array(
134 'methods' => array(
135 'addMember' => array(
136 'path' => '{project}/global/groups/{groupName}/addMember',
137 'httpMethod' => 'POST',
138 'parameters' => array(
139 'project' => array(
140 'location' => 'path',
141 'type' => 'string',
142 'required' => true,
143 ),
144 'groupName' => array(
145 'location' => 'path',
146 'type' => 'string',
147 'required' => true,
148 ),
149 ),
150 ),'delete' => array(
151 'path' => '{project}/global/groups/{groupName}',
152 'httpMethod' => 'DELETE',
153 'parameters' => array(
154 'project' => array(
155 'location' => 'path',
156 'type' => 'string',
157 'required' => true,
158 ),
159 'groupName' => array(
160 'location' => 'path',
161 'type' => 'string',
162 'required' => true,
163 ),
164 ),
165 ),'get' => array(
166 'path' => '{project}/global/groups/{groupName}',
167 'httpMethod' => 'GET',
168 'parameters' => array(
169 'project' => array(
170 'location' => 'path',
171 'type' => 'string',
172 'required' => true,
173 ),
174 'groupName' => array(
175 'location' => 'path',
176 'type' => 'string',
177 'required' => true,
178 ),
179 ),
180 ),'getIamPolicy' => array(
181 'path' => '{project}/global/groups/{resource}/getIamPolicy',
182 'httpMethod' => 'GET',
183 'parameters' => array(
184 'project' => array(
185 'location' => 'path',
186 'type' => 'string',
187 'required' => true,
188 ),
189 'resource' => array(
190 'location' => 'path',
191 'type' => 'string',
192 'required' => true,
193 ),
194 ),
195 ),'insert' => array(
196 'path' => '{project}/global/groups',
197 'httpMethod' => 'POST',
198 'parameters' => array(
199 'project' => array(
200 'location' => 'path',
201 'type' => 'string',
202 'required' => true,
203 ),
204 ),
205 ),'list' => array(
206 'path' => '{project}/global/groups',
207 'httpMethod' => 'GET',
208 'parameters' => array(
209 'project' => array(
210 'location' => 'path',
211 'type' => 'string',
212 'required' => true,
213 ),
214 'filter' => array(
215 'location' => 'query',
216 'type' => 'string',
217 ),
218 'maxResults' => array(
219 'location' => 'query',
220 'type' => 'integer',
221 ),
222 'orderBy' => array(
223 'location' => 'query',
224 'type' => 'string',
225 ),
226 'pageToken' => array(
227 'location' => 'query',
228 'type' => 'string',
229 ),
230 ),
231 ),'removeMember' => array(
232 'path' => '{project}/global/groups/{groupName}/removeMember',
233 'httpMethod' => 'POST',
234 'parameters' => array(
235 'project' => array(
236 'location' => 'path',
237 'type' => 'string',
238 'required' => true,
239 ),
240 'groupName' => array(
241 'location' => 'path',
242 'type' => 'string',
243 'required' => true,
244 ),
245 ),
246 ),'setIamPolicy' => array(
247 'path' => '{project}/global/groups/{resource}/setIamPolicy',
248 'httpMethod' => 'POST',
249 'parameters' => array(
250 'project' => array(
251 'location' => 'path',
252 'type' => 'string',
253 'required' => true,
254 ),
255 'resource' => array(
256 'location' => 'path',
257 'type' => 'string',
258 'required' => true,
259 ),
260 ),
261 ),'testIamPermissions' => array(
262 'path' => '{project}/global/groups/{resource}/testIamPermissions',
263 'httpMethod' => 'POST',
264 'parameters' => array(
265 'project' => array(
266 'location' => 'path',
267 'type' => 'string',
268 'required' => true,
269 ),
270 'resource' => array(
271 'location' => 'path',
272 'type' => 'string',
273 'required' => true,
274 ),
275 ),
276 ),
277 )
278 )
279 );
280 $this->linux = new Google_Service_CloudUserAccounts_Linux_Resource(
281 $this,
282 $this->serviceName,
283 'linux',
284 array(
285 'methods' => array(
286 'getAuthorizedKeysView' => array(
287 'path' => '{project}/zones/{zone}/authorizedKeysView/{user}',
288 'httpMethod' => 'POST',
289 'parameters' => array(
290 'project' => array(
291 'location' => 'path',
292 'type' => 'string',
293 'required' => true,
294 ),
295 'zone' => array(
296 'location' => 'path',
297 'type' => 'string',
298 'required' => true,
299 ),
300 'user' => array(
301 'location' => 'path',
302 'type' => 'string',
303 'required' => true,
304 ),
305 'instance' => array(
306 'location' => 'query',
307 'type' => 'string',
308 'required' => true,
309 ),
310 'login' => array(
311 'location' => 'query',
312 'type' => 'boolean',
313 ),
314 ),
315 ),'getLinuxAccountViews' => array(
316 'path' => '{project}/zones/{zone}/linuxAccountViews',
317 'httpMethod' => 'POST',
318 'parameters' => array(
319 'project' => array(
320 'location' => 'path',
321 'type' => 'string',
322 'required' => true,
323 ),
324 'zone' => array(
325 'location' => 'path',
326 'type' => 'string',
327 'required' => true,
328 ),
329 'instance' => array(
330 'location' => 'query',
331 'type' => 'string',
332 'required' => true,
333 ),
334 'filter' => array(
335 'location' => 'query',
336 'type' => 'string',
337 ),
338 'maxResults' => array(
339 'location' => 'query',
340 'type' => 'integer',
341 ),
342 'orderBy' => array(
343 'location' => 'query',
344 'type' => 'string',
345 ),
346 'pageToken' => array(
347 'location' => 'query',
348 'type' => 'string',
349 ),
350 ),
351 ),
352 )
353 )
354 );
355 $this->users = new Google_Service_CloudUserAccounts_Users_Resource(
356 $this,
357 $this->serviceName,
358 'users',
359 array(
360 'methods' => array(
361 'addPublicKey' => array(
362 'path' => '{project}/global/users/{user}/addPublicKey',
363 'httpMethod' => 'POST',
364 'parameters' => array(
365 'project' => array(
366 'location' => 'path',
367 'type' => 'string',
368 'required' => true,
369 ),
370 'user' => array(
371 'location' => 'path',
372 'type' => 'string',
373 'required' => true,
374 ),
375 ),
376 ),'delete' => array(
377 'path' => '{project}/global/users/{user}',
378 'httpMethod' => 'DELETE',
379 'parameters' => array(
380 'project' => array(
381 'location' => 'path',
382 'type' => 'string',
383 'required' => true,
384 ),
385 'user' => array(
386 'location' => 'path',
387 'type' => 'string',
388 'required' => true,
389 ),
390 ),
391 ),'get' => array(
392 'path' => '{project}/global/users/{user}',
393 'httpMethod' => 'GET',
394 'parameters' => array(
395 'project' => array(
396 'location' => 'path',
397 'type' => 'string',
398 'required' => true,
399 ),
400 'user' => array(
401 'location' => 'path',
402 'type' => 'string',
403 'required' => true,
404 ),
405 ),
406 ),'getIamPolicy' => array(
407 'path' => '{project}/global/users/{resource}/getIamPolicy',
408 'httpMethod' => 'GET',
409 'parameters' => array(
410 'project' => array(
411 'location' => 'path',
412 'type' => 'string',
413 'required' => true,
414 ),
415 'resource' => array(
416 'location' => 'path',
417 'type' => 'string',
418 'required' => true,
419 ),
420 ),
421 ),'insert' => array(
422 'path' => '{project}/global/users',
423 'httpMethod' => 'POST',
424 'parameters' => array(
425 'project' => array(
426 'location' => 'path',
427 'type' => 'string',
428 'required' => true,
429 ),
430 ),
431 ),'list' => array(
432 'path' => '{project}/global/users',
433 'httpMethod' => 'GET',
434 'parameters' => array(
435 'project' => array(
436 'location' => 'path',
437 'type' => 'string',
438 'required' => true,
439 ),
440 'filter' => array(
441 'location' => 'query',
442 'type' => 'string',
443 ),
444 'maxResults' => array(
445 'location' => 'query',
446 'type' => 'integer',
447 ),
448 'orderBy' => array(
449 'location' => 'query',
450 'type' => 'string',
451 ),
452 'pageToken' => array(
453 'location' => 'query',
454 'type' => 'string',
455 ),
456 ),
457 ),'removePublicKey' => array(
458 'path' => '{project}/global/users/{user}/removePublicKey',
459 'httpMethod' => 'POST',
460 'parameters' => array(
461 'project' => array(
462 'location' => 'path',
463 'type' => 'string',
464 'required' => true,
465 ),
466 'user' => array(
467 'location' => 'path',
468 'type' => 'string',
469 'required' => true,
470 ),
471 'fingerprint' => array(
472 'location' => 'query',
473 'type' => 'string',
474 'required' => true,
475 ),
476 ),
477 ),'setIamPolicy' => array(
478 'path' => '{project}/global/users/{resource}/setIamPolicy',
479 'httpMethod' => 'POST',
480 'parameters' => array(
481 'project' => array(
482 'location' => 'path',
483 'type' => 'string',
484 'required' => true,
485 ),
486 'resource' => array(
487 'location' => 'path',
488 'type' => 'string',
489 'required' => true,
490 ),
491 ),
492 ),'testIamPermissions' => array(
493 'path' => '{project}/global/users/{resource}/testIamPermissions',
494 'httpMethod' => 'POST',
495 'parameters' => array(
496 'project' => array(
497 'location' => 'path',
498 'type' => 'string',
499 'required' => true,
500 ),
501 'resource' => array(
502 'location' => 'path',
503 'type' => 'string',
504 'required' => true,
505 ),
506 ),
507 ),
508 )
509 )
510 );
511 }
512 }
513
514
515 /**
516 * The "globalAccountsOperations" collection of methods.
517 * Typical usage is:
518 * <code>
519 * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);
520 * $globalAccountsOperations = $clouduseraccountsService->globalAccountsOperations;
521 * </code>
522 */
523 class Google_Service_CloudUserAccounts_GlobalAccountsOperations_Resource extends Google_Service_Resource
524 {
525
526 /**
527 * Deletes the specified operation resource. (globalAccountsOperations.delete)
528 *
529 * @param string $project Project ID for this request.
530 * @param string $operation Name of the Operations resource to delete.
531 * @param array $optParams Optional parameters.
532 */
533 public function delete($project, $operation, $optParams = array())
534 {
535 $params = array('project' => $project, 'operation' => $operation);
536 $params = array_merge($params, $optParams);
537 return $this->call('delete', array($params));
538 }
539
540 /**
541 * Retrieves the specified operation resource. (globalAccountsOperations.get)
542 *
543 * @param string $project Project ID for this request.
544 * @param string $operation Name of the Operations resource to return.
545 * @param array $optParams Optional parameters.
546 * @return Google_Service_CloudUserAccounts_Operation
547 */
548 public function get($project, $operation, $optParams = array())
549 {
550 $params = array('project' => $project, 'operation' => $operation);
551 $params = array_merge($params, $optParams);
552 return $this->call('get', array($params), "Google_Service_CloudUserAccounts_Operation");
553 }
554
555 /**
556 * Retrieves the list of operation resources contained within the specified
557 * project. (globalAccountsOperations.listGlobalAccountsOperations)
558 *
559 * @param string $project Project ID for this request.
560 * @param array $optParams Optional parameters.
561 *
562 * @opt_param string filter Sets a filter expression for filtering listed
563 * resources, in the form filter={expression}. Your {expression} must be in the
564 * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
565 *
566 * The FIELD_NAME is the name of the field you want to compare. Only atomic
567 * field types are supported (string, number, boolean). The COMPARISON_STRING
568 * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the
569 * string value to filter to. The literal value must be valid for the type of
570 * field (string, number, boolean). For string fields, the literal value is
571 * interpreted as a regular expression using RE2 syntax. The literal value must
572 * match the entire field.
573 *
574 * For example, filter=name ne example-instance.
575 * @opt_param string maxResults Maximum count of results to be returned.
576 * @opt_param string orderBy Sorts list results by a certain order. By default,
577 * results are returned in alphanumerical order based on the resource name.
578 *
579 * You can also sort results in descending order based on the creation timestamp
580 * using orderBy="creationTimestamp desc". This sorts results based on the
581 * creationTimestamp field in reverse chronological order (newest result first).
582 * Use this to sort resources like operations so that the newest operation is
583 * returned first.
584 *
585 * Currently, only sorting by name or creationTimestamp desc is supported.
586 * @opt_param string pageToken Specifies a page token to use. Use this parameter
587 * if you want to list the next page of results. Set pageToken to the
588 * nextPageToken returned by a previous list request.
589 * @return Google_Service_CloudUserAccounts_OperationList
590 */
591 public function listGlobalAccountsOperations($project, $optParams = array())
592 {
593 $params = array('project' => $project);
594 $params = array_merge($params, $optParams);
595 return $this->call('list', array($params), "Google_Service_CloudUserAccounts_OperationList");
596 }
597 }
598
599 /**
600 * The "groups" collection of methods.
601 * Typical usage is:
602 * <code>
603 * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);
604 * $groups = $clouduseraccountsService->groups;
605 * </code>
606 */
607 class Google_Service_CloudUserAccounts_Groups_Resource extends Google_Service_Resource
608 {
609
610 /**
611 * Adds users to the specified group. (groups.addMember)
612 *
613 * @param string $project Project ID for this request.
614 * @param string $groupName Name of the group for this request.
615 * @param Google_GroupsAddMemberRequest $postBody
616 * @param array $optParams Optional parameters.
617 * @return Google_Service_CloudUserAccounts_Operation
618 */
619 public function addMember($project, $groupName, Google_Service_CloudUserAccounts_GroupsAddMemberRequest $postBody, $optParams = array())
620 {
621 $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody);
622 $params = array_merge($params, $optParams);
623 return $this->call('addMember', array($params), "Google_Service_CloudUserAccounts_Operation");
624 }
625
626 /**
627 * Deletes the specified Group resource. (groups.delete)
628 *
629 * @param string $project Project ID for this request.
630 * @param string $groupName Name of the Group resource to delete.
631 * @param array $optParams Optional parameters.
632 * @return Google_Service_CloudUserAccounts_Operation
633 */
634 public function delete($project, $groupName, $optParams = array())
635 {
636 $params = array('project' => $project, 'groupName' => $groupName);
637 $params = array_merge($params, $optParams);
638 return $this->call('delete', array($params), "Google_Service_CloudUserAccounts_Operation");
639 }
640
641 /**
642 * Returns the specified Group resource. (groups.get)
643 *
644 * @param string $project Project ID for this request.
645 * @param string $groupName Name of the Group resource to return.
646 * @param array $optParams Optional parameters.
647 * @return Google_Service_CloudUserAccounts_Group
648 */
649 public function get($project, $groupName, $optParams = array())
650 {
651 $params = array('project' => $project, 'groupName' => $groupName);
652 $params = array_merge($params, $optParams);
653 return $this->call('get', array($params), "Google_Service_CloudUserAccounts_Group");
654 }
655
656 /**
657 * Gets the access control policy for a resource. May be empty if no such policy
658 * or resource exists. (groups.getIamPolicy)
659 *
660 * @param string $project Project ID for this request.
661 * @param string $resource Name of the resource for this request.
662 * @param array $optParams Optional parameters.
663 * @return Google_Service_CloudUserAccounts_Policy
664 */
665 public function getIamPolicy($project, $resource, $optParams = array())
666 {
667 $params = array('project' => $project, 'resource' => $resource);
668 $params = array_merge($params, $optParams);
669 return $this->call('getIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy");
670 }
671
672 /**
673 * Creates a Group resource in the specified project using the data included in
674 * the request. (groups.insert)
675 *
676 * @param string $project Project ID for this request.
677 * @param Google_Group $postBody
678 * @param array $optParams Optional parameters.
679 * @return Google_Service_CloudUserAccounts_Operation
680 */
681 public function insert($project, Google_Service_CloudUserAccounts_Group $postBody, $optParams = array())
682 {
683 $params = array('project' => $project, 'postBody' => $postBody);
684 $params = array_merge($params, $optParams);
685 return $this->call('insert', array($params), "Google_Service_CloudUserAccounts_Operation");
686 }
687
688 /**
689 * Retrieves the list of groups contained within the specified project.
690 * (groups.listGroups)
691 *
692 * @param string $project Project ID for this request.
693 * @param array $optParams Optional parameters.
694 *
695 * @opt_param string filter Sets a filter expression for filtering listed
696 * resources, in the form filter={expression}. Your {expression} must be in the
697 * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
698 *
699 * The FIELD_NAME is the name of the field you want to compare. Only atomic
700 * field types are supported (string, number, boolean). The COMPARISON_STRING
701 * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the
702 * string value to filter to. The literal value must be valid for the type of
703 * field (string, number, boolean). For string fields, the literal value is
704 * interpreted as a regular expression using RE2 syntax. The literal value must
705 * match the entire field.
706 *
707 * For example, filter=name ne example-instance.
708 * @opt_param string maxResults Maximum count of results to be returned.
709 * @opt_param string orderBy Sorts list results by a certain order. By default,
710 * results are returned in alphanumerical order based on the resource name.
711 *
712 * You can also sort results in descending order based on the creation timestamp
713 * using orderBy="creationTimestamp desc". This sorts results based on the
714 * creationTimestamp field in reverse chronological order (newest result first).
715 * Use this to sort resources like operations so that the newest operation is
716 * returned first.
717 *
718 * Currently, only sorting by name or creationTimestamp desc is supported.
719 * @opt_param string pageToken Specifies a page token to use. Use this parameter
720 * if you want to list the next page of results. Set pageToken to the
721 * nextPageToken returned by a previous list request.
722 * @return Google_Service_CloudUserAccounts_GroupList
723 */
724 public function listGroups($project, $optParams = array())
725 {
726 $params = array('project' => $project);
727 $params = array_merge($params, $optParams);
728 return $this->call('list', array($params), "Google_Service_CloudUserAccounts_GroupList");
729 }
730
731 /**
732 * Removes users from the specified group. (groups.removeMember)
733 *
734 * @param string $project Project ID for this request.
735 * @param string $groupName Name of the group for this request.
736 * @param Google_GroupsRemoveMemberRequest $postBody
737 * @param array $optParams Optional parameters.
738 * @return Google_Service_CloudUserAccounts_Operation
739 */
740 public function removeMember($project, $groupName, Google_Service_CloudUserAccounts_GroupsRemoveMemberRequest $postBody, $optParams = array())
741 {
742 $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody);
743 $params = array_merge($params, $optParams);
744 return $this->call('removeMember', array($params), "Google_Service_CloudUserAccounts_Operation");
745 }
746
747 /**
748 * Sets the access control policy on the specified resource. Replaces any
749 * existing policy. (groups.setIamPolicy)
750 *
751 * @param string $project Project ID for this request.
752 * @param string $resource Name of the resource for this request.
753 * @param Google_Policy $postBody
754 * @param array $optParams Optional parameters.
755 * @return Google_Service_CloudUserAccounts_Policy
756 */
757 public function setIamPolicy($project, $resource, Google_Service_CloudUserAccounts_Policy $postBody, $optParams = array())
758 {
759 $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);
760 $params = array_merge($params, $optParams);
761 return $this->call('setIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy");
762 }
763
764 /**
765 * Returns permissions that a caller has on the specified resource.
766 * (groups.testIamPermissions)
767 *
768 * @param string $project Project ID for this request.
769 * @param string $resource Name of the resource for this request.
770 * @param Google_TestPermissionsRequest $postBody
771 * @param array $optParams Optional parameters.
772 * @return Google_Service_CloudUserAccounts_TestPermissionsResponse
773 */
774 public function testIamPermissions($project, $resource, Google_Service_CloudUserAccounts_TestPermissionsRequest $postBody, $optParams = array())
775 {
776 $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);
777 $params = array_merge($params, $optParams);
778 return $this->call('testIamPermissions', array($params), "Google_Service_CloudUserAccounts_TestPermissionsResponse");
779 }
780 }
781
782 /**
783 * The "linux" collection of methods.
784 * Typical usage is:
785 * <code>
786 * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);
787 * $linux = $clouduseraccountsService->linux;
788 * </code>
789 */
790 class Google_Service_CloudUserAccounts_Linux_Resource extends Google_Service_Resource
791 {
792
793 /**
794 * Returns a list of authorized public keys for a specific user account.
795 * (linux.getAuthorizedKeysView)
796 *
797 * @param string $project Project ID for this request.
798 * @param string $zone Name of the zone for this request.
799 * @param string $user The user account for which you want to get a list of
800 * authorized public keys.
801 * @param string $instance The fully-qualified URL of the virtual machine
802 * requesting the view.
803 * @param array $optParams Optional parameters.
804 *
805 * @opt_param bool login Whether the view was requested as part of a user-
806 * initiated login.
807 * @return Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse
808 */
809 public function getAuthorizedKeysView($project, $zone, $user, $instance, $optParams = array())
810 {
811 $params = array('project' => $project, 'zone' => $zone, 'user' => $user, 'instance' => $instance);
812 $params = array_merge($params, $optParams);
813 return $this->call('getAuthorizedKeysView', array($params), "Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse");
814 }
815
816 /**
817 * Retrieves a list of user accounts for an instance within a specific project.
818 * (linux.getLinuxAccountViews)
819 *
820 * @param string $project Project ID for this request.
821 * @param string $zone Name of the zone for this request.
822 * @param string $instance The fully-qualified URL of the virtual machine
823 * requesting the views.
824 * @param array $optParams Optional parameters.
825 *
826 * @opt_param string filter Sets a filter expression for filtering listed
827 * resources, in the form filter={expression}. Your {expression} must be in the
828 * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
829 *
830 * The FIELD_NAME is the name of the field you want to compare. Only atomic
831 * field types are supported (string, number, boolean). The COMPARISON_STRING
832 * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the
833 * string value to filter to. The literal value must be valid for the type of
834 * field (string, number, boolean). For string fields, the literal value is
835 * interpreted as a regular expression using RE2 syntax. The literal value must
836 * match the entire field.
837 *
838 * For example, filter=name ne example-instance.
839 * @opt_param string maxResults Maximum count of results to be returned.
840 * @opt_param string orderBy Sorts list results by a certain order. By default,
841 * results are returned in alphanumerical order based on the resource name.
842 *
843 * You can also sort results in descending order based on the creation timestamp
844 * using orderBy="creationTimestamp desc". This sorts results based on the
845 * creationTimestamp field in reverse chronological order (newest result first).
846 * Use this to sort resources like operations so that the newest operation is
847 * returned first.
848 *
849 * Currently, only sorting by name or creationTimestamp desc is supported.
850 * @opt_param string pageToken Specifies a page token to use. Use this parameter
851 * if you want to list the next page of results. Set pageToken to the
852 * nextPageToken returned by a previous list request.
853 * @return Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse
854 */
855 public function getLinuxAccountViews($project, $zone, $instance, $optParams = array())
856 {
857 $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
858 $params = array_merge($params, $optParams);
859 return $this->call('getLinuxAccountViews', array($params), "Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse");
860 }
861 }
862
863 /**
864 * The "users" collection of methods.
865 * Typical usage is:
866 * <code>
867 * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);
868 * $users = $clouduseraccountsService->users;
869 * </code>
870 */
871 class Google_Service_CloudUserAccounts_Users_Resource extends Google_Service_Resource
872 {
873
874 /**
875 * Adds a public key to the specified User resource with the data included in
876 * the request. (users.addPublicKey)
877 *
878 * @param string $project Project ID for this request.
879 * @param string $user Name of the user for this request.
880 * @param Google_PublicKey $postBody
881 * @param array $optParams Optional parameters.
882 * @return Google_Service_CloudUserAccounts_Operation
883 */
884 public function addPublicKey($project, $user, Google_Service_CloudUserAccounts_PublicKey $postBody, $optParams = array())
885 {
886 $params = array('project' => $project, 'user' => $user, 'postBody' => $postBody);
887 $params = array_merge($params, $optParams);
888 return $this->call('addPublicKey', array($params), "Google_Service_CloudUserAccounts_Operation");
889 }
890
891 /**
892 * Deletes the specified User resource. (users.delete)
893 *
894 * @param string $project Project ID for this request.
895 * @param string $user Name of the user resource to delete.
896 * @param array $optParams Optional parameters.
897 * @return Google_Service_CloudUserAccounts_Operation
898 */
899 public function delete($project, $user, $optParams = array())
900 {
901 $params = array('project' => $project, 'user' => $user);
902 $params = array_merge($params, $optParams);
903 return $this->call('delete', array($params), "Google_Service_CloudUserAccounts_Operation");
904 }
905
906 /**
907 * Returns the specified User resource. (users.get)
908 *
909 * @param string $project Project ID for this request.
910 * @param string $user Name of the user resource to return.
911 * @param array $optParams Optional parameters.
912 * @return Google_Service_CloudUserAccounts_User
913 */
914 public function get($project, $user, $optParams = array())
915 {
916 $params = array('project' => $project, 'user' => $user);
917 $params = array_merge($params, $optParams);
918 return $this->call('get', array($params), "Google_Service_CloudUserAccounts_User");
919 }
920
921 /**
922 * Gets the access control policy for a resource. May be empty if no such policy
923 * or resource exists. (users.getIamPolicy)
924 *
925 * @param string $project Project ID for this request.
926 * @param string $resource Name of the resource for this request.
927 * @param array $optParams Optional parameters.
928 * @return Google_Service_CloudUserAccounts_Policy
929 */
930 public function getIamPolicy($project, $resource, $optParams = array())
931 {
932 $params = array('project' => $project, 'resource' => $resource);
933 $params = array_merge($params, $optParams);
934 return $this->call('getIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy");
935 }
936
937 /**
938 * Creates a User resource in the specified project using the data included in
939 * the request. (users.insert)
940 *
941 * @param string $project Project ID for this request.
942 * @param Google_User $postBody
943 * @param array $optParams Optional parameters.
944 * @return Google_Service_CloudUserAccounts_Operation
945 */
946 public function insert($project, Google_Service_CloudUserAccounts_User $postBody, $optParams = array())
947 {
948 $params = array('project' => $project, 'postBody' => $postBody);
949 $params = array_merge($params, $optParams);
950 return $this->call('insert', array($params), "Google_Service_CloudUserAccounts_Operation");
951 }
952
953 /**
954 * Retrieves a list of users contained within the specified project.
955 * (users.listUsers)
956 *
957 * @param string $project Project ID for this request.
958 * @param array $optParams Optional parameters.
959 *
960 * @opt_param string filter Sets a filter expression for filtering listed
961 * resources, in the form filter={expression}. Your {expression} must be in the
962 * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
963 *
964 * The FIELD_NAME is the name of the field you want to compare. Only atomic
965 * field types are supported (string, number, boolean). The COMPARISON_STRING
966 * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the
967 * string value to filter to. The literal value must be valid for the type of
968 * field (string, number, boolean). For string fields, the literal value is
969 * interpreted as a regular expression using RE2 syntax. The literal value must
970 * match the entire field.
971 *
972 * For example, filter=name ne example-instance.
973 * @opt_param string maxResults Maximum count of results to be returned.
974 * @opt_param string orderBy Sorts list results by a certain order. By default,
975 * results are returned in alphanumerical order based on the resource name.
976 *
977 * You can also sort results in descending order based on the creation timestamp
978 * using orderBy="creationTimestamp desc". This sorts results based on the
979 * creationTimestamp field in reverse chronological order (newest result first).
980 * Use this to sort resources like operations so that the newest operation is
981 * returned first.
982 *
983 * Currently, only sorting by name or creationTimestamp desc is supported.
984 * @opt_param string pageToken Specifies a page token to use. Use this parameter
985 * if you want to list the next page of results. Set pageToken to the
986 * nextPageToken returned by a previous list request.
987 * @return Google_Service_CloudUserAccounts_UserList
988 */
989 public function listUsers($project, $optParams = array())
990 {
991 $params = array('project' => $project);
992 $params = array_merge($params, $optParams);
993 return $this->call('list', array($params), "Google_Service_CloudUserAccounts_UserList");
994 }
995
996 /**
997 * Removes the specified public key from the user. (users.removePublicKey)
998 *
999 * @param string $project Project ID for this request.
1000 * @param string $user Name of the user for this request.
1001 * @param string $fingerprint The fingerprint of the public key to delete.
1002 * Public keys are identified by their fingerprint, which is defined by RFC4716
1003 * to be the MD5 digest of the public key.
1004 * @param array $optParams Optional parameters.
1005 * @return Google_Service_CloudUserAccounts_Operation
1006 */
1007 public function removePublicKey($project, $user, $fingerprint, $optParams = array())
1008 {
1009 $params = array('project' => $project, 'user' => $user, 'fingerprint' => $fingerprint);
1010 $params = array_merge($params, $optParams);
1011 return $this->call('removePublicKey', array($params), "Google_Service_CloudUserAccounts_Operation");
1012 }
1013
1014 /**
1015 * Sets the access control policy on the specified resource. Replaces any
1016 * existing policy. (users.setIamPolicy)
1017 *
1018 * @param string $project Project ID for this request.
1019 * @param string $resource Name of the resource for this request.
1020 * @param Google_Policy $postBody
1021 * @param array $optParams Optional parameters.
1022 * @return Google_Service_CloudUserAccounts_Policy
1023 */
1024 public function setIamPolicy($project, $resource, Google_Service_CloudUserAccounts_Policy $postBody, $optParams = array())
1025 {
1026 $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);
1027 $params = array_merge($params, $optParams);
1028 return $this->call('setIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy");
1029 }
1030
1031 /**
1032 * Returns permissions that a caller has on the specified resource.
1033 * (users.testIamPermissions)
1034 *
1035 * @param string $project Project ID for this request.
1036 * @param string $resource Name of the resource for this request.
1037 * @param Google_TestPermissionsRequest $postBody
1038 * @param array $optParams Optional parameters.
1039 * @return Google_Service_CloudUserAccounts_TestPermissionsResponse
1040 */
1041 public function testIamPermissions($project, $resource, Google_Service_CloudUserAccounts_TestPermissionsRequest $postBody, $optParams = array())
1042 {
1043 $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody);
1044 $params = array_merge($params, $optParams);
1045 return $this->call('testIamPermissions', array($params), "Google_Service_CloudUserAccounts_TestPermissionsResponse");
1046 }
1047 }
1048
1049
1050
1051
1052 class Google_Service_CloudUserAccounts_AuthorizedKeysView extends Google_Collection
1053 {
1054 protected $collection_key = 'keys';
1055 protected $internal_gapi_mappings = array(
1056 );
1057 public $keys;
1058 public $sudoer;
1059
1060
1061 public function setKeys($keys)
1062 {
1063 $this->keys = $keys;
1064 }
1065 public function getKeys()
1066 {
1067 return $this->keys;
1068 }
1069 public function setSudoer($sudoer)
1070 {
1071 $this->sudoer = $sudoer;
1072 }
1073 public function getSudoer()
1074 {
1075 return $this->sudoer;
1076 }
1077 }
1078
1079 class Google_Service_CloudUserAccounts_Binding extends Google_Collection
1080 {
1081 protected $collection_key = 'members';
1082 protected $internal_gapi_mappings = array(
1083 );
1084 public $members;
1085 public $role;
1086
1087
1088 public function setMembers($members)
1089 {
1090 $this->members = $members;
1091 }
1092 public function getMembers()
1093 {
1094 return $this->members;
1095 }
1096 public function setRole($role)
1097 {
1098 $this->role = $role;
1099 }
1100 public function getRole()
1101 {
1102 return $this->role;
1103 }
1104 }
1105
1106 class Google_Service_CloudUserAccounts_Condition extends Google_Collection
1107 {
1108 protected $collection_key = 'values';
1109 protected $internal_gapi_mappings = array(
1110 );
1111 public $iam;
1112 public $op;
1113 public $svc;
1114 public $sys;
1115 public $value;
1116 public $values;
1117
1118
1119 public function setIam($iam)
1120 {
1121 $this->iam = $iam;
1122 }
1123 public function getIam()
1124 {
1125 return $this->iam;
1126 }
1127 public function setOp($op)
1128 {
1129 $this->op = $op;
1130 }
1131 public function getOp()
1132 {
1133 return $this->op;
1134 }
1135 public function setSvc($svc)
1136 {
1137 $this->svc = $svc;
1138 }
1139 public function getSvc()
1140 {
1141 return $this->svc;
1142 }
1143 public function setSys($sys)
1144 {
1145 $this->sys = $sys;
1146 }
1147 public function getSys()
1148 {
1149 return $this->sys;
1150 }
1151 public function setValue($value)
1152 {
1153 $this->value = $value;
1154 }
1155 public function getValue()
1156 {
1157 return $this->value;
1158 }
1159 public function setValues($values)
1160 {
1161 $this->values = $values;
1162 }
1163 public function getValues()
1164 {
1165 return $this->values;
1166 }
1167 }
1168
1169 class Google_Service_CloudUserAccounts_Group extends Google_Collection
1170 {
1171 protected $collection_key = 'members';
1172 protected $internal_gapi_mappings = array(
1173 );
1174 public $creationTimestamp;
1175 public $description;
1176 public $id;
1177 public $kind;
1178 public $members;
1179 public $name;
1180 public $selfLink;
1181
1182
1183 public function setCreationTimestamp($creationTimestamp)
1184 {
1185 $this->creationTimestamp = $creationTimestamp;
1186 }
1187 public function getCreationTimestamp()
1188 {
1189 return $this->creationTimestamp;
1190 }
1191 public function setDescription($description)
1192 {
1193 $this->description = $description;
1194 }
1195 public function getDescription()
1196 {
1197 return $this->description;
1198 }
1199 public function setId($id)
1200 {
1201 $this->id = $id;
1202 }
1203 public function getId()
1204 {
1205 return $this->id;
1206 }
1207 public function setKind($kind)
1208 {
1209 $this->kind = $kind;
1210 }
1211 public function getKind()
1212 {
1213 return $this->kind;
1214 }
1215 public function setMembers($members)
1216 {
1217 $this->members = $members;
1218 }
1219 public function getMembers()
1220 {
1221 return $this->members;
1222 }
1223 public function setName($name)
1224 {
1225 $this->name = $name;
1226 }
1227 public function getName()
1228 {
1229 return $this->name;
1230 }
1231 public function setSelfLink($selfLink)
1232 {
1233 $this->selfLink = $selfLink;
1234 }
1235 public function getSelfLink()
1236 {
1237 return $this->selfLink;
1238 }
1239 }
1240
1241 class Google_Service_CloudUserAccounts_GroupList extends Google_Collection
1242 {
1243 protected $collection_key = 'items';
1244 protected $internal_gapi_mappings = array(
1245 );
1246 public $id;
1247 protected $itemsType = 'Google_Service_CloudUserAccounts_Group';
1248 protected $itemsDataType = 'array';
1249 public $kind;
1250 public $nextPageToken;
1251 public $selfLink;
1252
1253
1254 public function setId($id)
1255 {
1256 $this->id = $id;
1257 }
1258 public function getId()
1259 {
1260 return $this->id;
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 setKind($kind)
1271 {
1272 $this->kind = $kind;
1273 }
1274 public function getKind()
1275 {
1276 return $this->kind;
1277 }
1278 public function setNextPageToken($nextPageToken)
1279 {
1280 $this->nextPageToken = $nextPageToken;
1281 }
1282 public function getNextPageToken()
1283 {
1284 return $this->nextPageToken;
1285 }
1286 public function setSelfLink($selfLink)
1287 {
1288 $this->selfLink = $selfLink;
1289 }
1290 public function getSelfLink()
1291 {
1292 return $this->selfLink;
1293 }
1294 }
1295
1296 class Google_Service_CloudUserAccounts_GroupsAddMemberRequest extends Google_Collection
1297 {
1298 protected $collection_key = 'users';
1299 protected $internal_gapi_mappings = array(
1300 );
1301 public $users;
1302
1303
1304 public function setUsers($users)
1305 {
1306 $this->users = $users;
1307 }
1308 public function getUsers()
1309 {
1310 return $this->users;
1311 }
1312 }
1313
1314 class Google_Service_CloudUserAccounts_GroupsRemoveMemberRequest extends Google_Collection
1315 {
1316 protected $collection_key = 'users';
1317 protected $internal_gapi_mappings = array(
1318 );
1319 public $users;
1320
1321
1322 public function setUsers($users)
1323 {
1324 $this->users = $users;
1325 }
1326 public function getUsers()
1327 {
1328 return $this->users;
1329 }
1330 }
1331
1332 class Google_Service_CloudUserAccounts_LinuxAccountViews extends Google_Collection
1333 {
1334 protected $collection_key = 'userViews';
1335 protected $internal_gapi_mappings = array(
1336 );
1337 protected $groupViewsType = 'Google_Service_CloudUserAccounts_LinuxGroupView';
1338 protected $groupViewsDataType = 'array';
1339 public $kind;
1340 protected $userViewsType = 'Google_Service_CloudUserAccounts_LinuxUserView';
1341 protected $userViewsDataType = 'array';
1342
1343
1344 public function setGroupViews($groupViews)
1345 {
1346 $this->groupViews = $groupViews;
1347 }
1348 public function getGroupViews()
1349 {
1350 return $this->groupViews;
1351 }
1352 public function setKind($kind)
1353 {
1354 $this->kind = $kind;
1355 }
1356 public function getKind()
1357 {
1358 return $this->kind;
1359 }
1360 public function setUserViews($userViews)
1361 {
1362 $this->userViews = $userViews;
1363 }
1364 public function getUserViews()
1365 {
1366 return $this->userViews;
1367 }
1368 }
1369
1370 class Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse extends Google_Model
1371 {
1372 protected $internal_gapi_mappings = array(
1373 );
1374 protected $resourceType = 'Google_Service_CloudUserAccounts_AuthorizedKeysView';
1375 protected $resourceDataType = '';
1376
1377
1378 public function setResource(Google_Service_CloudUserAccounts_AuthorizedKeysView $resource)
1379 {
1380 $this->resource = $resource;
1381 }
1382 public function getResource()
1383 {
1384 return $this->resource;
1385 }
1386 }
1387
1388 class Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse extends Google_Model
1389 {
1390 protected $internal_gapi_mappings = array(
1391 );
1392 protected $resourceType = 'Google_Service_CloudUserAccounts_LinuxAccountViews';
1393 protected $resourceDataType = '';
1394
1395
1396 public function setResource(Google_Service_CloudUserAccounts_LinuxAccountViews $resource)
1397 {
1398 $this->resource = $resource;
1399 }
1400 public function getResource()
1401 {
1402 return $this->resource;
1403 }
1404 }
1405
1406 class Google_Service_CloudUserAccounts_LinuxGroupView extends Google_Collection
1407 {
1408 protected $collection_key = 'members';
1409 protected $internal_gapi_mappings = array(
1410 );
1411 public $gid;
1412 public $groupName;
1413 public $members;
1414
1415
1416 public function setGid($gid)
1417 {
1418 $this->gid = $gid;
1419 }
1420 public function getGid()
1421 {
1422 return $this->gid;
1423 }
1424 public function setGroupName($groupName)
1425 {
1426 $this->groupName = $groupName;
1427 }
1428 public function getGroupName()
1429 {
1430 return $this->groupName;
1431 }
1432 public function setMembers($members)
1433 {
1434 $this->members = $members;
1435 }
1436 public function getMembers()
1437 {
1438 return $this->members;
1439 }
1440 }
1441
1442 class Google_Service_CloudUserAccounts_LinuxUserView extends Google_Model
1443 {
1444 protected $internal_gapi_mappings = array(
1445 );
1446 public $gecos;
1447 public $gid;
1448 public $homeDirectory;
1449 public $shell;
1450 public $uid;
1451 public $username;
1452
1453
1454 public function setGecos($gecos)
1455 {
1456 $this->gecos = $gecos;
1457 }
1458 public function getGecos()
1459 {
1460 return $this->gecos;
1461 }
1462 public function setGid($gid)
1463 {
1464 $this->gid = $gid;
1465 }
1466 public function getGid()
1467 {
1468 return $this->gid;
1469 }
1470 public function setHomeDirectory($homeDirectory)
1471 {
1472 $this->homeDirectory = $homeDirectory;
1473 }
1474 public function getHomeDirectory()
1475 {
1476 return $this->homeDirectory;
1477 }
1478 public function setShell($shell)
1479 {
1480 $this->shell = $shell;
1481 }
1482 public function getShell()
1483 {
1484 return $this->shell;
1485 }
1486 public function setUid($uid)
1487 {
1488 $this->uid = $uid;
1489 }
1490 public function getUid()
1491 {
1492 return $this->uid;
1493 }
1494 public function setUsername($username)
1495 {
1496 $this->username = $username;
1497 }
1498 public function getUsername()
1499 {
1500 return $this->username;
1501 }
1502 }
1503
1504 class Google_Service_CloudUserAccounts_LogConfig extends Google_Model
1505 {
1506 protected $internal_gapi_mappings = array(
1507 );
1508 protected $counterType = 'Google_Service_CloudUserAccounts_LogConfigCounterOptions';
1509 protected $counterDataType = '';
1510
1511
1512 public function setCounter(Google_Service_CloudUserAccounts_LogConfigCounterOptions $counter)
1513 {
1514 $this->counter = $counter;
1515 }
1516 public function getCounter()
1517 {
1518 return $this->counter;
1519 }
1520 }
1521
1522 class Google_Service_CloudUserAccounts_LogConfigCounterOptions extends Google_Model
1523 {
1524 protected $internal_gapi_mappings = array(
1525 );
1526 public $field;
1527 public $metric;
1528
1529
1530 public function setField($field)
1531 {
1532 $this->field = $field;
1533 }
1534 public function getField()
1535 {
1536 return $this->field;
1537 }
1538 public function setMetric($metric)
1539 {
1540 $this->metric = $metric;
1541 }
1542 public function getMetric()
1543 {
1544 return $this->metric;
1545 }
1546 }
1547
1548 class Google_Service_CloudUserAccounts_Operation extends Google_Collection
1549 {
1550 protected $collection_key = 'warnings';
1551 protected $internal_gapi_mappings = array(
1552 );
1553 public $clientOperationId;
1554 public $creationTimestamp;
1555 public $endTime;
1556 protected $errorType = 'Google_Service_CloudUserAccounts_OperationError';
1557 protected $errorDataType = '';
1558 public $httpErrorMessage;
1559 public $httpErrorStatusCode;
1560 public $id;
1561 public $insertTime;
1562 public $kind;
1563 public $name;
1564 public $operationType;
1565 public $progress;
1566 public $region;
1567 public $selfLink;
1568 public $startTime;
1569 public $status;
1570 public $statusMessage;
1571 public $targetId;
1572 public $targetLink;
1573 public $user;
1574 protected $warningsType = 'Google_Service_CloudUserAccounts_OperationWarnings';
1575 protected $warningsDataType = 'array';
1576 public $zone;
1577
1578
1579 public function setClientOperationId($clientOperationId)
1580 {
1581 $this->clientOperationId = $clientOperationId;
1582 }
1583 public function getClientOperationId()
1584 {
1585 return $this->clientOperationId;
1586 }
1587 public function setCreationTimestamp($creationTimestamp)
1588 {
1589 $this->creationTimestamp = $creationTimestamp;
1590 }
1591 public function getCreationTimestamp()
1592 {
1593 return $this->creationTimestamp;
1594 }
1595 public function setEndTime($endTime)
1596 {
1597 $this->endTime = $endTime;
1598 }
1599 public function getEndTime()
1600 {
1601 return $this->endTime;
1602 }
1603 public function setError(Google_Service_CloudUserAccounts_OperationError $error)
1604 {
1605 $this->error = $error;
1606 }
1607 public function getError()
1608 {
1609 return $this->error;
1610 }
1611 public function setHttpErrorMessage($httpErrorMessage)
1612 {
1613 $this->httpErrorMessage = $httpErrorMessage;
1614 }
1615 public function getHttpErrorMessage()
1616 {
1617 return $this->httpErrorMessage;
1618 }
1619 public function setHttpErrorStatusCode($httpErrorStatusCode)
1620 {
1621 $this->httpErrorStatusCode = $httpErrorStatusCode;
1622 }
1623 public function getHttpErrorStatusCode()
1624 {
1625 return $this->httpErrorStatusCode;
1626 }
1627 public function setId($id)
1628 {
1629 $this->id = $id;
1630 }
1631 public function getId()
1632 {
1633 return $this->id;
1634 }
1635 public function setInsertTime($insertTime)
1636 {
1637 $this->insertTime = $insertTime;
1638 }
1639 public function getInsertTime()
1640 {
1641 return $this->insertTime;
1642 }
1643 public function setKind($kind)
1644 {
1645 $this->kind = $kind;
1646 }
1647 public function getKind()
1648 {
1649 return $this->kind;
1650 }
1651 public function setName($name)
1652 {
1653 $this->name = $name;
1654 }
1655 public function getName()
1656 {
1657 return $this->name;
1658 }
1659 public function setOperationType($operationType)
1660 {
1661 $this->operationType = $operationType;
1662 }
1663 public function getOperationType()
1664 {
1665 return $this->operationType;
1666 }
1667 public function setProgress($progress)
1668 {
1669 $this->progress = $progress;
1670 }
1671 public function getProgress()
1672 {
1673 return $this->progress;
1674 }
1675 public function setRegion($region)
1676 {
1677 $this->region = $region;
1678 }
1679 public function getRegion()
1680 {
1681 return $this->region;
1682 }
1683 public function setSelfLink($selfLink)
1684 {
1685 $this->selfLink = $selfLink;
1686 }
1687 public function getSelfLink()
1688 {
1689 return $this->selfLink;
1690 }
1691 public function setStartTime($startTime)
1692 {
1693 $this->startTime = $startTime;
1694 }
1695 public function getStartTime()
1696 {
1697 return $this->startTime;
1698 }
1699 public function setStatus($status)
1700 {
1701 $this->status = $status;
1702 }
1703 public function getStatus()
1704 {
1705 return $this->status;
1706 }
1707 public function setStatusMessage($statusMessage)
1708 {
1709 $this->statusMessage = $statusMessage;
1710 }
1711 public function getStatusMessage()
1712 {
1713 return $this->statusMessage;
1714 }
1715 public function setTargetId($targetId)
1716 {
1717 $this->targetId = $targetId;
1718 }
1719 public function getTargetId()
1720 {
1721 return $this->targetId;
1722 }
1723 public function setTargetLink($targetLink)
1724 {
1725 $this->targetLink = $targetLink;
1726 }
1727 public function getTargetLink()
1728 {
1729 return $this->targetLink;
1730 }
1731 public function setUser($user)
1732 {
1733 $this->user = $user;
1734 }
1735 public function getUser()
1736 {
1737 return $this->user;
1738 }
1739 public function setWarnings($warnings)
1740 {
1741 $this->warnings = $warnings;
1742 }
1743 public function getWarnings()
1744 {
1745 return $this->warnings;
1746 }
1747 public function setZone($zone)
1748 {
1749 $this->zone = $zone;
1750 }
1751 public function getZone()
1752 {
1753 return $this->zone;
1754 }
1755 }
1756
1757 class Google_Service_CloudUserAccounts_OperationError extends Google_Collection
1758 {
1759 protected $collection_key = 'errors';
1760 protected $internal_gapi_mappings = array(
1761 );
1762 protected $errorsType = 'Google_Service_CloudUserAccounts_OperationErrorErrors';
1763 protected $errorsDataType = 'array';
1764
1765
1766 public function setErrors($errors)
1767 {
1768 $this->errors = $errors;
1769 }
1770 public function getErrors()
1771 {
1772 return $this->errors;
1773 }
1774 }
1775
1776 class Google_Service_CloudUserAccounts_OperationErrorErrors extends Google_Model
1777 {
1778 protected $internal_gapi_mappings = array(
1779 );
1780 public $code;
1781 public $location;
1782 public $message;
1783
1784
1785 public function setCode($code)
1786 {
1787 $this->code = $code;
1788 }
1789 public function getCode()
1790 {
1791 return $this->code;
1792 }
1793 public function setLocation($location)
1794 {
1795 $this->location = $location;
1796 }
1797 public function getLocation()
1798 {
1799 return $this->location;
1800 }
1801 public function setMessage($message)
1802 {
1803 $this->message = $message;
1804 }
1805 public function getMessage()
1806 {
1807 return $this->message;
1808 }
1809 }
1810
1811 class Google_Service_CloudUserAccounts_OperationList extends Google_Collection
1812 {
1813 protected $collection_key = 'items';
1814 protected $internal_gapi_mappings = array(
1815 );
1816 public $id;
1817 protected $itemsType = 'Google_Service_CloudUserAccounts_Operation';
1818 protected $itemsDataType = 'array';
1819 public $kind;
1820 public $nextPageToken;
1821 public $selfLink;
1822
1823
1824 public function setId($id)
1825 {
1826 $this->id = $id;
1827 }
1828 public function getId()
1829 {
1830 return $this->id;
1831 }
1832 public function setItems($items)
1833 {
1834 $this->items = $items;
1835 }
1836 public function getItems()
1837 {
1838 return $this->items;
1839 }
1840 public function setKind($kind)
1841 {
1842 $this->kind = $kind;
1843 }
1844 public function getKind()
1845 {
1846 return $this->kind;
1847 }
1848 public function setNextPageToken($nextPageToken)
1849 {
1850 $this->nextPageToken = $nextPageToken;
1851 }
1852 public function getNextPageToken()
1853 {
1854 return $this->nextPageToken;
1855 }
1856 public function setSelfLink($selfLink)
1857 {
1858 $this->selfLink = $selfLink;
1859 }
1860 public function getSelfLink()
1861 {
1862 return $this->selfLink;
1863 }
1864 }
1865
1866 class Google_Service_CloudUserAccounts_OperationWarnings extends Google_Collection
1867 {
1868 protected $collection_key = 'data';
1869 protected $internal_gapi_mappings = array(
1870 );
1871 public $code;
1872 protected $dataType = 'Google_Service_CloudUserAccounts_OperationWarningsData';
1873 protected $dataDataType = 'array';
1874 public $message;
1875
1876
1877 public function setCode($code)
1878 {
1879 $this->code = $code;
1880 }
1881 public function getCode()
1882 {
1883 return $this->code;
1884 }
1885 public function setData($data)
1886 {
1887 $this->data = $data;
1888 }
1889 public function getData()
1890 {
1891 return $this->data;
1892 }
1893 public function setMessage($message)
1894 {
1895 $this->message = $message;
1896 }
1897 public function getMessage()
1898 {
1899 return $this->message;
1900 }
1901 }
1902
1903 class Google_Service_CloudUserAccounts_OperationWarningsData extends Google_Model
1904 {
1905 protected $internal_gapi_mappings = array(
1906 );
1907 public $key;
1908 public $value;
1909
1910
1911 public function setKey($key)
1912 {
1913 $this->key = $key;
1914 }
1915 public function getKey()
1916 {
1917 return $this->key;
1918 }
1919 public function setValue($value)
1920 {
1921 $this->value = $value;
1922 }
1923 public function getValue()
1924 {
1925 return $this->value;
1926 }
1927 }
1928
1929 class Google_Service_CloudUserAccounts_Policy extends Google_Collection
1930 {
1931 protected $collection_key = 'rules';
1932 protected $internal_gapi_mappings = array(
1933 );
1934 protected $bindingsType = 'Google_Service_CloudUserAccounts_Binding';
1935 protected $bindingsDataType = 'array';
1936 public $etag;
1937 protected $rulesType = 'Google_Service_CloudUserAccounts_Rule';
1938 protected $rulesDataType = 'array';
1939 public $version;
1940
1941
1942 public function setBindings($bindings)
1943 {
1944 $this->bindings = $bindings;
1945 }
1946 public function getBindings()
1947 {
1948 return $this->bindings;
1949 }
1950 public function setEtag($etag)
1951 {
1952 $this->etag = $etag;
1953 }
1954 public function getEtag()
1955 {
1956 return $this->etag;
1957 }
1958 public function setRules($rules)
1959 {
1960 $this->rules = $rules;
1961 }
1962 public function getRules()
1963 {
1964 return $this->rules;
1965 }
1966 public function setVersion($version)
1967 {
1968 $this->version = $version;
1969 }
1970 public function getVersion()
1971 {
1972 return $this->version;
1973 }
1974 }
1975
1976 class Google_Service_CloudUserAccounts_PublicKey extends Google_Model
1977 {
1978 protected $internal_gapi_mappings = array(
1979 );
1980 public $creationTimestamp;
1981 public $description;
1982 public $expirationTimestamp;
1983 public $fingerprint;
1984 public $key;
1985
1986
1987 public function setCreationTimestamp($creationTimestamp)
1988 {
1989 $this->creationTimestamp = $creationTimestamp;
1990 }
1991 public function getCreationTimestamp()
1992 {
1993 return $this->creationTimestamp;
1994 }
1995 public function setDescription($description)
1996 {
1997 $this->description = $description;
1998 }
1999 public function getDescription()
2000 {
2001 return $this->description;
2002 }
2003 public function setExpirationTimestamp($expirationTimestamp)
2004 {
2005 $this->expirationTimestamp = $expirationTimestamp;
2006 }
2007 public function getExpirationTimestamp()
2008 {
2009 return $this->expirationTimestamp;
2010 }
2011 public function setFingerprint($fingerprint)
2012 {
2013 $this->fingerprint = $fingerprint;
2014 }
2015 public function getFingerprint()
2016 {
2017 return $this->fingerprint;
2018 }
2019 public function setKey($key)
2020 {
2021 $this->key = $key;
2022 }
2023 public function getKey()
2024 {
2025 return $this->key;
2026 }
2027 }
2028
2029 class Google_Service_CloudUserAccounts_Rule extends Google_Collection
2030 {
2031 protected $collection_key = 'permissions';
2032 protected $internal_gapi_mappings = array(
2033 );
2034 public $action;
2035 protected $conditionsType = 'Google_Service_CloudUserAccounts_Condition';
2036 protected $conditionsDataType = 'array';
2037 public $description;
2038 public $ins;
2039 protected $logConfigsType = 'Google_Service_CloudUserAccounts_LogConfig';
2040 protected $logConfigsDataType = 'array';
2041 public $notIns;
2042 public $permissions;
2043
2044
2045 public function setAction($action)
2046 {
2047 $this->action = $action;
2048 }
2049 public function getAction()
2050 {
2051 return $this->action;
2052 }
2053 public function setConditions($conditions)
2054 {
2055 $this->conditions = $conditions;
2056 }
2057 public function getConditions()
2058 {
2059 return $this->conditions;
2060 }
2061 public function setDescription($description)
2062 {
2063 $this->description = $description;
2064 }
2065 public function getDescription()
2066 {
2067 return $this->description;
2068 }
2069 public function setIns($ins)
2070 {
2071 $this->ins = $ins;
2072 }
2073 public function getIns()
2074 {
2075 return $this->ins;
2076 }
2077 public function setLogConfigs($logConfigs)
2078 {
2079 $this->logConfigs = $logConfigs;
2080 }
2081 public function getLogConfigs()
2082 {
2083 return $this->logConfigs;
2084 }
2085 public function setNotIns($notIns)
2086 {
2087 $this->notIns = $notIns;
2088 }
2089 public function getNotIns()
2090 {
2091 return $this->notIns;
2092 }
2093 public function setPermissions($permissions)
2094 {
2095 $this->permissions = $permissions;
2096 }
2097 public function getPermissions()
2098 {
2099 return $this->permissions;
2100 }
2101 }
2102
2103 class Google_Service_CloudUserAccounts_TestPermissionsRequest extends Google_Collection
2104 {
2105 protected $collection_key = 'permissions';
2106 protected $internal_gapi_mappings = array(
2107 );
2108 public $permissions;
2109
2110
2111 public function setPermissions($permissions)
2112 {
2113 $this->permissions = $permissions;
2114 }
2115 public function getPermissions()
2116 {
2117 return $this->permissions;
2118 }
2119 }
2120
2121 class Google_Service_CloudUserAccounts_TestPermissionsResponse extends Google_Collection
2122 {
2123 protected $collection_key = 'permissions';
2124 protected $internal_gapi_mappings = array(
2125 );
2126 public $permissions;
2127
2128
2129 public function setPermissions($permissions)
2130 {
2131 $this->permissions = $permissions;
2132 }
2133 public function getPermissions()
2134 {
2135 return $this->permissions;
2136 }
2137 }
2138
2139 class Google_Service_CloudUserAccounts_User extends Google_Collection
2140 {
2141 protected $collection_key = 'publicKeys';
2142 protected $internal_gapi_mappings = array(
2143 );
2144 public $creationTimestamp;
2145 public $description;
2146 public $groups;
2147 public $id;
2148 public $kind;
2149 public $name;
2150 public $owner;
2151 protected $publicKeysType = 'Google_Service_CloudUserAccounts_PublicKey';
2152 protected $publicKeysDataType = 'array';
2153 public $selfLink;
2154
2155
2156 public function setCreationTimestamp($creationTimestamp)
2157 {
2158 $this->creationTimestamp = $creationTimestamp;
2159 }
2160 public function getCreationTimestamp()
2161 {
2162 return $this->creationTimestamp;
2163 }
2164 public function setDescription($description)
2165 {
2166 $this->description = $description;
2167 }
2168 public function getDescription()
2169 {
2170 return $this->description;
2171 }
2172 public function setGroups($groups)
2173 {
2174 $this->groups = $groups;
2175 }
2176 public function getGroups()
2177 {
2178 return $this->groups;
2179 }
2180 public function setId($id)
2181 {
2182 $this->id = $id;
2183 }
2184 public function getId()
2185 {
2186 return $this->id;
2187 }
2188 public function setKind($kind)
2189 {
2190 $this->kind = $kind;
2191 }
2192 public function getKind()
2193 {
2194 return $this->kind;
2195 }
2196 public function setName($name)
2197 {
2198 $this->name = $name;
2199 }
2200 public function getName()
2201 {
2202 return $this->name;
2203 }
2204 public function setOwner($owner)
2205 {
2206 $this->owner = $owner;
2207 }
2208 public function getOwner()
2209 {
2210 return $this->owner;
2211 }
2212 public function setPublicKeys($publicKeys)
2213 {
2214 $this->publicKeys = $publicKeys;
2215 }
2216 public function getPublicKeys()
2217 {
2218 return $this->publicKeys;
2219 }
2220 public function setSelfLink($selfLink)
2221 {
2222 $this->selfLink = $selfLink;
2223 }
2224 public function getSelfLink()
2225 {
2226 return $this->selfLink;
2227 }
2228 }
2229
2230 class Google_Service_CloudUserAccounts_UserList extends Google_Collection
2231 {
2232 protected $collection_key = 'items';
2233 protected $internal_gapi_mappings = array(
2234 );
2235 public $id;
2236 protected $itemsType = 'Google_Service_CloudUserAccounts_User';
2237 protected $itemsDataType = 'array';
2238 public $kind;
2239 public $nextPageToken;
2240 public $selfLink;
2241
2242
2243 public function setId($id)
2244 {
2245 $this->id = $id;
2246 }
2247 public function getId()
2248 {
2249 return $this->id;
2250 }
2251 public function setItems($items)
2252 {
2253 $this->items = $items;
2254 }
2255 public function getItems()
2256 {
2257 return $this->items;
2258 }
2259 public function setKind($kind)
2260 {
2261 $this->kind = $kind;
2262 }
2263 public function getKind()
2264 {
2265 return $this->kind;
2266 }
2267 public function setNextPageToken($nextPageToken)
2268 {
2269 $this->nextPageToken = $nextPageToken;
2270 }
2271 public function getNextPageToken()
2272 {
2273 return $this->nextPageToken;
2274 }
2275 public function setSelfLink($selfLink)
2276 {
2277 $this->selfLink = $selfLink;
2278 }
2279 public function getSelfLink()
2280 {
2281 return $this->selfLink;
2282 }
2283 }
2284