1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <?php
- /*
- * Copyright 2014 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-
- /**
- * Service definition for FirebaseRemoteConfig (v1).
- *
- * <p>
- * Firebase Remote Config API allows the 3P clients to manage Remote Config
- * conditions and parameters for Firebase applications.</p>
- *
- * <p>
- * For more information about this service, see the API
- * <a href="https://firebase.google.com/docs/remote-config/" target="_blank">Documentation</a>
- * </p>
- *
- * @author Google, Inc.
- */
- class Google_Service_FirebaseRemoteConfig extends Google_Service
- {
-
-
- public $projects;
-
- /**
- * Constructs the internal representation of the FirebaseRemoteConfig service.
- *
- * @param Google_Client $client
- */
- public function __construct(Google_Client $client)
- {
- parent::__construct($client);
- $this->rootUrl = 'https://firebaseremoteconfig.googleapis.com/';
- $this->servicePath = '';
- $this->version = 'v1';
- $this->serviceName = 'firebaseremoteconfig';
-
- $this->projects = new Google_Service_FirebaseRemoteConfig_Resource_Projects(
- $this,
- $this->serviceName,
- 'projects',
- array(
- 'methods' => array(
- 'getRemoteConfig' => array(
- 'path' => 'v1/{+project}/remoteConfig',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'project' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'updateRemoteConfig' => array(
- 'path' => 'v1/{+project}/remoteConfig',
- 'httpMethod' => 'PUT',
- 'parameters' => array(
- 'project' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'validateOnly' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),
- )
- )
- );
- }
- }
|