source: vendor/google/apiclient-services/src/CloudDebugger.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 8.2 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 CloudDebugger (v2).
24 *
25 * <p>
26 * Examines the call stack and variables of a running application without
27 * stopping or slowing it down. (Deprecated)</p>
28 *
29 * <p>
30 * For more information about this service, see the API
31 * <a href="https://cloud.google.com/debugger" target="_blank">Documentation</a>
32 * </p>
33 *
34 * @author Google, Inc.
35 */
36class CloudDebugger extends \Google\Service
37{
38 /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
39 const CLOUD_PLATFORM =
40 "https://www.googleapis.com/auth/cloud-platform";
41 /** Use Stackdriver Debugger. */
42 const CLOUD_DEBUGGER =
43 "https://www.googleapis.com/auth/cloud_debugger";
44
45 public $controller_debuggees;
46 public $controller_debuggees_breakpoints;
47 public $debugger_debuggees;
48 public $debugger_debuggees_breakpoints;
49
50 /**
51 * Constructs the internal representation of the CloudDebugger 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://clouddebugger.googleapis.com/';
61 $this->servicePath = '';
62 $this->batchPath = 'batch';
63 $this->version = 'v2';
64 $this->serviceName = 'clouddebugger';
65
66 $this->controller_debuggees = new CloudDebugger\Resource\ControllerDebuggees(
67 $this,
68 $this->serviceName,
69 'debuggees',
70 [
71 'methods' => [
72 'register' => [
73 'path' => 'v2/controller/debuggees/register',
74 'httpMethod' => 'POST',
75 'parameters' => [],
76 ],
77 ]
78 ]
79 );
80 $this->controller_debuggees_breakpoints = new CloudDebugger\Resource\ControllerDebuggeesBreakpoints(
81 $this,
82 $this->serviceName,
83 'breakpoints',
84 [
85 'methods' => [
86 'list' => [
87 'path' => 'v2/controller/debuggees/{debuggeeId}/breakpoints',
88 'httpMethod' => 'GET',
89 'parameters' => [
90 'debuggeeId' => [
91 'location' => 'path',
92 'type' => 'string',
93 'required' => true,
94 ],
95 'agentId' => [
96 'location' => 'query',
97 'type' => 'string',
98 ],
99 'successOnTimeout' => [
100 'location' => 'query',
101 'type' => 'boolean',
102 ],
103 'waitToken' => [
104 'location' => 'query',
105 'type' => 'string',
106 ],
107 ],
108 ],'update' => [
109 'path' => 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}',
110 'httpMethod' => 'PUT',
111 'parameters' => [
112 'debuggeeId' => [
113 'location' => 'path',
114 'type' => 'string',
115 'required' => true,
116 ],
117 'id' => [
118 'location' => 'path',
119 'type' => 'string',
120 'required' => true,
121 ],
122 ],
123 ],
124 ]
125 ]
126 );
127 $this->debugger_debuggees = new CloudDebugger\Resource\DebuggerDebuggees(
128 $this,
129 $this->serviceName,
130 'debuggees',
131 [
132 'methods' => [
133 'list' => [
134 'path' => 'v2/debugger/debuggees',
135 'httpMethod' => 'GET',
136 'parameters' => [
137 'clientVersion' => [
138 'location' => 'query',
139 'type' => 'string',
140 ],
141 'includeInactive' => [
142 'location' => 'query',
143 'type' => 'boolean',
144 ],
145 'project' => [
146 'location' => 'query',
147 'type' => 'string',
148 ],
149 ],
150 ],
151 ]
152 ]
153 );
154 $this->debugger_debuggees_breakpoints = new CloudDebugger\Resource\DebuggerDebuggeesBreakpoints(
155 $this,
156 $this->serviceName,
157 'breakpoints',
158 [
159 'methods' => [
160 'delete' => [
161 'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}',
162 'httpMethod' => 'DELETE',
163 'parameters' => [
164 'debuggeeId' => [
165 'location' => 'path',
166 'type' => 'string',
167 'required' => true,
168 ],
169 'breakpointId' => [
170 'location' => 'path',
171 'type' => 'string',
172 'required' => true,
173 ],
174 'clientVersion' => [
175 'location' => 'query',
176 'type' => 'string',
177 ],
178 ],
179 ],'get' => [
180 'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}',
181 'httpMethod' => 'GET',
182 'parameters' => [
183 'debuggeeId' => [
184 'location' => 'path',
185 'type' => 'string',
186 'required' => true,
187 ],
188 'breakpointId' => [
189 'location' => 'path',
190 'type' => 'string',
191 'required' => true,
192 ],
193 'clientVersion' => [
194 'location' => 'query',
195 'type' => 'string',
196 ],
197 ],
198 ],'list' => [
199 'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints',
200 'httpMethod' => 'GET',
201 'parameters' => [
202 'debuggeeId' => [
203 'location' => 'path',
204 'type' => 'string',
205 'required' => true,
206 ],
207 'action.value' => [
208 'location' => 'query',
209 'type' => 'string',
210 ],
211 'clientVersion' => [
212 'location' => 'query',
213 'type' => 'string',
214 ],
215 'includeAllUsers' => [
216 'location' => 'query',
217 'type' => 'boolean',
218 ],
219 'includeInactive' => [
220 'location' => 'query',
221 'type' => 'boolean',
222 ],
223 'stripResults' => [
224 'location' => 'query',
225 'type' => 'boolean',
226 ],
227 'waitToken' => [
228 'location' => 'query',
229 'type' => 'string',
230 ],
231 ],
232 ],'set' => [
233 'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set',
234 'httpMethod' => 'POST',
235 'parameters' => [
236 'debuggeeId' => [
237 'location' => 'path',
238 'type' => 'string',
239 'required' => true,
240 ],
241 'canaryOption' => [
242 'location' => 'query',
243 'type' => 'string',
244 ],
245 'clientVersion' => [
246 'location' => 'query',
247 'type' => 'string',
248 ],
249 ],
250 ],
251 ]
252 ]
253 );
254 }
255}
256
257// Adding a class alias for backwards compatibility with the previous class name.
258class_alias(CloudDebugger::class, 'Google_Service_CloudDebugger');
Note: See TracBrowser for help on using the repository browser.