source: vendor/google/apiclient-services/src/CloudRuntimeConfig.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload new project files

  • Property mode set to 100644
File size: 4.0 KB
Line 
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
18namespace Google\Service;
19
20use Google\Client;
21
22/**
23 * Service definition for CloudRuntimeConfig (v1).
24 *
25 * <p>
26 * The Runtime Configurator allows you to dynamically configure and expose
27 * variables through Google Cloud Platform. In addition, you can also set
28 * Watchers and Waiters that will watch for changes to your data and return
29 * based on certain conditions.</p>
30 *
31 * <p>
32 * For more information about this service, see the API
33 * <a href="https://cloud.google.com/deployment-manager/runtime-configurator/" target="_blank">Documentation</a>
34 * </p>
35 *
36 * @author Google, Inc.
37 */
38class CloudRuntimeConfig extends \Google\Service
39{
40 /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
41 const CLOUD_PLATFORM =
42 "https://www.googleapis.com/auth/cloud-platform";
43 /** Manage your Google Cloud Platform services' runtime configuration. */
44 const CLOUDRUNTIMECONFIG =
45 "https://www.googleapis.com/auth/cloudruntimeconfig";
46
47 public $operations;
48 public $rootUrlTemplate;
49
50 /**
51 * Constructs the internal representation of the CloudRuntimeConfig service.
52 *
53 * @param Client|array $clientOrConfig The client used to deliver requests, or a
54 * config array to pass to a new Client instance.
55 * @param string $rootUrl The root URL used for requests to the service.
56 */
57 public function __construct($clientOrConfig = [], $rootUrl = null)
58 {
59 parent::__construct($clientOrConfig);
60 $this->rootUrl = $rootUrl ?: 'https://runtimeconfig.googleapis.com/';
61 $this->rootUrlTemplate = $rootUrl ?: 'https://runtimeconfig.UNIVERSE_DOMAIN/';
62 $this->servicePath = '';
63 $this->batchPath = 'batch';
64 $this->version = 'v1';
65 $this->serviceName = 'runtimeconfig';
66
67 $this->operations = new CloudRuntimeConfig\Resource\Operations(
68 $this,
69 $this->serviceName,
70 'operations',
71 [
72 'methods' => [
73 'cancel' => [
74 'path' => 'v1/{+name}:cancel',
75 'httpMethod' => 'POST',
76 'parameters' => [
77 'name' => [
78 'location' => 'path',
79 'type' => 'string',
80 'required' => true,
81 ],
82 ],
83 ],'delete' => [
84 'path' => 'v1/{+name}',
85 'httpMethod' => 'DELETE',
86 'parameters' => [
87 'name' => [
88 'location' => 'path',
89 'type' => 'string',
90 'required' => true,
91 ],
92 ],
93 ],'list' => [
94 'path' => 'v1/{+name}',
95 'httpMethod' => 'GET',
96 'parameters' => [
97 'name' => [
98 'location' => 'path',
99 'type' => 'string',
100 'required' => true,
101 ],
102 'filter' => [
103 'location' => 'query',
104 'type' => 'string',
105 ],
106 'pageSize' => [
107 'location' => 'query',
108 'type' => 'integer',
109 ],
110 'pageToken' => [
111 'location' => 'query',
112 'type' => 'string',
113 ],
114 ],
115 ],
116 ]
117 ]
118 );
119 }
120}
121
122// Adding a class alias for backwards compatibility with the previous class name.
123class_alias(CloudRuntimeConfig::class, 'Google_Service_CloudRuntimeConfig');
Note: See TracBrowser for help on using the repository browser.