* An API for controlling access to data by Google personnel.
* ** For more information about this service, see the API * Documentation *
* * @author Google, Inc. */ class Google_Service_AccessApproval extends Google_Service { /** View and manage your data across Google Cloud Platform services. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; public $folders; public $folders_approvalRequests; public $organizations; public $organizations_approvalRequests; public $projects; public $projects_approvalRequests; /** * Constructs the internal representation of the AccessApproval service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://accessapproval.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1beta1'; $this->serviceName = 'accessapproval'; $this->folders = new Google_Service_AccessApproval_Resource_Folders( $this, $this->serviceName, 'folders', array( 'methods' => array( 'getAccessApprovalSettings' => array( 'path' => 'v1beta1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'updateAccessApprovalSettings' => array( 'path' => 'v1beta1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->folders_approvalRequests = new Google_Service_AccessApproval_Resource_FoldersApprovalRequests( $this, $this->serviceName, 'approvalRequests', array( 'methods' => array( 'approve' => array( 'path' => 'v1beta1/{+name}:approve', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'dismiss' => array( 'path' => 'v1beta1/{+name}:dismiss', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'v1beta1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1beta1/{+parent}/approvalRequests', 'httpMethod' => 'GET', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'filter' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->organizations = new Google_Service_AccessApproval_Resource_Organizations( $this, $this->serviceName, 'organizations', array( 'methods' => array( 'getAccessApprovalSettings' => array( 'path' => 'v1beta1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'updateAccessApprovalSettings' => array( 'path' => 'v1beta1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->organizations_approvalRequests = new Google_Service_AccessApproval_Resource_OrganizationsApprovalRequests( $this, $this->serviceName, 'approvalRequests', array( 'methods' => array( 'approve' => array( 'path' => 'v1beta1/{+name}:approve', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'dismiss' => array( 'path' => 'v1beta1/{+name}:dismiss', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'v1beta1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1beta1/{+parent}/approvalRequests', 'httpMethod' => 'GET', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), ), ), ) ) ); $this->projects = new Google_Service_AccessApproval_Resource_Projects( $this, $this->serviceName, 'projects', array( 'methods' => array( 'getAccessApprovalSettings' => array( 'path' => 'v1beta1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'updateAccessApprovalSettings' => array( 'path' => 'v1beta1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->projects_approvalRequests = new Google_Service_AccessApproval_Resource_ProjectsApprovalRequests( $this, $this->serviceName, 'approvalRequests', array( 'methods' => array( 'approve' => array( 'path' => 'v1beta1/{+name}:approve', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'dismiss' => array( 'path' => 'v1beta1/{+name}:dismiss', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'v1beta1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1beta1/{+parent}/approvalRequests', 'httpMethod' => 'GET', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'filter' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); } }