Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

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