* Manages identity and access control for Google Cloud Platform resources, * including the creation of service accounts, which you can use to authenticate * to Google and make API calls.
* ** For more information about this service, see the API * Documentation *
* * @author Google, Inc. */ class Google_Service_Iam extends Google_Service { /** View and manage your data across Google Cloud Platform services. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; public $iamPolicies; public $organizations_roles; public $permissions; public $projects_roles; public $projects_serviceAccounts; public $projects_serviceAccounts_keys; public $roles; /** * Constructs the internal representation of the Iam service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://iam.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1'; $this->serviceName = 'iam'; $this->iamPolicies = new Google_Service_Iam_Resource_IamPolicies( $this, $this->serviceName, 'iamPolicies', array( 'methods' => array( 'lintPolicy' => array( 'path' => 'v1/iamPolicies:lintPolicy', 'httpMethod' => 'POST', 'parameters' => array(), ),'queryAuditableServices' => array( 'path' => 'v1/iamPolicies:queryAuditableServices', 'httpMethod' => 'POST', 'parameters' => array(), ), ) ) ); $this->organizations_roles = new Google_Service_Iam_Resource_OrganizationsRoles( $this, $this->serviceName, 'roles', array( 'methods' => array( 'create' => array( 'path' => 'v1/{+parent}/roles', 'httpMethod' => 'POST', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'delete' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'etag' => array( 'location' => 'query', 'type' => 'string', ), ), ),'get' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1/{+parent}/roles', 'httpMethod' => 'GET', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'showDeleted' => array( 'location' => 'query', 'type' => 'boolean', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'view' => array( 'location' => 'query', 'type' => 'string', ), ), ),'patch' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array( 'location' => 'query', 'type' => 'string', ), ), ),'undelete' => array( 'path' => 'v1/{+name}:undelete', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->permissions = new Google_Service_Iam_Resource_Permissions( $this, $this->serviceName, 'permissions', array( 'methods' => array( 'queryTestablePermissions' => array( 'path' => 'v1/permissions:queryTestablePermissions', 'httpMethod' => 'POST', 'parameters' => array(), ), ) ) ); $this->projects_roles = new Google_Service_Iam_Resource_ProjectsRoles( $this, $this->serviceName, 'roles', array( 'methods' => array( 'create' => array( 'path' => 'v1/{+parent}/roles', 'httpMethod' => 'POST', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'delete' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'etag' => array( 'location' => 'query', 'type' => 'string', ), ), ),'get' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1/{+parent}/roles', 'httpMethod' => 'GET', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'showDeleted' => array( 'location' => 'query', 'type' => 'boolean', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'view' => array( 'location' => 'query', 'type' => 'string', ), ), ),'patch' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array( 'location' => 'query', 'type' => 'string', ), ), ),'undelete' => array( 'path' => 'v1/{+name}:undelete', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->projects_serviceAccounts = new Google_Service_Iam_Resource_ProjectsServiceAccounts( $this, $this->serviceName, 'serviceAccounts', array( 'methods' => array( 'create' => array( 'path' => 'v1/{+name}/serviceAccounts', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'delete' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'disable' => array( 'path' => 'v1/{+name}:disable', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'enable' => array( 'path' => 'v1/{+name}:enable', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'getIamPolicy' => array( 'path' => 'v1/{+resource}:getIamPolicy', 'httpMethod' => 'POST', 'parameters' => array( 'resource' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1/{+name}/serviceAccounts', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'patch' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'setIamPolicy' => array( 'path' => 'v1/{+resource}:setIamPolicy', 'httpMethod' => 'POST', 'parameters' => array( 'resource' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'signBlob' => array( 'path' => 'v1/{+name}:signBlob', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'signJwt' => array( 'path' => 'v1/{+name}:signJwt', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'testIamPermissions' => array( 'path' => 'v1/{+resource}:testIamPermissions', 'httpMethod' => 'POST', 'parameters' => array( 'resource' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'undelete' => array( 'path' => 'v1/{+name}:undelete', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'update' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'PUT', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->projects_serviceAccounts_keys = new Google_Service_Iam_Resource_ProjectsServiceAccountsKeys( $this, $this->serviceName, 'keys', array( 'methods' => array( 'create' => array( 'path' => 'v1/{+name}/keys', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'delete' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'publicKeyType' => array( 'location' => 'query', 'type' => 'string', ), ), ),'list' => array( 'path' => 'v1/{+name}/keys', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'keyTypes' => array( 'location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), ) ) ); $this->roles = new Google_Service_Iam_Resource_Roles( $this, $this->serviceName, 'roles', array( 'methods' => array( 'get' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1/roles', 'httpMethod' => 'GET', 'parameters' => array( 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'view' => array( 'location' => 'query', 'type' => 'string', ), 'parent' => array( 'location' => 'query', 'type' => 'string', ), 'showDeleted' => array( 'location' => 'query', 'type' => 'boolean', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ),'queryGrantableRoles' => array( 'path' => 'v1/roles:queryGrantableRoles', 'httpMethod' => 'POST', 'parameters' => array(), ), ) ) ); } }