1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18/** 19 * Service definition for FirebaseDynamicLinksAPI (v1). 20 * 21 * <p> 22 * Firebase Dynamic Links API enables third party developers to create and 23 * manage the Dynamic Links(go/fdl).</p> 24 * 25 * <p> 26 * For more information about this service, see the API 27 * <a href="https://firebase.google.com/docs/dynamic-links/" target="_blank">Documentation</a> 28 * </p> 29 * 30 * @author Google, Inc. 31 */ 32class Google_Service_FirebaseDynamicLinksAPI extends Google_Service 33{ 34 /** View and administer all your Firebase data and settings. */ 35 const FIREBASE = 36 "https://www.googleapis.com/auth/firebase"; 37 38 public $shortDynamicLinks; 39 40 /** 41 * Constructs the internal representation of the FirebaseDynamicLinksAPI 42 * service. 43 * 44 * @param Google_Client $client 45 */ 46 public function __construct(Google_Client $client) 47 { 48 parent::__construct($client); 49 $this->rootUrl = 'https://firebasedynamiclinks.googleapis.com/'; 50 $this->servicePath = ''; 51 $this->version = 'v1'; 52 $this->serviceName = 'firebasedynamiclinks'; 53 54 $this->shortDynamicLinks = new Google_Service_FirebaseDynamicLinksAPI_Resource_ShortDynamicLinks( 55 $this, 56 $this->serviceName, 57 'shortDynamicLinks', 58 array( 59 'methods' => array( 60 'create' => array( 61 'path' => 'v1/shortDynamicLinks', 62 'httpMethod' => 'POST', 63 'parameters' => array(), 64 ), 65 ) 66 ) 67 ); 68 } 69} 70