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 CloudRuntimeConfig (v1). 20 * 21 * <p> 22 * The Runtime Configurator allows you to dynamically configure and expose 23 * variables through Google Cloud Platform. In addition, you can also set 24 * Watchers and Waiters that will watch for changes to your data and return 25 * based on certain conditions.</p> 26 * 27 * <p> 28 * For more information about this service, see the API 29 * <a href="https://cloud.google.com/deployment-manager/runtime-configurator/" target="_blank">Documentation</a> 30 * </p> 31 * 32 * @author Google, Inc. 33 */ 34class Google_Service_CloudRuntimeConfig extends Google_Service 35{ 36 /** View and manage your data across Google Cloud Platform services. */ 37 const CLOUD_PLATFORM = 38 "https://www.googleapis.com/auth/cloud-platform"; 39 /** Manage your Google Cloud Platform services' runtime configuration. */ 40 const CLOUDRUNTIMECONFIG = 41 "https://www.googleapis.com/auth/cloudruntimeconfig"; 42 43 public $operations; 44 45 /** 46 * Constructs the internal representation of the CloudRuntimeConfig service. 47 * 48 * @param Google_Client $client 49 */ 50 public function __construct(Google_Client $client) 51 { 52 parent::__construct($client); 53 $this->rootUrl = 'https://runtimeconfig.googleapis.com/'; 54 $this->servicePath = ''; 55 $this->batchPath = 'batch'; 56 $this->version = 'v1'; 57 $this->serviceName = 'runtimeconfig'; 58 59 $this->operations = new Google_Service_CloudRuntimeConfig_Resource_Operations( 60 $this, 61 $this->serviceName, 62 'operations', 63 array( 64 'methods' => array( 65 'cancel' => array( 66 'path' => 'v1/{+name}:cancel', 67 'httpMethod' => 'POST', 68 'parameters' => array( 69 'name' => array( 70 'location' => 'path', 71 'type' => 'string', 72 'required' => true, 73 ), 74 ), 75 ),'delete' => array( 76 'path' => 'v1/{+name}', 77 'httpMethod' => 'DELETE', 78 'parameters' => array( 79 'name' => array( 80 'location' => 'path', 81 'type' => 'string', 82 'required' => true, 83 ), 84 ), 85 ),'list' => array( 86 'path' => 'v1/{+name}', 87 'httpMethod' => 'GET', 88 'parameters' => array( 89 'name' => array( 90 'location' => 'path', 91 'type' => 'string', 92 'required' => true, 93 ), 94 'filter' => array( 95 'location' => 'query', 96 'type' => 'string', 97 ), 98 'pageToken' => array( 99 'location' => 'query', 100 'type' => 'string', 101 ), 102 'pageSize' => array( 103 'location' => 'query', 104 'type' => 'integer', 105 ), 106 ), 107 ), 108 ) 109 ) 110 ); 111 } 112} 113