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 Cloudresourcemanager (v1beta1).
20
 *
21
 * <p>
22
 * The Google Cloud Resource Manager API provides methods for creating, reading,
23
 * and updating of project metadata.</p>
24
 *
25
 * <p>
26
 * For more information about this service, see the API
27
 * <a href="https://cloud.google.com/resource-manager" target="_blank">Documentation</a>
28
 * </p>
29
 *
30
 * @author Google, Inc.
31
 */
32
#[AllowDynamicProperties]
33
class Google_Service_Cloudresourcemanager extends Google_Service
34
{
35
  /** View and manage your data across Google Cloud Platform services. */
36
  const CLOUD_PLATFORM =
37
      "https://www.googleapis.com/auth/cloud-platform";
38
 
39
  public $organizations;
40
  public $projects;
41
 
42
 
43
  /**
44
   * Constructs the internal representation of the Cloudresourcemanager service.
45
   *
46
   * @param Google_Client $client
47
   */
48
  public function __construct(Google_Client $client)
49
  {
50
    parent::__construct($client);
51
    $this->rootUrl = 'https://cloudresourcemanager.googleapis.com/';
52
    $this->servicePath = '';
53
    $this->version = 'v1beta1';
54
    $this->serviceName = 'cloudresourcemanager';
55
 
56
    $this->organizations = new Google_Service_Cloudresourcemanager_Organizations_Resource(
57
        $this,
58
        $this->serviceName,
59
        'organizations',
60
        array(
61
          'methods' => array(
62
            'get' => array(
63
              'path' => 'v1beta1/organizations/{organizationId}',
64
              'httpMethod' => 'GET',
65
              'parameters' => array(
66
                'organizationId' => array(
67
                  'location' => 'path',
68
                  'type' => 'string',
69
                  'required' => true,
70
                ),
71
              ),
72
            ),'getIamPolicy' => array(
73
              'path' => 'v1beta1/organizations/{resource}:getIamPolicy',
74
              'httpMethod' => 'POST',
75
              'parameters' => array(
76
                'resource' => array(
77
                  'location' => 'path',
78
                  'type' => 'string',
79
                  'required' => true,
80
                ),
81
              ),
82
            ),'list' => array(
83
              'path' => 'v1beta1/organizations',
84
              'httpMethod' => 'GET',
85
              'parameters' => array(
86
                'filter' => array(
87
                  'location' => 'query',
88
                  'type' => 'string',
89
                ),
90
                'pageToken' => array(
91
                  'location' => 'query',
92
                  'type' => 'string',
93
                ),
94
                'pageSize' => array(
95
                  'location' => 'query',
96
                  'type' => 'integer',
97
                ),
98
              ),
99
            ),'setIamPolicy' => array(
100
              'path' => 'v1beta1/organizations/{resource}:setIamPolicy',
101
              'httpMethod' => 'POST',
102
              'parameters' => array(
103
                'resource' => array(
104
                  'location' => 'path',
105
                  'type' => 'string',
106
                  'required' => true,
107
                ),
108
              ),
109
            ),'testIamPermissions' => array(
110
              'path' => 'v1beta1/organizations/{resource}:testIamPermissions',
111
              'httpMethod' => 'POST',
112
              'parameters' => array(
113
                'resource' => array(
114
                  'location' => 'path',
115
                  'type' => 'string',
116
                  'required' => true,
117
                ),
118
              ),
119
            ),'update' => array(
120
              'path' => 'v1beta1/organizations/{organizationId}',
121
              'httpMethod' => 'PUT',
122
              'parameters' => array(
123
                'organizationId' => array(
124
                  'location' => 'path',
125
                  'type' => 'string',
126
                  'required' => true,
127
                ),
128
              ),
129
            ),
130
          )
131
        )
132
    );
133
    $this->projects = new Google_Service_Cloudresourcemanager_Projects_Resource(
134
        $this,
135
        $this->serviceName,
136
        'projects',
137
        array(
138
          'methods' => array(
139
            'create' => array(
140
              'path' => 'v1beta1/projects',
141
              'httpMethod' => 'POST',
142
              'parameters' => array(),
143
            ),'delete' => array(
144
              'path' => 'v1beta1/projects/{projectId}',
145
              'httpMethod' => 'DELETE',
146
              'parameters' => array(
147
                'projectId' => array(
148
                  'location' => 'path',
149
                  'type' => 'string',
150
                  'required' => true,
151
                ),
152
              ),
153
            ),'get' => array(
154
              'path' => 'v1beta1/projects/{projectId}',
155
              'httpMethod' => 'GET',
156
              'parameters' => array(
157
                'projectId' => array(
158
                  'location' => 'path',
159
                  'type' => 'string',
160
                  'required' => true,
161
                ),
162
              ),
163
            ),'getIamPolicy' => array(
164
              'path' => 'v1beta1/projects/{resource}:getIamPolicy',
165
              'httpMethod' => 'POST',
166
              'parameters' => array(
167
                'resource' => array(
168
                  'location' => 'path',
169
                  'type' => 'string',
170
                  'required' => true,
171
                ),
172
              ),
173
            ),'list' => array(
174
              'path' => 'v1beta1/projects',
175
              'httpMethod' => 'GET',
176
              'parameters' => array(
177
                'filter' => array(
178
                  'location' => 'query',
179
                  'type' => 'string',
180
                ),
181
                'pageToken' => array(
182
                  'location' => 'query',
183
                  'type' => 'string',
184
                ),
185
                'pageSize' => array(
186
                  'location' => 'query',
187
                  'type' => 'integer',
188
                ),
189
              ),
190
            ),'setIamPolicy' => array(
191
              'path' => 'v1beta1/projects/{resource}:setIamPolicy',
192
              'httpMethod' => 'POST',
193
              'parameters' => array(
194
                'resource' => array(
195
                  'location' => 'path',
196
                  'type' => 'string',
197
                  'required' => true,
198
                ),
199
              ),
200
            ),'testIamPermissions' => array(
201
              'path' => 'v1beta1/projects/{resource}:testIamPermissions',
202
              'httpMethod' => 'POST',
203
              'parameters' => array(
204
                'resource' => array(
205
                  'location' => 'path',
206
                  'type' => 'string',
207
                  'required' => true,
208
                ),
209
              ),
210
            ),'undelete' => array(
211
              'path' => 'v1beta1/projects/{projectId}:undelete',
212
              'httpMethod' => 'POST',
213
              'parameters' => array(
214
                'projectId' => array(
215
                  'location' => 'path',
216
                  'type' => 'string',
217
                  'required' => true,
218
                ),
219
              ),
220
            ),'update' => array(
221
              'path' => 'v1beta1/projects/{projectId}',
222
              'httpMethod' => 'PUT',
223
              'parameters' => array(
224
                'projectId' => array(
225
                  'location' => 'path',
226
                  'type' => 'string',
227
                  'required' => true,
228
                ),
229
              ),
230
            ),
231
          )
232
        )
233
    );
234
  }
235
}
236
 
237
 
238
/**
239
 * The "organizations" collection of methods.
240
 * Typical usage is:
241
 *  <code>
242
 *   $cloudresourcemanagerService = new Google_Service_Cloudresourcemanager(...);
243
 *   $organizations = $cloudresourcemanagerService->organizations;
244
 *  </code>
245
 */
246
#[AllowDynamicProperties]
247
class Google_Service_Cloudresourcemanager_Organizations_Resource extends Google_Service_Resource
248
{
249
 
250
  /**
251
   * Fetches an Organization resource by id. (organizations.get)
252
   *
253
   * @param string $organizationId The id of the Organization resource to fetch.
254
   * @param array $optParams Optional parameters.
255
   * @return Google_Service_Cloudresourcemanager_Organization
256
   */
257
  public function get($organizationId, $optParams = array())
258
  {
259
    $params = array('organizationId' => $organizationId);
260
    $params = array_merge($params, $optParams);
261
    return $this->call('get', array($params), "Google_Service_Cloudresourcemanager_Organization");
262
  }
263
 
264
  /**
265
   * Gets the access control policy for a Organization resource. May be empty if
266
   * no such policy or resource exists. (organizations.getIamPolicy)
267
   *
268
   * @param string $resource REQUIRED: The resource for which policy is being
269
   * requested. Resource is usually specified as a path, such as,
270
   * `projects/{project}`.
271
   * @param Google_GetIamPolicyRequest $postBody
272
   * @param array $optParams Optional parameters.
273
   * @return Google_Service_Cloudresourcemanager_Policy
274
   */
275
  public function getIamPolicy($resource, Google_Service_Cloudresourcemanager_GetIamPolicyRequest $postBody, $optParams = array())
276
  {
277
    $params = array('resource' => $resource, 'postBody' => $postBody);
278
    $params = array_merge($params, $optParams);
279
    return $this->call('getIamPolicy', array($params), "Google_Service_Cloudresourcemanager_Policy");
280
  }
281
 
282
  /**
283
   * Query Organization resources. (organizations.listOrganizations)
284
   *
285
   * @param array $optParams Optional parameters.
286
   *
287
   * @opt_param string filter An optional query string used to filter the
288
   * Organizations to be return in the response. Filter rules are case-
289
   * insensitive. Organizations may be filtered by `owner.directoryCustomerId` or
290
   * by `domain`, where the domain is a Google for Work domain, for example:
291
   * |Filter|Description| |------|-----------|
292
   * |owner.directorycustomerid:123456789|Organizations with
293
   * `owner.directory_customer_id` equal to `123456789`.|
294
   * |domain:google.com|Organizations corresponding to the domain `google.com`.|
295
   * This field is optional.
296
   * @opt_param string pageToken A pagination token returned from a previous call
297
   * to ListOrganizations that indicates from where listing should continue. This
298
   * field is optional.
299
   * @opt_param int pageSize The maximum number of Organizations to return in the
300
   * response. This field is optional.
301
   * @return Google_Service_Cloudresourcemanager_ListOrganizationsResponse
302
   */
303
  public function listOrganizations($optParams = array())
304
  {
305
    $params = array();
306
    $params = array_merge($params, $optParams);
307
    return $this->call('list', array($params), "Google_Service_Cloudresourcemanager_ListOrganizationsResponse");
308
  }
309
 
310
  /**
311
   * Sets the access control policy on a Organization resource. Replaces any
312
   * existing policy. (organizations.setIamPolicy)
313
   *
314
   * @param string $resource REQUIRED: The resource for which policy is being
315
   * specified. `resource` is usually specified as a path, such as,
316
   * `projects/{project}/zones/{zone}/disks/{disk}`.
317
   * @param Google_SetIamPolicyRequest $postBody
318
   * @param array $optParams Optional parameters.
319
   * @return Google_Service_Cloudresourcemanager_Policy
320
   */
321
  public function setIamPolicy($resource, Google_Service_Cloudresourcemanager_SetIamPolicyRequest $postBody, $optParams = array())
322
  {
323
    $params = array('resource' => $resource, 'postBody' => $postBody);
324
    $params = array_merge($params, $optParams);
325
    return $this->call('setIamPolicy', array($params), "Google_Service_Cloudresourcemanager_Policy");
326
  }
327
 
328
  /**
329
   * Returns permissions that a caller has on the specified Organization.
330
   * (organizations.testIamPermissions)
331
   *
332
   * @param string $resource REQUIRED: The resource for which policy detail is
333
   * being requested. `resource` is usually specified as a path, such as,
334
   * `projects/{project}`.
335
   * @param Google_TestIamPermissionsRequest $postBody
336
   * @param array $optParams Optional parameters.
337
   * @return Google_Service_Cloudresourcemanager_TestIamPermissionsResponse
338
   */
339
  public function testIamPermissions($resource, Google_Service_Cloudresourcemanager_TestIamPermissionsRequest $postBody, $optParams = array())
340
  {
341
    $params = array('resource' => $resource, 'postBody' => $postBody);
342
    $params = array_merge($params, $optParams);
343
    return $this->call('testIamPermissions', array($params), "Google_Service_Cloudresourcemanager_TestIamPermissionsResponse");
344
  }
345
 
346
  /**
347
   * Updates an Organization resource. (organizations.update)
348
   *
349
   * @param string $organizationId An immutable id for the Organization that is
350
   * assigned on creation. This should be omitted when creating a new
351
   * Organization. This field is read-only.
352
   * @param Google_Organization $postBody
353
   * @param array $optParams Optional parameters.
354
   * @return Google_Service_Cloudresourcemanager_Organization
355
   */
356
  public function update($organizationId, Google_Service_Cloudresourcemanager_Organization $postBody, $optParams = array())
357
  {
358
    $params = array('organizationId' => $organizationId, 'postBody' => $postBody);
359
    $params = array_merge($params, $optParams);
360
    return $this->call('update', array($params), "Google_Service_Cloudresourcemanager_Organization");
361
  }
362
}
363
 
364
/**
365
 * The "projects" collection of methods.
366
 * Typical usage is:
367
 *  <code>
368
 *   $cloudresourcemanagerService = new Google_Service_Cloudresourcemanager(...);
369
 *   $projects = $cloudresourcemanagerService->projects;
370
 *  </code>
371
 */
372
#[AllowDynamicProperties]
373
class Google_Service_Cloudresourcemanager_Projects_Resource extends Google_Service_Resource
374
{
375
 
376
  /**
377
   * Creates a project resource. Initially, the project resource is owned by its
378
   * creator exclusively. The creator can later grant permission to others to read
379
   * or update the project. Several APIs are activated automatically for the
380
   * project, including Google Cloud Storage. (projects.create)
381
   *
382
   * @param Google_Project $postBody
383
   * @param array $optParams Optional parameters.
384
   * @return Google_Service_Cloudresourcemanager_Project
385
   */
386
  public function create(Google_Service_Cloudresourcemanager_Project $postBody, $optParams = array())
387
  {
388
    $params = array('postBody' => $postBody);
389
    $params = array_merge($params, $optParams);
390
    return $this->call('create', array($params), "Google_Service_Cloudresourcemanager_Project");
391
  }
392
 
393
  /**
394
   * Marks the project identified by the specified `project_id` (for example, `my-
395
   * project-123`) for deletion. This method will only affect the project if the
396
   * following criteria are met: + The project does not have a billing account
397
   * associated with it. + The project has a lifecycle state of
398
   * [ACTIVE][google.cloudresourcemanager.projects.v1beta1.LifecycleState.ACTIVE].
399
   * This method changes the project's lifecycle state from
400
   * [ACTIVE][google.cloudresourcemanager.projects.v1beta1.LifecycleState.ACTIVE]
401
   * to [DELETE_REQUESTED] [google.cloudresourcemanager.projects.v1beta1.Lifecycle
402
   * State.DELETE_REQUESTED]. The deletion starts at an unspecified time, at which
403
   * point the lifecycle state changes to [DELETE_IN_PROGRESS] [google.cloudresour
404
   * cemanager.projects.v1beta1.LifecycleState.DELETE_IN_PROGRESS]. Until the
405
   * deletion completes, you can check the lifecycle state checked by retrieving
406
   * the project with [GetProject]
407
   * [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.GetProject],
408
   * and the project remains visible to [ListProjects] [google.cloudresourcemanage
409
   * r.projects.v1beta1.DeveloperProjects.ListProjects]. However, you cannot
410
   * update the project. After the deletion completes, the project is not
411
   * retrievable by the [GetProject]
412
   * [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.GetProject]
413
   * and [ListProjects]
414
   * [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.ListProjects]
415
   * methods. The caller must have modify permissions for this project.
416
   * (projects.delete)
417
   *
418
   * @param string $projectId The project ID (for example, `foo-bar-123`).
419
   * Required.
420
   * @param array $optParams Optional parameters.
421
   * @return Google_Service_Cloudresourcemanager_Empty
422
   */
423
  public function delete($projectId, $optParams = array())
424
  {
425
    $params = array('projectId' => $projectId);
426
    $params = array_merge($params, $optParams);
427
    return $this->call('delete', array($params), "Google_Service_Cloudresourcemanager_Empty");
428
  }
429
 
430
  /**
431
   * Retrieves the project identified by the specified `project_id` (for example,
432
   * `my-project-123`). The caller must have read permissions for this project.
433
   * (projects.get)
434
   *
435
   * @param string $projectId The project ID (for example, `my-project-123`).
436
   * Required.
437
   * @param array $optParams Optional parameters.
438
   * @return Google_Service_Cloudresourcemanager_Project
439
   */
440
  public function get($projectId, $optParams = array())
441
  {
442
    $params = array('projectId' => $projectId);
443
    $params = array_merge($params, $optParams);
444
    return $this->call('get', array($params), "Google_Service_Cloudresourcemanager_Project");
445
  }
446
 
447
  /**
448
   * Returns the IAM access control policy for specified project.
449
   * (projects.getIamPolicy)
450
   *
451
   * @param string $resource REQUIRED: The resource for which policy is being
452
   * requested. Resource is usually specified as a path, such as,
453
   * `projects/{project}`.
454
   * @param Google_GetIamPolicyRequest $postBody
455
   * @param array $optParams Optional parameters.
456
   * @return Google_Service_Cloudresourcemanager_Policy
457
   */
458
  public function getIamPolicy($resource, Google_Service_Cloudresourcemanager_GetIamPolicyRequest $postBody, $optParams = array())
459
  {
460
    $params = array('resource' => $resource, 'postBody' => $postBody);
461
    $params = array_merge($params, $optParams);
462
    return $this->call('getIamPolicy', array($params), "Google_Service_Cloudresourcemanager_Policy");
463
  }
464
 
465
  /**
466
   * Lists projects that are visible to the user and satisfy the specified filter.
467
   * This method returns projects in an unspecified order. New projects do not
468
   * necessarily appear at the end of the list. (projects.listProjects)
469
   *
470
   * @param array $optParams Optional parameters.
471
   *
472
   * @opt_param string filter An expression for filtering the results of the
473
   * request. Filter rules are case insensitive. The fields eligible for filtering
474
   * are: + `name` + `id` + labels.key where *key* is the name of a label Some
475
   * examples of using labels as filters: |Filter|Description|
476
   * |------|-----------| |name:*|The project has a name.| |name:Howl|The
477
   * project's name is `Howl` or `howl`.| |name:HOWL|Equivalent to above.|
478
   * |NAME:howl|Equivalent to above.| |labels.color:*|The project has the label
479
   * `color`.| |labels.color:red|The project's label `color` has the value `red`.|
480
   * |labels.color:red label.size:big|The project's label `color` has the value
481
   * `red` and its label `size` has the value `big`. Optional.
482
   * @opt_param string pageToken A pagination token returned from a previous call
483
   * to ListProject that indicates from where listing should continue. Note:
484
   * pagination is not yet supported; the server ignores this field. Optional.
485
   * @opt_param int pageSize The maximum number of Projects to return in the
486
   * response. The server can return fewer projects than requested. If
487
   * unspecified, server picks an appropriate default. Note: pagination is not yet
488
   * supported; the server ignores this field. Optional.
489
   * @return Google_Service_Cloudresourcemanager_ListProjectsResponse
490
   */
491
  public function listProjects($optParams = array())
492
  {
493
    $params = array();
494
    $params = array_merge($params, $optParams);
495
    return $this->call('list', array($params), "Google_Service_Cloudresourcemanager_ListProjectsResponse");
496
  }
497
 
498
  /**
499
   * Sets the IAM access control policy for the specified project. We do not
500
   * currently support 'domain:' prefixed members in a Binding of a Policy.
501
   * Calling this method requires enabling the App Engine Admin API.
502
   * (projects.setIamPolicy)
503
   *
504
   * @param string $resource REQUIRED: The resource for which policy is being
505
   * specified. `resource` is usually specified as a path, such as,
506
   * `projects/{project}/zones/{zone}/disks/{disk}`.
507
   * @param Google_SetIamPolicyRequest $postBody
508
   * @param array $optParams Optional parameters.
509
   * @return Google_Service_Cloudresourcemanager_Policy
510
   */
511
  public function setIamPolicy($resource, Google_Service_Cloudresourcemanager_SetIamPolicyRequest $postBody, $optParams = array())
512
  {
513
    $params = array('resource' => $resource, 'postBody' => $postBody);
514
    $params = array_merge($params, $optParams);
515
    return $this->call('setIamPolicy', array($params), "Google_Service_Cloudresourcemanager_Policy");
516
  }
517
 
518
  /**
519
   * Tests the specified permissions against the IAM access control policy for the
520
   * specified project. (projects.testIamPermissions)
521
   *
522
   * @param string $resource REQUIRED: The resource for which policy detail is
523
   * being requested. `resource` is usually specified as a path, such as,
524
   * `projects/{project}`.
525
   * @param Google_TestIamPermissionsRequest $postBody
526
   * @param array $optParams Optional parameters.
527
   * @return Google_Service_Cloudresourcemanager_TestIamPermissionsResponse
528
   */
529
  public function testIamPermissions($resource, Google_Service_Cloudresourcemanager_TestIamPermissionsRequest $postBody, $optParams = array())
530
  {
531
    $params = array('resource' => $resource, 'postBody' => $postBody);
532
    $params = array_merge($params, $optParams);
533
    return $this->call('testIamPermissions', array($params), "Google_Service_Cloudresourcemanager_TestIamPermissionsResponse");
534
  }
535
 
536
  /**
537
   * Restores the project identified by the specified `project_id` (for example,
538
   * `my-project-123`). You can only use this method for a project that has a
539
   * lifecycle state of [DELETE_REQUESTED] [google.cloudresourcemanager.projects.v
540
   * 1beta1.LifecycleState.DELETE_REQUESTED]. After deletion starts, as indicated
541
   * by a lifecycle state of [DELETE_IN_PROGRESS] [google.cloudresourcemanager.pro
542
   * jects.v1beta1.LifecycleState.DELETE_IN_PROGRESS], the project cannot be
543
   * restored. The caller must have modify permissions for this project.
544
   * (projects.undelete)
545
   *
546
   * @param string $projectId The project ID (for example, `foo-bar-123`).
547
   * Required.
548
   * @param array $optParams Optional parameters.
549
   * @return Google_Service_Cloudresourcemanager_Empty
550
   */
551
  public function undelete($projectId, $optParams = array())
552
  {
553
    $params = array('projectId' => $projectId);
554
    $params = array_merge($params, $optParams);
555
    return $this->call('undelete', array($params), "Google_Service_Cloudresourcemanager_Empty");
556
  }
557
 
558
  /**
559
   * Updates the attributes of the project identified by the specified
560
   * `project_id` (for example, `my-project-123`). The caller must have modify
561
   * permissions for this project. (projects.update)
562
   *
563
   * @param string $projectId The project ID (for example, `my-project-123`).
564
   * Required.
565
   * @param Google_Project $postBody
566
   * @param array $optParams Optional parameters.
567
   * @return Google_Service_Cloudresourcemanager_Project
568
   */
569
  public function update($projectId, Google_Service_Cloudresourcemanager_Project $postBody, $optParams = array())
570
  {
571
    $params = array('projectId' => $projectId, 'postBody' => $postBody);
572
    $params = array_merge($params, $optParams);
573
    return $this->call('update', array($params), "Google_Service_Cloudresourcemanager_Project");
574
  }
575
}
576
 
577
 
578
 
579
 
580
#[AllowDynamicProperties]
581
class Google_Service_Cloudresourcemanager_Binding extends Google_Collection
582
{
583
  protected $collection_key = 'members';
584
  protected $internal_gapi_mappings = array(
585
  );
586
  public $members;
587
  public $role;
588
 
589
 
590
  public function setMembers($members)
591
  {
592
    $this->members = $members;
593
  }
594
  public function getMembers()
595
  {
596
    return $this->members;
597
  }
598
  public function setRole($role)
599
  {
600
    $this->role = $role;
601
  }
602
  public function getRole()
603
  {
604
    return $this->role;
605
  }
606
}
607
 
608
#[AllowDynamicProperties]
609
class Google_Service_Cloudresourcemanager_Empty extends Google_Model
610
{
611
}
612
 
613
#[AllowDynamicProperties]
614
class Google_Service_Cloudresourcemanager_GetIamPolicyRequest extends Google_Model
615
{
616
}
617
 
618
#[AllowDynamicProperties]
619
class Google_Service_Cloudresourcemanager_ListOrganizationsResponse extends Google_Collection
620
{
621
  protected $collection_key = 'organizations';
622
  protected $internal_gapi_mappings = array(
623
  );
624
  public $nextPageToken;
625
  protected $organizationsType = 'Google_Service_Cloudresourcemanager_Organization';
626
  protected $organizationsDataType = 'array';
627
 
628
 
629
  public function setNextPageToken($nextPageToken)
630
  {
631
    $this->nextPageToken = $nextPageToken;
632
  }
633
  public function getNextPageToken()
634
  {
635
    return $this->nextPageToken;
636
  }
637
  public function setOrganizations($organizations)
638
  {
639
    $this->organizations = $organizations;
640
  }
641
  public function getOrganizations()
642
  {
643
    return $this->organizations;
644
  }
645
}
646
 
647
#[AllowDynamicProperties]
648
class Google_Service_Cloudresourcemanager_ListProjectsResponse extends Google_Collection
649
{
650
  protected $collection_key = 'projects';
651
  protected $internal_gapi_mappings = array(
652
  );
653
  public $nextPageToken;
654
  protected $projectsType = 'Google_Service_Cloudresourcemanager_Project';
655
  protected $projectsDataType = 'array';
656
 
657
 
658
  public function setNextPageToken($nextPageToken)
659
  {
660
    $this->nextPageToken = $nextPageToken;
661
  }
662
  public function getNextPageToken()
663
  {
664
    return $this->nextPageToken;
665
  }
666
  public function setProjects($projects)
667
  {
668
    $this->projects = $projects;
669
  }
670
  public function getProjects()
671
  {
672
    return $this->projects;
673
  }
674
}
675
 
676
#[AllowDynamicProperties]
677
class Google_Service_Cloudresourcemanager_Organization extends Google_Model
678
{
679
  protected $internal_gapi_mappings = array(
680
  );
681
  public $displayName;
682
  public $organizationId;
683
  protected $ownerType = 'Google_Service_Cloudresourcemanager_OrganizationOwner';
684
  protected $ownerDataType = '';
685
 
686
 
687
  public function setDisplayName($displayName)
688
  {
689
    $this->displayName = $displayName;
690
  }
691
  public function getDisplayName()
692
  {
693
    return $this->displayName;
694
  }
695
  public function setOrganizationId($organizationId)
696
  {
697
    $this->organizationId = $organizationId;
698
  }
699
  public function getOrganizationId()
700
  {
701
    return $this->organizationId;
702
  }
703
  public function setOwner(Google_Service_Cloudresourcemanager_OrganizationOwner $owner)
704
  {
705
    $this->owner = $owner;
706
  }
707
  public function getOwner()
708
  {
709
    return $this->owner;
710
  }
711
}
712
 
713
#[AllowDynamicProperties]
714
class Google_Service_Cloudresourcemanager_OrganizationOwner extends Google_Model
715
{
716
  protected $internal_gapi_mappings = array(
717
  );
718
  public $directoryCustomerId;
719
 
720
 
721
  public function setDirectoryCustomerId($directoryCustomerId)
722
  {
723
    $this->directoryCustomerId = $directoryCustomerId;
724
  }
725
  public function getDirectoryCustomerId()
726
  {
727
    return $this->directoryCustomerId;
728
  }
729
}
730
 
731
#[AllowDynamicProperties]
732
class Google_Service_Cloudresourcemanager_Policy extends Google_Collection
733
{
734
  protected $collection_key = 'bindings';
735
  protected $internal_gapi_mappings = array(
736
  );
737
  protected $bindingsType = 'Google_Service_Cloudresourcemanager_Binding';
738
  protected $bindingsDataType = 'array';
739
  public $etag;
740
  public $version;
741
 
742
 
743
  public function setBindings($bindings)
744
  {
745
    $this->bindings = $bindings;
746
  }
747
  public function getBindings()
748
  {
749
    return $this->bindings;
750
  }
751
  public function setEtag($etag)
752
  {
753
    $this->etag = $etag;
754
  }
755
  public function getEtag()
756
  {
757
    return $this->etag;
758
  }
759
  public function setVersion($version)
760
  {
761
    $this->version = $version;
762
  }
763
  public function getVersion()
764
  {
765
    return $this->version;
766
  }
767
}
768
 
769
#[AllowDynamicProperties]
770
class Google_Service_Cloudresourcemanager_Project extends Google_Model
771
{
772
  protected $internal_gapi_mappings = array(
773
  );
774
  public $createTime;
775
  public $labels;
776
  public $lifecycleState;
777
  public $name;
778
  protected $parentType = 'Google_Service_Cloudresourcemanager_ResourceId';
779
  protected $parentDataType = '';
780
  public $projectId;
781
  public $projectNumber;
782
 
783
 
784
  public function setCreateTime($createTime)
785
  {
786
    $this->createTime = $createTime;
787
  }
788
  public function getCreateTime()
789
  {
790
    return $this->createTime;
791
  }
792
  public function setLabels($labels)
793
  {
794
    $this->labels = $labels;
795
  }
796
  public function getLabels()
797
  {
798
    return $this->labels;
799
  }
800
  public function setLifecycleState($lifecycleState)
801
  {
802
    $this->lifecycleState = $lifecycleState;
803
  }
804
  public function getLifecycleState()
805
  {
806
    return $this->lifecycleState;
807
  }
808
  public function setName($name)
809
  {
810
    $this->name = $name;
811
  }
812
  public function getName()
813
  {
814
    return $this->name;
815
  }
816
  public function setParent(Google_Service_Cloudresourcemanager_ResourceId $parent)
817
  {
818
    $this->parent = $parent;
819
  }
820
  public function getParent()
821
  {
822
    return $this->parent;
823
  }
824
  public function setProjectId($projectId)
825
  {
826
    $this->projectId = $projectId;
827
  }
828
  public function getProjectId()
829
  {
830
    return $this->projectId;
831
  }
832
  public function setProjectNumber($projectNumber)
833
  {
834
    $this->projectNumber = $projectNumber;
835
  }
836
  public function getProjectNumber()
837
  {
838
    return $this->projectNumber;
839
  }
840
}
841
 
842
#[AllowDynamicProperties]
843
class Google_Service_Cloudresourcemanager_ProjectLabels extends Google_Model
844
{
845
}
846
 
847
#[AllowDynamicProperties]
848
class Google_Service_Cloudresourcemanager_ResourceId extends Google_Model
849
{
850
  protected $internal_gapi_mappings = array(
851
  );
852
  public $id;
853
  public $type;
854
 
855
 
856
  public function setId($id)
857
  {
858
    $this->id = $id;
859
  }
860
  public function getId()
861
  {
862
    return $this->id;
863
  }
864
  public function setType($type)
865
  {
866
    $this->type = $type;
867
  }
868
  public function getType()
869
  {
870
    return $this->type;
871
  }
872
}
873
 
874
#[AllowDynamicProperties]
875
class Google_Service_Cloudresourcemanager_SetIamPolicyRequest extends Google_Model
876
{
877
  protected $internal_gapi_mappings = array(
878
  );
879
  protected $policyType = 'Google_Service_Cloudresourcemanager_Policy';
880
  protected $policyDataType = '';
881
 
882
 
883
  public function setPolicy(Google_Service_Cloudresourcemanager_Policy $policy)
884
  {
885
    $this->policy = $policy;
886
  }
887
  public function getPolicy()
888
  {
889
    return $this->policy;
890
  }
891
}
892
 
893
#[AllowDynamicProperties]
894
class Google_Service_Cloudresourcemanager_TestIamPermissionsRequest extends Google_Collection
895
{
896
  protected $collection_key = 'permissions';
897
  protected $internal_gapi_mappings = array(
898
  );
899
  public $permissions;
900
 
901
 
902
  public function setPermissions($permissions)
903
  {
904
    $this->permissions = $permissions;
905
  }
906
  public function getPermissions()
907
  {
908
    return $this->permissions;
909
  }
910
}
911
 
912
#[AllowDynamicProperties]
913
class Google_Service_Cloudresourcemanager_TestIamPermissionsResponse extends Google_Collection
914
{
915
  protected $collection_key = 'permissions';
916
  protected $internal_gapi_mappings = array(
917
  );
918
  public $permissions;
919
 
920
 
921
  public function setPermissions($permissions)
922
  {
923
    $this->permissions = $permissions;
924
  }
925
  public function getPermissions()
926
  {
927
    return $this->permissions;
928
  }
929
}