Nouveaux fichier suite maj librairies vendor
This commit is contained in:
47
vendor/google/apiclient-services/src/Google/Service/Iam/AuditConfig.php
vendored
Normal file
47
vendor/google/apiclient-services/src/Google/Service/Iam/AuditConfig.php
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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_Iam_AuditConfig extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'auditLogConfigs';
|
||||
protected $auditLogConfigsType = 'Google_Service_Iam_AuditLogConfig';
|
||||
protected $auditLogConfigsDataType = 'array';
|
||||
public $service;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Iam_AuditLogConfig
|
||||
*/
|
||||
public function setAuditLogConfigs($auditLogConfigs)
|
||||
{
|
||||
$this->auditLogConfigs = $auditLogConfigs;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Iam_AuditLogConfig
|
||||
*/
|
||||
public function getAuditLogConfigs()
|
||||
{
|
||||
return $this->auditLogConfigs;
|
||||
}
|
||||
public function setService($service)
|
||||
{
|
||||
$this->service = $service;
|
||||
}
|
||||
public function getService()
|
||||
{
|
||||
return $this->service;
|
||||
}
|
||||
}
|
||||
40
vendor/google/apiclient-services/src/Google/Service/Iam/AuditLogConfig.php
vendored
Normal file
40
vendor/google/apiclient-services/src/Google/Service/Iam/AuditLogConfig.php
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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_Iam_AuditLogConfig extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'exemptedMembers';
|
||||
public $exemptedMembers;
|
||||
public $logType;
|
||||
|
||||
public function setExemptedMembers($exemptedMembers)
|
||||
{
|
||||
$this->exemptedMembers = $exemptedMembers;
|
||||
}
|
||||
public function getExemptedMembers()
|
||||
{
|
||||
return $this->exemptedMembers;
|
||||
}
|
||||
public function setLogType($logType)
|
||||
{
|
||||
$this->logType = $logType;
|
||||
}
|
||||
public function getLogType()
|
||||
{
|
||||
return $this->logType;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Iam/AuditableService.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Iam/AuditableService.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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_Iam_AuditableService extends Google_Model
|
||||
{
|
||||
public $name;
|
||||
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
46
vendor/google/apiclient-services/src/Google/Service/Iam/CreateRoleRequest.php
vendored
Normal file
46
vendor/google/apiclient-services/src/Google/Service/Iam/CreateRoleRequest.php
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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_Iam_CreateRoleRequest extends Google_Model
|
||||
{
|
||||
protected $roleType = 'Google_Service_Iam_Role';
|
||||
protected $roleDataType = '';
|
||||
public $roleId;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Iam_Role
|
||||
*/
|
||||
public function setRole(Google_Service_Iam_Role $role)
|
||||
{
|
||||
$this->role = $role;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Iam_Role
|
||||
*/
|
||||
public function getRole()
|
||||
{
|
||||
return $this->role;
|
||||
}
|
||||
public function setRoleId($roleId)
|
||||
{
|
||||
$this->roleId = $roleId;
|
||||
}
|
||||
public function getRoleId()
|
||||
{
|
||||
return $this->roleId;
|
||||
}
|
||||
}
|
||||
47
vendor/google/apiclient-services/src/Google/Service/Iam/ListRolesResponse.php
vendored
Normal file
47
vendor/google/apiclient-services/src/Google/Service/Iam/ListRolesResponse.php
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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_Iam_ListRolesResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'roles';
|
||||
public $nextPageToken;
|
||||
protected $rolesType = 'Google_Service_Iam_Role';
|
||||
protected $rolesDataType = 'array';
|
||||
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Iam_Role
|
||||
*/
|
||||
public function setRoles($roles)
|
||||
{
|
||||
$this->roles = $roles;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Iam_Role
|
||||
*/
|
||||
public function getRoles()
|
||||
{
|
||||
return $this->roles;
|
||||
}
|
||||
}
|
||||
84
vendor/google/apiclient-services/src/Google/Service/Iam/Permission.php
vendored
Normal file
84
vendor/google/apiclient-services/src/Google/Service/Iam/Permission.php
vendored
Normal file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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_Iam_Permission extends Google_Model
|
||||
{
|
||||
public $apiDisabled;
|
||||
public $customRolesSupportLevel;
|
||||
public $description;
|
||||
public $name;
|
||||
public $onlyInPredefinedRoles;
|
||||
public $stage;
|
||||
public $title;
|
||||
|
||||
public function setApiDisabled($apiDisabled)
|
||||
{
|
||||
$this->apiDisabled = $apiDisabled;
|
||||
}
|
||||
public function getApiDisabled()
|
||||
{
|
||||
return $this->apiDisabled;
|
||||
}
|
||||
public function setCustomRolesSupportLevel($customRolesSupportLevel)
|
||||
{
|
||||
$this->customRolesSupportLevel = $customRolesSupportLevel;
|
||||
}
|
||||
public function getCustomRolesSupportLevel()
|
||||
{
|
||||
return $this->customRolesSupportLevel;
|
||||
}
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setOnlyInPredefinedRoles($onlyInPredefinedRoles)
|
||||
{
|
||||
$this->onlyInPredefinedRoles = $onlyInPredefinedRoles;
|
||||
}
|
||||
public function getOnlyInPredefinedRoles()
|
||||
{
|
||||
return $this->onlyInPredefinedRoles;
|
||||
}
|
||||
public function setStage($stage)
|
||||
{
|
||||
$this->stage = $stage;
|
||||
}
|
||||
public function getStage()
|
||||
{
|
||||
return $this->stage;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Iam/QueryAuditableServicesRequest.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Iam/QueryAuditableServicesRequest.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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_Iam_QueryAuditableServicesRequest extends Google_Model
|
||||
{
|
||||
public $fullResourceName;
|
||||
|
||||
public function setFullResourceName($fullResourceName)
|
||||
{
|
||||
$this->fullResourceName = $fullResourceName;
|
||||
}
|
||||
public function getFullResourceName()
|
||||
{
|
||||
return $this->fullResourceName;
|
||||
}
|
||||
}
|
||||
38
vendor/google/apiclient-services/src/Google/Service/Iam/QueryAuditableServicesResponse.php
vendored
Normal file
38
vendor/google/apiclient-services/src/Google/Service/Iam/QueryAuditableServicesResponse.php
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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_Iam_QueryAuditableServicesResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'services';
|
||||
protected $servicesType = 'Google_Service_Iam_AuditableService';
|
||||
protected $servicesDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Iam_AuditableService
|
||||
*/
|
||||
public function setServices($services)
|
||||
{
|
||||
$this->services = $services;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Iam_AuditableService
|
||||
*/
|
||||
public function getServices()
|
||||
{
|
||||
return $this->services;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/Iam/QueryTestablePermissionsRequest.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/Iam/QueryTestablePermissionsRequest.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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_Iam_QueryTestablePermissionsRequest extends Google_Model
|
||||
{
|
||||
public $fullResourceName;
|
||||
public $pageSize;
|
||||
public $pageToken;
|
||||
|
||||
public function setFullResourceName($fullResourceName)
|
||||
{
|
||||
$this->fullResourceName = $fullResourceName;
|
||||
}
|
||||
public function getFullResourceName()
|
||||
{
|
||||
return $this->fullResourceName;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
47
vendor/google/apiclient-services/src/Google/Service/Iam/QueryTestablePermissionsResponse.php
vendored
Normal file
47
vendor/google/apiclient-services/src/Google/Service/Iam/QueryTestablePermissionsResponse.php
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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_Iam_QueryTestablePermissionsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'permissions';
|
||||
public $nextPageToken;
|
||||
protected $permissionsType = 'Google_Service_Iam_Permission';
|
||||
protected $permissionsDataType = 'array';
|
||||
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Iam_Permission
|
||||
*/
|
||||
public function setPermissions($permissions)
|
||||
{
|
||||
$this->permissions = $permissions;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Iam_Permission
|
||||
*/
|
||||
public function getPermissions()
|
||||
{
|
||||
return $this->permissions;
|
||||
}
|
||||
}
|
||||
42
vendor/google/apiclient-services/src/Google/Service/Iam/Resource/IamPolicies.php
vendored
Normal file
42
vendor/google/apiclient-services/src/Google/Service/Iam/Resource/IamPolicies.php
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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 "iamPolicies" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $iamService = new Google_Service_Iam(...);
|
||||
* $iamPolicies = $iamService->iamPolicies;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Iam_Resource_IamPolicies extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Returns a list of services that support service level audit logging
|
||||
* configuration for the given resource. (iamPolicies.queryAuditableServices)
|
||||
*
|
||||
* @param Google_Service_Iam_QueryAuditableServicesRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_QueryAuditableServicesResponse
|
||||
*/
|
||||
public function queryAuditableServices(Google_Service_Iam_QueryAuditableServicesRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('queryAuditableServices', array($params), "Google_Service_Iam_QueryAuditableServicesResponse");
|
||||
}
|
||||
}
|
||||
28
vendor/google/apiclient-services/src/Google/Service/Iam/Resource/Organizations.php
vendored
Normal file
28
vendor/google/apiclient-services/src/Google/Service/Iam/Resource/Organizations.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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>
|
||||
* $iamService = new Google_Service_Iam(...);
|
||||
* $organizations = $iamService->organizations;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Iam_Resource_Organizations extends Google_Service_Resource
|
||||
{
|
||||
}
|
||||
139
vendor/google/apiclient-services/src/Google/Service/Iam/Resource/OrganizationsRoles.php
vendored
Normal file
139
vendor/google/apiclient-services/src/Google/Service/Iam/Resource/OrganizationsRoles.php
vendored
Normal file
@@ -0,0 +1,139 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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 "roles" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $iamService = new Google_Service_Iam(...);
|
||||
* $roles = $iamService->roles;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Iam_Resource_OrganizationsRoles extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a new Role. (roles.create)
|
||||
*
|
||||
* @param string $parent The resource name of the parent resource in one of the
|
||||
* following formats: `organizations/{ORGANIZATION_ID}` `projects/{PROJECT_ID}`
|
||||
* @param Google_Service_Iam_CreateRoleRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_Role
|
||||
*/
|
||||
public function create($parent, Google_Service_Iam_CreateRoleRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Iam_Role");
|
||||
}
|
||||
/**
|
||||
* Soft deletes a role. The role is suspended and cannot be used to create new
|
||||
* IAM Policy Bindings. The Role will not be included in `ListRoles()` unless
|
||||
* `show_deleted` is set in the `ListRolesRequest`. The Role contains the
|
||||
* deleted boolean set. Existing Bindings remains, but are inactive. The Role
|
||||
* can be undeleted within 7 days. After 7 days the Role is deleted and all
|
||||
* Bindings associated with the role are removed. (roles.delete)
|
||||
*
|
||||
* @param string $name The resource name of the role in one of the following
|
||||
* formats: `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}`
|
||||
* `projects/{PROJECT_ID}/roles/{ROLE_NAME}`
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string etag Used to perform a consistent read-modify-write.
|
||||
* @return Google_Service_Iam_Role
|
||||
*/
|
||||
public function delete($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_Iam_Role");
|
||||
}
|
||||
/**
|
||||
* Gets a Role definition. (roles.get)
|
||||
*
|
||||
* @param string $name The resource name of the role in one of the following
|
||||
* formats: `roles/{ROLE_NAME}`
|
||||
* `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}`
|
||||
* `projects/{PROJECT_ID}/roles/{ROLE_NAME}`
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_Role
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Iam_Role");
|
||||
}
|
||||
/**
|
||||
* Lists the Roles defined on a resource. (roles.listOrganizationsRoles)
|
||||
*
|
||||
* @param string $parent The resource name of the parent resource in one of the
|
||||
* following formats: `` (empty string) -- this refers to curated roles.
|
||||
* `organizations/{ORGANIZATION_ID}` `projects/{PROJECT_ID}`
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool showDeleted Include Roles that have been deleted.
|
||||
* @opt_param string pageToken Optional pagination token returned in an earlier
|
||||
* ListRolesResponse.
|
||||
* @opt_param int pageSize Optional limit on the number of roles to include in
|
||||
* the response.
|
||||
* @opt_param string view Optional view for the returned Role objects.
|
||||
* @return Google_Service_Iam_ListRolesResponse
|
||||
*/
|
||||
public function listOrganizationsRoles($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Iam_ListRolesResponse");
|
||||
}
|
||||
/**
|
||||
* Updates a Role definition. (roles.patch)
|
||||
*
|
||||
* @param string $name The resource name of the role in one of the following
|
||||
* formats: `roles/{ROLE_NAME}`
|
||||
* `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}`
|
||||
* `projects/{PROJECT_ID}/roles/{ROLE_NAME}`
|
||||
* @param Google_Service_Iam_Role $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string updateMask A mask describing which fields in the Role have
|
||||
* changed.
|
||||
* @return Google_Service_Iam_Role
|
||||
*/
|
||||
public function patch($name, Google_Service_Iam_Role $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_Iam_Role");
|
||||
}
|
||||
/**
|
||||
* Undelete a Role, bringing it back in its previous state. (roles.undelete)
|
||||
*
|
||||
* @param string $name The resource name of the role in one of the following
|
||||
* formats: `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}`
|
||||
* `projects/{PROJECT_ID}/roles/{ROLE_NAME}`
|
||||
* @param Google_Service_Iam_UndeleteRoleRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_Role
|
||||
*/
|
||||
public function undelete($name, Google_Service_Iam_UndeleteRoleRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('undelete', array($params), "Google_Service_Iam_Role");
|
||||
}
|
||||
}
|
||||
43
vendor/google/apiclient-services/src/Google/Service/Iam/Resource/Permissions.php
vendored
Normal file
43
vendor/google/apiclient-services/src/Google/Service/Iam/Resource/Permissions.php
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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 "permissions" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $iamService = new Google_Service_Iam(...);
|
||||
* $permissions = $iamService->permissions;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Iam_Resource_Permissions extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Lists the permissions testable on a resource. A permission is testable if it
|
||||
* can be tested for an identity on a resource.
|
||||
* (permissions.queryTestablePermissions)
|
||||
*
|
||||
* @param Google_Service_Iam_QueryTestablePermissionsRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_QueryTestablePermissionsResponse
|
||||
*/
|
||||
public function queryTestablePermissions(Google_Service_Iam_QueryTestablePermissionsRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('queryTestablePermissions', array($params), "Google_Service_Iam_QueryTestablePermissionsResponse");
|
||||
}
|
||||
}
|
||||
139
vendor/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsRoles.php
vendored
Normal file
139
vendor/google/apiclient-services/src/Google/Service/Iam/Resource/ProjectsRoles.php
vendored
Normal file
@@ -0,0 +1,139 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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 "roles" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $iamService = new Google_Service_Iam(...);
|
||||
* $roles = $iamService->roles;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Iam_Resource_ProjectsRoles extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a new Role. (roles.create)
|
||||
*
|
||||
* @param string $parent The resource name of the parent resource in one of the
|
||||
* following formats: `organizations/{ORGANIZATION_ID}` `projects/{PROJECT_ID}`
|
||||
* @param Google_Service_Iam_CreateRoleRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_Role
|
||||
*/
|
||||
public function create($parent, Google_Service_Iam_CreateRoleRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Iam_Role");
|
||||
}
|
||||
/**
|
||||
* Soft deletes a role. The role is suspended and cannot be used to create new
|
||||
* IAM Policy Bindings. The Role will not be included in `ListRoles()` unless
|
||||
* `show_deleted` is set in the `ListRolesRequest`. The Role contains the
|
||||
* deleted boolean set. Existing Bindings remains, but are inactive. The Role
|
||||
* can be undeleted within 7 days. After 7 days the Role is deleted and all
|
||||
* Bindings associated with the role are removed. (roles.delete)
|
||||
*
|
||||
* @param string $name The resource name of the role in one of the following
|
||||
* formats: `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}`
|
||||
* `projects/{PROJECT_ID}/roles/{ROLE_NAME}`
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string etag Used to perform a consistent read-modify-write.
|
||||
* @return Google_Service_Iam_Role
|
||||
*/
|
||||
public function delete($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_Iam_Role");
|
||||
}
|
||||
/**
|
||||
* Gets a Role definition. (roles.get)
|
||||
*
|
||||
* @param string $name The resource name of the role in one of the following
|
||||
* formats: `roles/{ROLE_NAME}`
|
||||
* `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}`
|
||||
* `projects/{PROJECT_ID}/roles/{ROLE_NAME}`
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_Role
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Iam_Role");
|
||||
}
|
||||
/**
|
||||
* Lists the Roles defined on a resource. (roles.listProjectsRoles)
|
||||
*
|
||||
* @param string $parent The resource name of the parent resource in one of the
|
||||
* following formats: `` (empty string) -- this refers to curated roles.
|
||||
* `organizations/{ORGANIZATION_ID}` `projects/{PROJECT_ID}`
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool showDeleted Include Roles that have been deleted.
|
||||
* @opt_param string pageToken Optional pagination token returned in an earlier
|
||||
* ListRolesResponse.
|
||||
* @opt_param int pageSize Optional limit on the number of roles to include in
|
||||
* the response.
|
||||
* @opt_param string view Optional view for the returned Role objects.
|
||||
* @return Google_Service_Iam_ListRolesResponse
|
||||
*/
|
||||
public function listProjectsRoles($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Iam_ListRolesResponse");
|
||||
}
|
||||
/**
|
||||
* Updates a Role definition. (roles.patch)
|
||||
*
|
||||
* @param string $name The resource name of the role in one of the following
|
||||
* formats: `roles/{ROLE_NAME}`
|
||||
* `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}`
|
||||
* `projects/{PROJECT_ID}/roles/{ROLE_NAME}`
|
||||
* @param Google_Service_Iam_Role $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string updateMask A mask describing which fields in the Role have
|
||||
* changed.
|
||||
* @return Google_Service_Iam_Role
|
||||
*/
|
||||
public function patch($name, Google_Service_Iam_Role $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_Iam_Role");
|
||||
}
|
||||
/**
|
||||
* Undelete a Role, bringing it back in its previous state. (roles.undelete)
|
||||
*
|
||||
* @param string $name The resource name of the role in one of the following
|
||||
* formats: `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}`
|
||||
* `projects/{PROJECT_ID}/roles/{ROLE_NAME}`
|
||||
* @param Google_Service_Iam_UndeleteRoleRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_Role
|
||||
*/
|
||||
public function undelete($name, Google_Service_Iam_UndeleteRoleRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('undelete', array($params), "Google_Service_Iam_Role");
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Iam/UndeleteRoleRequest.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Iam/UndeleteRoleRequest.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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_Iam_UndeleteRoleRequest extends Google_Model
|
||||
{
|
||||
public $etag;
|
||||
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user