* The Firebase Hosting REST API enables programmatic and customizable * deployments to your Firebase-hosted sites. Use this REST API to deploy new or * updated hosting configurations and content files.
* ** For more information about this service, see the API * Documentation *
* * @author Google, Inc. */ class Google_Service_FirebaseHosting extends Google_Service { /** View and manage your data across Google Cloud Platform services. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; /** View your data across Google Cloud Platform services. */ const CLOUD_PLATFORM_READ_ONLY = "https://www.googleapis.com/auth/cloud-platform.read-only"; /** 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 $sites; public $sites_domains; public $sites_releases; public $sites_versions; public $sites_versions_files; /** * Constructs the internal representation of the FirebaseHosting service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://firebasehosting.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1beta1'; $this->serviceName = 'firebasehosting'; $this->sites = new Google_Service_FirebaseHosting_Resource_Sites( $this, $this->serviceName, 'sites', array( 'methods' => array( 'getConfig' => array( 'path' => 'v1beta1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'updateConfig' => array( 'path' => 'v1beta1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->sites_domains = new Google_Service_FirebaseHosting_Resource_SitesDomains( $this, $this->serviceName, 'domains', array( 'methods' => array( 'create' => array( 'path' => 'v1beta1/{+parent}/domains', 'httpMethod' => 'POST', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'delete' => array( 'path' => 'v1beta1/{+name}', 'httpMethod' => 'DELETE', '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}/domains', 'httpMethod' => 'GET', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'update' => array( 'path' => 'v1beta1/{+name}', 'httpMethod' => 'PUT', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->sites_releases = new Google_Service_FirebaseHosting_Resource_SitesReleases( $this, $this->serviceName, 'releases', array( 'methods' => array( 'create' => array( 'path' => 'v1beta1/{+parent}/releases', 'httpMethod' => 'POST', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'versionName' => array( 'location' => 'query', 'type' => 'string', ), ), ),'list' => array( 'path' => 'v1beta1/{+parent}/releases', 'httpMethod' => 'GET', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), ), ), ) ) ); $this->sites_versions = new Google_Service_FirebaseHosting_Resource_SitesVersions( $this, $this->serviceName, 'versions', array( 'methods' => array( 'create' => array( 'path' => 'v1beta1/{+parent}/versions', 'httpMethod' => 'POST', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'versionId' => array( 'location' => 'query', 'type' => 'string', ), 'sizeBytes' => array( 'location' => 'query', 'type' => 'string', ), ), ),'delete' => array( 'path' => 'v1beta1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'patch' => array( 'path' => 'v1beta1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array( 'location' => 'query', 'type' => 'string', ), ), ),'populateFiles' => array( 'path' => 'v1beta1/{+parent}:populateFiles', 'httpMethod' => 'POST', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->sites_versions_files = new Google_Service_FirebaseHosting_Resource_SitesVersionsFiles( $this, $this->serviceName, 'files', array( 'methods' => array( 'list' => array( 'path' => 'v1beta1/{+parent}/files', 'httpMethod' => 'GET', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'status' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); } }