* API for provisioning and managing identity resources.
* ** For more information about this service, see the API * Documentation *
* * @author Google, Inc. */ class CloudIdentity extends \Google\Service { /** Private Service: https://www.googleapis.com/auth/cloud-identity.devices. */ const CLOUD_IDENTITY_DEVICES = "https://www.googleapis.com/auth/cloud-identity.devices"; /** See your device details. */ const CLOUD_IDENTITY_DEVICES_LOOKUP = "https://www.googleapis.com/auth/cloud-identity.devices.lookup"; /** Private Service: https://www.googleapis.com/auth/cloud-identity.devices.readonly. */ const CLOUD_IDENTITY_DEVICES_READONLY = "https://www.googleapis.com/auth/cloud-identity.devices.readonly"; /** 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"; /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; public $devices; public $devices_deviceUsers; public $devices_deviceUsers_clientStates; public $groups; public $groups_memberships; /** * Constructs the internal representation of the CloudIdentity service. * * @param Client|array $clientOrConfig The client used to deliver requests, or a * config array to pass to a new Client instance. * @param string $rootUrl The root URL used for requests to the service. */ public function __construct($clientOrConfig = [], $rootUrl = null) { parent::__construct($clientOrConfig); $this->rootUrl = $rootUrl ?: 'https://cloudidentity.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1'; $this->serviceName = 'cloudidentity'; $this->devices = new CloudIdentity\Resource\Devices( $this, $this->serviceName, 'devices', [ 'methods' => [ 'cancelWipe' => [ 'path' => 'v1/{+name}:cancelWipe', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'create' => [ 'path' => 'v1/devices', 'httpMethod' => 'POST', 'parameters' => [ 'customer' => [ 'location' => 'query', 'type' => 'string', ], ], ],'delete' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'customer' => [ 'location' => 'query', 'type' => 'string', ], ], ],'get' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'customer' => [ 'location' => 'query', 'type' => 'string', ], ], ],'list' => [ 'path' => 'v1/devices', 'httpMethod' => 'GET', 'parameters' => [ 'customer' => [ 'location' => 'query', 'type' => 'string', ], 'filter' => [ 'location' => 'query', 'type' => 'string', ], 'orderBy' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], 'view' => [ 'location' => 'query', 'type' => 'string', ], ], ],'wipe' => [ 'path' => 'v1/{+name}:wipe', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ], ] ] ); $this->devices_deviceUsers = new CloudIdentity\Resource\DevicesDeviceUsers( $this, $this->serviceName, 'deviceUsers', [ 'methods' => [ 'approve' => [ 'path' => 'v1/{+name}:approve', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'block' => [ 'path' => 'v1/{+name}:block', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'cancelWipe' => [ 'path' => 'v1/{+name}:cancelWipe', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'customer' => [ 'location' => 'query', 'type' => 'string', ], ], ],'get' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'customer' => [ 'location' => 'query', 'type' => 'string', ], ], ],'list' => [ 'path' => 'v1/{+parent}/deviceUsers', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'customer' => [ 'location' => 'query', 'type' => 'string', ], 'filter' => [ 'location' => 'query', 'type' => 'string', ], 'orderBy' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'lookup' => [ 'path' => 'v1/{+parent}:lookup', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'androidId' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], 'rawResourceId' => [ 'location' => 'query', 'type' => 'string', ], 'userId' => [ 'location' => 'query', 'type' => 'string', ], ], ],'wipe' => [ 'path' => 'v1/{+name}:wipe', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ], ] ] ); $this->devices_deviceUsers_clientStates = new CloudIdentity\Resource\DevicesDeviceUsersClientStates( $this, $this->serviceName, 'clientStates', [ 'methods' => [ 'get' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'customer' => [ 'location' => 'query', 'type' => 'string', ], ], ],'list' => [ 'path' => 'v1/{+parent}/clientStates', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'customer' => [ 'location' => 'query', 'type' => 'string', ], 'filter' => [ 'location' => 'query', 'type' => 'string', ], 'orderBy' => [ 'location' => 'query', 'type' => 'string', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'customer' => [ 'location' => 'query', 'type' => 'string', ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->groups = new CloudIdentity\Resource\Groups( $this, $this->serviceName, 'groups', [ 'methods' => [ 'create' => [ 'path' => 'v1/groups', 'httpMethod' => 'POST', 'parameters' => [ 'initialGroupConfig' => [ 'location' => 'query', 'type' => 'string', ], ], ],'delete' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'getSecuritySettings' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'readMask' => [ 'location' => 'query', 'type' => 'string', ], ], ],'list' => [ 'path' => 'v1/groups', 'httpMethod' => 'GET', 'parameters' => [ 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], 'parent' => [ 'location' => 'query', 'type' => 'string', ], 'view' => [ 'location' => 'query', 'type' => 'string', ], ], ],'lookup' => [ 'path' => 'v1/groups:lookup', 'httpMethod' => 'GET', 'parameters' => [ 'groupKey.id' => [ 'location' => 'query', 'type' => 'string', ], 'groupKey.namespace' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ],'search' => [ 'path' => 'v1/groups:search', 'httpMethod' => 'GET', 'parameters' => [ 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], 'query' => [ 'location' => 'query', 'type' => 'string', ], 'view' => [ 'location' => 'query', 'type' => 'string', ], ], ],'updateSecuritySettings' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->groups_memberships = new CloudIdentity\Resource\GroupsMemberships( $this, $this->serviceName, 'memberships', [ 'methods' => [ 'checkTransitiveMembership' => [ 'path' => 'v1/{+parent}/memberships:checkTransitiveMembership', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'query' => [ 'location' => 'query', 'type' => 'string', ], ], ],'create' => [ 'path' => 'v1/{+parent}/memberships', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'getMembershipGraph' => [ 'path' => 'v1/{+parent}/memberships:getMembershipGraph', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'query' => [ 'location' => 'query', 'type' => 'string', ], ], ],'list' => [ 'path' => 'v1/{+parent}/memberships', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], 'view' => [ 'location' => 'query', 'type' => 'string', ], ], ],'lookup' => [ 'path' => 'v1/{+parent}/memberships:lookup', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'memberKey.id' => [ 'location' => 'query', 'type' => 'string', ], 'memberKey.namespace' => [ 'location' => 'query', 'type' => 'string', ], ], ],'modifyMembershipRoles' => [ 'path' => 'v1/{+name}:modifyMembershipRoles', 'httpMethod' => 'POST', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'searchTransitiveGroups' => [ 'path' => 'v1/{+parent}/memberships:searchTransitiveGroups', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], 'query' => [ 'location' => 'query', 'type' => 'string', ], ], ],'searchTransitiveMemberships' => [ 'path' => 'v1/{+parent}/memberships:searchTransitiveMemberships', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CloudIdentity::class, 'Google_Service_CloudIdentity');