Mise à jour des librairies vendor

This commit is contained in:
Caribana
2018-05-01 14:43:32 +02:00
parent b67375ae8e
commit d776be73fc
5211 changed files with 59115 additions and 25863 deletions

View File

@@ -1,31 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_CloudResourceManager_Ancestor extends Google_Model
{
protected $resourceIdType = 'Google_Service_CloudResourceManager_ResourceId';
protected $resourceIdDataType = '';
public function setResourceId(Google_Service_CloudResourceManager_ResourceId $resourceId)
{
$this->resourceId = $resourceId;
}
public function getResourceId()
{
return $this->resourceId;
}
}

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
@@ -22,10 +22,16 @@ class Google_Service_CloudResourceManager_AuditConfig extends Google_Collection
protected $auditLogConfigsDataType = 'array';
public $service;
/**
* @param Google_Service_CloudResourceManager_AuditLogConfig
*/
public function setAuditLogConfigs($auditLogConfigs)
{
$this->auditLogConfigs = $auditLogConfigs;
}
/**
* @return Google_Service_CloudResourceManager_AuditLogConfig
*/
public function getAuditLogConfigs()
{
return $this->auditLogConfigs;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of

View File

@@ -1,20 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_CloudResourceManager_CloudresourcemanagerEmpty extends Google_Model
{
}

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of

View File

@@ -1,20 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_CloudResourceManager_GetAncestryRequest extends Google_Model
{
}

View File

@@ -1,32 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_CloudResourceManager_GetAncestryResponse extends Google_Collection
{
protected $collection_key = 'ancestor';
protected $ancestorType = 'Google_Service_CloudResourceManager_Ancestor';
protected $ancestorDataType = 'array';
public function setAncestor($ancestor)
{
$this->ancestor = $ancestor;
}
public function getAncestor()
{
return $this->ancestor;
}
}

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of

View File

@@ -1,76 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_CloudResourceManager_Lien extends Google_Collection
{
protected $collection_key = 'restrictions';
public $createTime;
public $name;
public $origin;
public $parent;
public $reason;
public $restrictions;
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setOrigin($origin)
{
$this->origin = $origin;
}
public function getOrigin()
{
return $this->origin;
}
public function setParent($parent)
{
$this->parent = $parent;
}
public function getParent()
{
return $this->parent;
}
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
public function setRestrictions($restrictions)
{
$this->restrictions = $restrictions;
}
public function getRestrictions()
{
return $this->restrictions;
}
}

View File

@@ -1,41 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_CloudResourceManager_ListLiensResponse extends Google_Collection
{
protected $collection_key = 'liens';
protected $liensType = 'Google_Service_CloudResourceManager_Lien';
protected $liensDataType = 'array';
public $nextPageToken;
public function setLiens($liens)
{
$this->liens = $liens;
}
public function getLiens()
{
return $this->liens;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -1,41 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_CloudResourceManager_ListProjectsResponse extends Google_Collection
{
protected $collection_key = 'projects';
public $nextPageToken;
protected $projectsType = 'Google_Service_CloudResourceManager_Project';
protected $projectsDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
public function setProjects($projects)
{
$this->projects = $projects;
}
public function getProjects()
{
return $this->projects;
}
}

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
@@ -32,10 +32,16 @@ class Google_Service_CloudResourceManager_Operation extends Google_Model
{
return $this->done;
}
/**
* @param Google_Service_CloudResourceManager_Status
*/
public function setError(Google_Service_CloudResourceManager_Status $error)
{
$this->error = $error;
}
/**
* @return Google_Service_CloudResourceManager_Status
*/
public function getError()
{
return $this->error;

View File

@@ -1,67 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_CloudResourceManager_Organization extends Google_Model
{
public $creationTime;
public $displayName;
public $lifecycleState;
public $name;
protected $ownerType = 'Google_Service_CloudResourceManager_OrganizationOwner';
protected $ownerDataType = '';
public function setCreationTime($creationTime)
{
$this->creationTime = $creationTime;
}
public function getCreationTime()
{
return $this->creationTime;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setLifecycleState($lifecycleState)
{
$this->lifecycleState = $lifecycleState;
}
public function getLifecycleState()
{
return $this->lifecycleState;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setOwner(Google_Service_CloudResourceManager_OrganizationOwner $owner)
{
$this->owner = $owner;
}
public function getOwner()
{
return $this->owner;
}
}

View File

@@ -1,30 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_CloudResourceManager_OrganizationOwner extends Google_Model
{
public $directoryCustomerId;
public function setDirectoryCustomerId($directoryCustomerId)
{
$this->directoryCustomerId = $directoryCustomerId;
}
public function getDirectoryCustomerId()
{
return $this->directoryCustomerId;
}
}

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
@@ -25,18 +25,30 @@ class Google_Service_CloudResourceManager_Policy extends Google_Collection
public $etag;
public $version;
/**
* @param Google_Service_CloudResourceManager_AuditConfig
*/
public function setAuditConfigs($auditConfigs)
{
$this->auditConfigs = $auditConfigs;
}
/**
* @return Google_Service_CloudResourceManager_AuditConfig
*/
public function getAuditConfigs()
{
return $this->auditConfigs;
}
/**
* @param Google_Service_CloudResourceManager_Binding
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Google_Service_CloudResourceManager_Binding
*/
public function getBindings()
{
return $this->bindings;

View File

@@ -1,85 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_CloudResourceManager_Project extends Google_Model
{
public $createTime;
public $labels;
public $lifecycleState;
public $name;
protected $parentType = 'Google_Service_CloudResourceManager_ResourceId';
protected $parentDataType = '';
public $projectId;
public $projectNumber;
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setLabels($labels)
{
$this->labels = $labels;
}
public function getLabels()
{
return $this->labels;
}
public function setLifecycleState($lifecycleState)
{
$this->lifecycleState = $lifecycleState;
}
public function getLifecycleState()
{
return $this->lifecycleState;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setParent(Google_Service_CloudResourceManager_ResourceId $parent)
{
$this->parent = $parent;
}
public function getParent()
{
return $this->parent;
}
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
public function getProjectId()
{
return $this->projectId;
}
public function setProjectNumber($projectNumber)
{
$this->projectNumber = $projectNumber;
}
public function getProjectNumber()
{
return $this->projectNumber;
}
}

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of

View File

@@ -1,88 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "liens" collection of methods.
* Typical usage is:
* <code>
* $cloudresourcemanagerService = new Google_Service_CloudResourceManager(...);
* $liens = $cloudresourcemanagerService->liens;
* </code>
*/
class Google_Service_CloudResourceManager_Resource_Liens extends Google_Service_Resource
{
/**
* Create a Lien which applies to the resource denoted by the `parent` field.
*
* Callers of this method will require permission on the `parent` resource. For
* example, applying to `projects/1234` requires permission
* `resourcemanager.projects.updateLiens`.
*
* NOTE: Some resources may limit the number of Liens which may be applied.
* (liens.create)
*
* @param Google_Service_CloudResourceManager_Lien $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_Lien
*/
public function create(Google_Service_CloudResourceManager_Lien $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_CloudResourceManager_Lien");
}
/**
* Delete a Lien by `name`.
*
* Callers of this method will require permission on the `parent` resource. For
* example, a Lien with a `parent` of `projects/1234` requires permission
* `resourcemanager.projects.updateLiens`. (liens.delete)
*
* @param string $name The name/identifier of the Lien to delete.
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_CloudresourcemanagerEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_CloudResourceManager_CloudresourcemanagerEmpty");
}
/**
* List all Liens applied to the `parent` resource.
*
* Callers of this method will require permission on the `parent` resource. For
* example, a Lien with a `parent` of `projects/1234` requires permission
* `resourcemanager.projects.get`. (liens.listLiens)
*
* @param array $optParams Optional parameters.
*
* @opt_param string parent The name of the resource to list all attached Liens.
* For example, `projects/1234`.
* @opt_param string pageToken The `next_page_token` value returned from a
* previous List request, if any.
* @opt_param int pageSize The maximum number of items to return. This is a
* suggestion for the server.
* @return Google_Service_CloudResourceManager_ListLiensResponse
*/
public function listLiens($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_CloudResourceManager_ListLiensResponse");
}
}

View File

@@ -1,43 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $cloudresourcemanagerService = new Google_Service_CloudResourceManager(...);
* $operations = $cloudresourcemanagerService->operations;
* </code>
*/
class Google_Service_CloudResourceManager_Resource_Operations extends Google_Service_Resource
{
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_Operation
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_CloudResourceManager_Operation");
}
}

View File

@@ -1,114 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "organizations" collection of methods.
* Typical usage is:
* <code>
* $cloudresourcemanagerService = new Google_Service_CloudResourceManager(...);
* $organizations = $cloudresourcemanagerService->organizations;
* </code>
*/
class Google_Service_CloudResourceManager_Resource_Organizations extends Google_Service_Resource
{
/**
* Fetches an Organization resource identified by the specified resource name.
* (organizations.get)
*
* @param string $name The resource name of the Organization to fetch, e.g.
* "organizations/1234".
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_Organization
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_CloudResourceManager_Organization");
}
/**
* Gets the access control policy for an Organization resource. May be empty if
* no such policy or resource exists. The `resource` field should be the
* organization's resource name, e.g. "organizations/123".
* (organizations.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See the operation documentation for the appropriate value for this
* field.
* @param Google_Service_CloudResourceManager_GetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_Policy
*/
public function getIamPolicy($resource, Google_Service_CloudResourceManager_GetIamPolicyRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', array($params), "Google_Service_CloudResourceManager_Policy");
}
/**
* Searches Organization resources that are visible to the user and satisfy the
* specified filter. This method returns Organizations in an unspecified order.
* New Organizations do not necessarily appear at the end of the results.
* (organizations.search)
*
* @param Google_Service_CloudResourceManager_SearchOrganizationsRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_SearchOrganizationsResponse
*/
public function search(Google_Service_CloudResourceManager_SearchOrganizationsRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('search', array($params), "Google_Service_CloudResourceManager_SearchOrganizationsResponse");
}
/**
* Sets the access control policy on an Organization resource. Replaces any
* existing policy. The `resource` field should be the organization's resource
* name, e.g. "organizations/123". (organizations.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See the operation documentation for the appropriate value for this
* field.
* @param Google_Service_CloudResourceManager_SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_Policy
*/
public function setIamPolicy($resource, Google_Service_CloudResourceManager_SetIamPolicyRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', array($params), "Google_Service_CloudResourceManager_Policy");
}
/**
* Returns permissions that a caller has on the specified Organization. The
* `resource` field should be the organization's resource name, e.g.
* "organizations/123". (organizations.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See the operation documentation for the appropriate value
* for this field.
* @param Google_Service_CloudResourceManager_TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_TestIamPermissionsResponse
*/
public function testIamPermissions($resource, Google_Service_CloudResourceManager_TestIamPermissionsRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', array($params), "Google_Service_CloudResourceManager_TestIamPermissionsResponse");
}
}

View File

@@ -1,286 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $cloudresourcemanagerService = new Google_Service_CloudResourceManager(...);
* $projects = $cloudresourcemanagerService->projects;
* </code>
*/
class Google_Service_CloudResourceManager_Resource_Projects extends Google_Service_Resource
{
/**
* Request that a new Project be created. The result is an Operation which can
* be used to track the creation process. It is automatically deleted after a
* few hours, so there is no need to call DeleteOperation.
*
* Our SLO permits Project creation to take up to 30 seconds at the 90th
* percentile. As of 2016-08-29, we are observing 6 seconds 50th percentile
* latency. 95th percentile latency is around 11 seconds. We recommend polling
* at the 5th second with an exponential backoff. (projects.create)
*
* @param Google_Service_CloudResourceManager_Project $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_Operation
*/
public function create(Google_Service_CloudResourceManager_Project $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_CloudResourceManager_Operation");
}
/**
* Marks the Project identified by the specified `project_id` (for example, `my-
* project-123`) for deletion. This method will only affect the Project if the
* following criteria are met:
*
* + The Project does not have a billing account associated with it. + The
* Project has a lifecycle state of ACTIVE.
*
* This method changes the Project's lifecycle state from ACTIVE to
* DELETE_REQUESTED. The deletion starts at an unspecified time, at which point
* the Project is no longer accessible.
*
* Until the deletion completes, you can check the lifecycle state checked by
* retrieving the Project with GetProject, and the Project remains visible to
* ListProjects. However, you cannot update the project.
*
* After the deletion completes, the Project is not retrievable by the
* GetProject and ListProjects methods.
*
* The caller must have modify permissions for this Project. (projects.delete)
*
* @param string $projectId The Project ID (for example, `foo-bar-123`).
*
* Required.
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_CloudresourcemanagerEmpty
*/
public function delete($projectId, $optParams = array())
{
$params = array('projectId' => $projectId);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_CloudResourceManager_CloudresourcemanagerEmpty");
}
/**
* Retrieves the Project identified by the specified `project_id` (for example,
* `my-project-123`).
*
* The caller must have read permissions for this Project. (projects.get)
*
* @param string $projectId The Project ID (for example, `my-project-123`).
*
* Required.
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_Project
*/
public function get($projectId, $optParams = array())
{
$params = array('projectId' => $projectId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_CloudResourceManager_Project");
}
/**
* Gets a list of ancestors in the resource hierarchy for the Project identified
* by the specified `project_id` (for example, `my-project-123`).
*
* The caller must have read permissions for this Project.
* (projects.getAncestry)
*
* @param string $projectId The Project ID (for example, `my-project-123`).
*
* Required.
* @param Google_Service_CloudResourceManager_GetAncestryRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_GetAncestryResponse
*/
public function getAncestry($projectId, Google_Service_CloudResourceManager_GetAncestryRequest $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('getAncestry', array($params), "Google_Service_CloudResourceManager_GetAncestryResponse");
}
/**
* Returns the IAM access control policy for the specified Project. Permission
* is denied if the policy or the resource does not exist.
* (projects.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See the operation documentation for the appropriate value for this
* field.
* @param Google_Service_CloudResourceManager_GetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_Policy
*/
public function getIamPolicy($resource, Google_Service_CloudResourceManager_GetIamPolicyRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', array($params), "Google_Service_CloudResourceManager_Policy");
}
/**
* Lists Projects that are visible to the user and satisfy the specified filter.
* This method returns Projects in an unspecified order. New Projects do not
* necessarily appear at the end of the list. (projects.listProjects)
*
* @param array $optParams Optional parameters.
*
* @opt_param string filter An expression for filtering the results of the
* request. Filter rules are case insensitive. The fields eligible for
* filtering are:
*
* + `name` + `id` + labels.key where *key* is the name of a label
*
* Some examples of using labels as filters:
*
* |Filter|Description| |------|-----------| |name:*|The project has a name.|
* |name:Howl|The project's name is `Howl` or `howl`.| |name:HOWL|Equivalent to
* above.| |NAME:howl|Equivalent to above.| |labels.color:*|The project has the
* label `color`.| |labels.color:red|The project's label `color` has the value
* `red`.| |labels.color:redlabel.size:big|The project's label `color` has the
* value `red` and its label `size` has the value `big`.
*
* Optional.
* @opt_param string pageToken A pagination token returned from a previous call
* to ListProjects that indicates from where listing should continue.
*
* Optional.
* @opt_param int pageSize The maximum number of Projects to return in the
* response. The server can return fewer Projects than requested. If
* unspecified, server picks an appropriate default.
*
* Optional.
* @return Google_Service_CloudResourceManager_ListProjectsResponse
*/
public function listProjects($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_CloudResourceManager_ListProjectsResponse");
}
/**
* Sets the IAM access control policy for the specified Project. Replaces any
* existing policy.
*
* The following constraints apply when using `setIamPolicy()`:
*
* + Project does not support `allUsers` and `allAuthenticatedUsers` as
* `members` in a `Binding` of a `Policy`.
*
* + The owner role can be granted only to `user` and `serviceAccount`.
*
* + Service accounts can be made owners of a project directly without any
* restrictions. However, to be added as an owner, a user must be invited via
* Cloud Platform console and must accept the invitation.
*
* + A user cannot be granted the owner role using `setIamPolicy()`. The user
* must be granted the owner role using the Cloud Platform Console and must
* explicitly accept the invitation.
*
* + Invitations to grant the owner role cannot be sent using `setIamPolicy()`;
* they must be sent only using the Cloud Platform Console.
*
* + Membership changes that leave the project without any owners that have
* accepted the Terms of Service (ToS) will be rejected.
*
* + There must be at least one owner who has accepted the Terms of Service
* (ToS) agreement in the policy. Calling `setIamPolicy()` to to remove the last
* ToS-accepted owner from the policy will fail. This restriction also applies
* to legacy projects that no longer have owners who have accepted the ToS.
* Edits to IAM policies will be rejected until the lack of a ToS-accepting
* owner is rectified.
*
* + Calling this method requires enabling the App Engine Admin API.
*
* Note: Removing service accounts from policies or changing their roles can
* render services completely inoperable. It is important to understand how the
* service account is being used before removing or updating its roles.
* (projects.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See the operation documentation for the appropriate value for this
* field.
* @param Google_Service_CloudResourceManager_SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_Policy
*/
public function setIamPolicy($resource, Google_Service_CloudResourceManager_SetIamPolicyRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', array($params), "Google_Service_CloudResourceManager_Policy");
}
/**
* Returns permissions that a caller has on the specified Project.
* (projects.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See the operation documentation for the appropriate value
* for this field.
* @param Google_Service_CloudResourceManager_TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_TestIamPermissionsResponse
*/
public function testIamPermissions($resource, Google_Service_CloudResourceManager_TestIamPermissionsRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', array($params), "Google_Service_CloudResourceManager_TestIamPermissionsResponse");
}
/**
* Restores the Project identified by the specified `project_id` (for example,
* `my-project-123`). You can only use this method for a Project that has a
* lifecycle state of DELETE_REQUESTED. After deletion starts, the Project
* cannot be restored.
*
* The caller must have modify permissions for this Project. (projects.undelete)
*
* @param string $projectId The project ID (for example, `foo-bar-123`).
*
* Required.
* @param Google_Service_CloudResourceManager_UndeleteProjectRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_CloudresourcemanagerEmpty
*/
public function undelete($projectId, Google_Service_CloudResourceManager_UndeleteProjectRequest $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('undelete', array($params), "Google_Service_CloudResourceManager_CloudresourcemanagerEmpty");
}
/**
* Updates the attributes of the Project identified by the specified
* `project_id` (for example, `my-project-123`).
*
* The caller must have modify permissions for this Project. (projects.update)
*
* @param string $projectId The project ID (for example, `my-project-123`).
*
* Required.
* @param Google_Service_CloudResourceManager_Project $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_CloudResourceManager_Project
*/
public function update($projectId, Google_Service_CloudResourceManager_Project $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_CloudResourceManager_Project");
}
}

View File

@@ -1,39 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_CloudResourceManager_ResourceId extends Google_Model
{
public $id;
public $type;
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -1,48 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_CloudResourceManager_SearchOrganizationsRequest extends Google_Model
{
public $filter;
public $pageSize;
public $pageToken;
public function setFilter($filter)
{
$this->filter = $filter;
}
public function getFilter()
{
return $this->filter;
}
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
public function getPageSize()
{
return $this->pageSize;
}
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
public function getPageToken()
{
return $this->pageToken;
}
}

View File

@@ -1,41 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_CloudResourceManager_SearchOrganizationsResponse extends Google_Collection
{
protected $collection_key = 'organizations';
public $nextPageToken;
protected $organizationsType = 'Google_Service_CloudResourceManager_Organization';
protected $organizationsDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
public function setOrganizations($organizations)
{
$this->organizations = $organizations;
}
public function getOrganizations()
{
return $this->organizations;
}
}

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
@@ -21,10 +21,16 @@ class Google_Service_CloudResourceManager_SetIamPolicyRequest extends Google_Mod
protected $policyDataType = '';
public $updateMask;
/**
* @param Google_Service_CloudResourceManager_Policy
*/
public function setPolicy(Google_Service_CloudResourceManager_Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Google_Service_CloudResourceManager_Policy
*/
public function getPolicy()
{
return $this->policy;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of

View File

@@ -1,20 +0,0 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_CloudResourceManager_UndeleteProjectRequest extends Google_Model
{
}