* Creates and manages rules that determine when a Firebase Rules-enabled * service should permit a request.
* ** For more information about this service, see the API * Documentation *
* * @author Google, Inc. */ class Google_Service_FirebaseRulesAPI extends Google_Service { /** View and manage your data across Google Cloud Platform services. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; /** View and administer all your Firebase data and settings. */ const FIREBASE = "https://www.googleapis.com/auth/firebase"; /** View all your Firebase data and settings. */ const FIREBASE_READONLY = "https://www.googleapis.com/auth/firebase.readonly"; public $projects; public $projects_releases; public $projects_rulesets; /** * Constructs the internal representation of the FirebaseRulesAPI service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://firebaserules.googleapis.com/'; $this->servicePath = ''; $this->version = 'v1'; $this->serviceName = 'firebaserules'; $this->projects = new Google_Service_FirebaseRulesAPI_Resource_Projects( $this, $this->serviceName, 'projects', array( 'methods' => array( 'test' => array( 'path' => 'v1/{+name}:test', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->projects_releases = new Google_Service_FirebaseRulesAPI_Resource_ProjectsReleases( $this, $this->serviceName, 'releases', array( 'methods' => array( 'create' => array( 'path' => 'v1/{+name}/releases', '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, ), ), ),'list' => array( 'path' => 'v1/{+name}/releases', 'httpMethod' => 'GET', 'parameters' => array( 'name' => 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', ), ), ),'update' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'PUT', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->projects_rulesets = new Google_Service_FirebaseRulesAPI_Resource_ProjectsRulesets( $this, $this->serviceName, 'rulesets', array( 'methods' => array( 'create' => array( 'path' => 'v1/{+name}/rulesets', '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, ), ), ),'list' => array( 'path' => 'v1/{+name}/rulesets', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); } }