* API for provisioning and managing identity resources.

* *

* For more information about this service, see the API * Documentation *

* * @author Google, Inc. */ class Google_Service_CloudIdentity extends Google_Service { /** See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group. */ const CLOUD_IDENTITY_GROUPS = "https://www.googleapis.com/auth/cloud-identity.groups"; /** See any Cloud Identity Groups that you can access, including group members and their emails. */ const CLOUD_IDENTITY_GROUPS_READONLY = "https://www.googleapis.com/auth/cloud-identity.groups.readonly"; public $groups; public $groups_memberships; /** * Constructs the internal representation of the CloudIdentity service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://cloudidentity.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1'; $this->serviceName = 'cloudidentity'; $this->groups = new Google_Service_CloudIdentity_Resource_Groups( $this, $this->serviceName, 'groups', array( 'methods' => array( 'create' => array( 'path' => 'v1/groups', 'httpMethod' => 'POST', 'parameters' => array(), ),'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, ), ), ),'list' => array( 'path' => 'v1/groups', 'httpMethod' => 'GET', 'parameters' => array( 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'view' => array( 'location' => 'query', 'type' => 'string', ), 'parent' => array( 'location' => 'query', 'type' => 'string', ), ), ),'lookup' => array( 'path' => 'v1/groups:lookup', 'httpMethod' => 'GET', 'parameters' => array( 'groupKey.id' => array( 'location' => 'query', 'type' => 'string', ), 'groupKey.namespace' => 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', ), ), ),'search' => array( 'path' => 'v1/groups:search', 'httpMethod' => 'GET', 'parameters' => array( 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'query' => array( 'location' => 'query', 'type' => 'string', ), 'view' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->groups_memberships = new Google_Service_CloudIdentity_Resource_GroupsMemberships( $this, $this->serviceName, 'memberships', array( 'methods' => array( 'create' => array( 'path' => 'v1/{+parent}/memberships', '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, ), ), ),'get' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1/{+parent}/memberships', 'httpMethod' => 'GET', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'view' => array( 'location' => 'query', 'type' => 'string', ), ), ),'lookup' => array( 'path' => 'v1/{+parent}/memberships:lookup', 'httpMethod' => 'GET', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'memberKey.id' => array( 'location' => 'query', 'type' => 'string', ), 'memberKey.namespace' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); } }