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 FirebaseRemoteConfig (v1). 20 * 21 * <p> 22 * Firebase Remote Config API allows the 3P clients to manage Remote Config 23 * conditions and parameters for Firebase applications.</p> 24 * 25 * <p> 26 * For more information about this service, see the API 27 * <a href="https://firebase.google.com/docs/remote-config/" target="_blank">Documentation</a> 28 * </p> 29 * 30 * @author Google, Inc. 31 */ 32class Google_Service_FirebaseRemoteConfig extends Google_Service 33{ 34 35 36 public $projects; 37 38 /** 39 * Constructs the internal representation of the FirebaseRemoteConfig service. 40 * 41 * @param Google_Client $client 42 */ 43 public function __construct(Google_Client $client) 44 { 45 parent::__construct($client); 46 $this->rootUrl = 'https://firebaseremoteconfig.googleapis.com/'; 47 $this->servicePath = ''; 48 $this->version = 'v1'; 49 $this->serviceName = 'firebaseremoteconfig'; 50 51 $this->projects = new Google_Service_FirebaseRemoteConfig_Resource_Projects( 52 $this, 53 $this->serviceName, 54 'projects', 55 array( 56 'methods' => array( 57 'getRemoteConfig' => array( 58 'path' => 'v1/{+project}/remoteConfig', 59 'httpMethod' => 'GET', 60 'parameters' => array( 61 'project' => array( 62 'location' => 'path', 63 'type' => 'string', 64 'required' => true, 65 ), 66 ), 67 ),'updateRemoteConfig' => array( 68 'path' => 'v1/{+project}/remoteConfig', 69 'httpMethod' => 'PUT', 70 'parameters' => array( 71 'project' => array( 72 'location' => 'path', 73 'type' => 'string', 74 'required' => true, 75 ), 76 'validateOnly' => array( 77 'location' => 'query', 78 'type' => 'boolean', 79 ), 80 ), 81 ), 82 ) 83 ) 84 ); 85 } 86} 87