* FCM send API that provides a cross-platform messaging solution to reliably * deliver messages at no cost.
* ** For more information about this service, see the API * Documentation *
* * @author Google, Inc. */ class Google_Service_FirebaseCloudMessaging extends Google_Service { /** View and manage your data across Google Cloud Platform services. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; public $projects_messages; /** * Constructs the internal representation of the FirebaseCloudMessaging * service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://fcm.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1'; $this->serviceName = 'fcm'; $this->projects_messages = new Google_Service_FirebaseCloudMessaging_Resource_ProjectsMessages( $this, $this->serviceName, 'messages', array( 'methods' => array( 'send' => array( 'path' => 'v1/{+parent}/messages:send', 'httpMethod' => 'POST', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); } }