PluginProbe
Authorizer / 2.6.10
Authorizer v2.6.10
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / vendor / google-api-php-client / src / Google / Service / Dataproc.php

Dataproc.php in Authorizer 2.6.10, at vendor/google-api-php-client/src/Google/Service/Dataproc.php

320 lines 7.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 * use this file except in compliance with the License. You may obtain a copy of
5 * the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 * License for the specific language governing permissions and limitations under
13 * the License.
14 */
15
16 /**
17 * Service definition for Dataproc (v1).
18 *
19 * <p>
20 * An API for managing Hadoop-based clusters and jobs on Google Cloud Platform.</p>
21 *
22 * <p>
23 * For more information about this service, see the API
24 * <a href="https://cloud.google.com/dataproc/" target="_blank">Documentation</a>
25 * </p>
26 *
27 * @author Google, Inc.
28 */
29 class Google_Service_Dataproc extends Google_Service
30 {
31 /** View and manage your data across Google Cloud Platform services. */
32 const CLOUD_PLATFORM =
33 "https://www.googleapis.com/auth/cloud-platform";
34 /** Administrate log data for your projects. */
35 const LOGGING_ADMIN =
36 "https://www.googleapis.com/auth/logging.admin";
37 /** View log data for your projects. */
38 const LOGGING_READ =
39 "https://www.googleapis.com/auth/logging.read";
40 /** Submit log data for your projects. */
41 const LOGGING_WRITE =
42 "https://www.googleapis.com/auth/logging.write";
43
44 public $media;
45
46
47 /**
48 * Constructs the internal representation of the Dataproc service.
49 *
50 * @param Google_Client $client
51 */
52 public function __construct(Google_Client $client)
53 {
54 parent::__construct($client);
55 $this->rootUrl = 'https://dataproc.googleapis.com/';
56 $this->servicePath = '';
57 $this->version = 'v1';
58 $this->serviceName = 'dataproc';
59
60 $this->media = new Google_Service_Dataproc_Media_Resource(
61 $this,
62 $this->serviceName,
63 'media',
64 array(
65 'methods' => array(
66 'download' => array(
67 'path' => 'v1/media/{+resourceName}',
68 'httpMethod' => 'GET',
69 'parameters' => array(
70 'resourceName' => array(
71 'location' => 'path',
72 'type' => 'string',
73 'required' => true,
74 ),
75 ),
76 ),'upload' => array(
77 'path' => 'v1/media/{+resourceName}',
78 'httpMethod' => 'POST',
79 'parameters' => array(
80 'resourceName' => array(
81 'location' => 'path',
82 'type' => 'string',
83 'required' => true,
84 ),
85 ),
86 ),
87 )
88 )
89 );
90 }
91 }
92
93
94 /**
95 * The "media" collection of methods.
96 * Typical usage is:
97 * <code>
98 * $dataprocService = new Google_Service_Dataproc(...);
99 * $media = $dataprocService->media;
100 * </code>
101 */
102 class Google_Service_Dataproc_Media_Resource extends Google_Service_Resource
103 {
104
105 /**
106 * Method for media download. Download is supported on the URI
107 * `/v1/media/{+name}?alt=media`. (media.download)
108 *
109 * @param string $resourceName Name of the media that is being downloaded. See
110 * [][ByteStream.ReadRequest.resource_name].
111 * @param array $optParams Optional parameters.
112 * @return Google_Service_Dataproc_Media
113 */
114 public function download($resourceName, $optParams = array())
115 {
116 $params = array('resourceName' => $resourceName);
117 $params = array_merge($params, $optParams);
118 return $this->call('download', array($params), "Google_Service_Dataproc_Media");
119 }
120
121 /**
122 * Method for media upload. Upload is supported on the URI
123 * `/upload/v1/media/{+name}`. (media.upload)
124 *
125 * @param string $resourceName Name of the media that is being downloaded. See
126 * [][ByteStream.ReadRequest.resource_name].
127 * @param Google_Media $postBody
128 * @param array $optParams Optional parameters.
129 * @return Google_Service_Dataproc_Media
130 */
131 public function upload($resourceName, Google_Service_Dataproc_Media $postBody, $optParams = array())
132 {
133 $params = array('resourceName' => $resourceName, 'postBody' => $postBody);
134 $params = array_merge($params, $optParams);
135 return $this->call('upload', array($params), "Google_Service_Dataproc_Media");
136 }
137 }
138
139
140
141
142 class Google_Service_Dataproc_DiagnoseClusterOutputLocation extends Google_Model
143 {
144 protected $internal_gapi_mappings = array(
145 );
146 public $outputUri;
147
148
149 public function setOutputUri($outputUri)
150 {
151 $this->outputUri = $outputUri;
152 }
153 public function getOutputUri()
154 {
155 return $this->outputUri;
156 }
157 }
158
159 class Google_Service_Dataproc_Media extends Google_Model
160 {
161 protected $internal_gapi_mappings = array(
162 );
163 public $resourceName;
164
165
166 public function setResourceName($resourceName)
167 {
168 $this->resourceName = $resourceName;
169 }
170 public function getResourceName()
171 {
172 return $this->resourceName;
173 }
174 }
175
176 class Google_Service_Dataproc_OperationMetadata extends Google_Collection
177 {
178 protected $collection_key = 'statusHistory';
179 protected $internal_gapi_mappings = array(
180 );
181 public $clusterName;
182 public $clusterUuid;
183 public $details;
184 public $endTime;
185 public $innerState;
186 public $insertTime;
187 public $startTime;
188 public $state;
189 protected $statusType = 'Google_Service_Dataproc_OperationStatus';
190 protected $statusDataType = '';
191 protected $statusHistoryType = 'Google_Service_Dataproc_OperationStatus';
192 protected $statusHistoryDataType = 'array';
193
194
195 public function setClusterName($clusterName)
196 {
197 $this->clusterName = $clusterName;
198 }
199 public function getClusterName()
200 {
201 return $this->clusterName;
202 }
203 public function setClusterUuid($clusterUuid)
204 {
205 $this->clusterUuid = $clusterUuid;
206 }
207 public function getClusterUuid()
208 {
209 return $this->clusterUuid;
210 }
211 public function setDetails($details)
212 {
213 $this->details = $details;
214 }
215 public function getDetails()
216 {
217 return $this->details;
218 }
219 public function setEndTime($endTime)
220 {
221 $this->endTime = $endTime;
222 }
223 public function getEndTime()
224 {
225 return $this->endTime;
226 }
227 public function setInnerState($innerState)
228 {
229 $this->innerState = $innerState;
230 }
231 public function getInnerState()
232 {
233 return $this->innerState;
234 }
235 public function setInsertTime($insertTime)
236 {
237 $this->insertTime = $insertTime;
238 }
239 public function getInsertTime()
240 {
241 return $this->insertTime;
242 }
243 public function setStartTime($startTime)
244 {
245 $this->startTime = $startTime;
246 }
247 public function getStartTime()
248 {
249 return $this->startTime;
250 }
251 public function setState($state)
252 {
253 $this->state = $state;
254 }
255 public function getState()
256 {
257 return $this->state;
258 }
259 public function setStatus(Google_Service_Dataproc_OperationStatus $status)
260 {
261 $this->status = $status;
262 }
263 public function getStatus()
264 {
265 return $this->status;
266 }
267 public function setStatusHistory($statusHistory)
268 {
269 $this->statusHistory = $statusHistory;
270 }
271 public function getStatusHistory()
272 {
273 return $this->statusHistory;
274 }
275 }
276
277 class Google_Service_Dataproc_OperationStatus extends Google_Model
278 {
279 protected $internal_gapi_mappings = array(
280 );
281 public $details;
282 public $innerState;
283 public $state;
284 public $stateStartTime;
285
286
287 public function setDetails($details)
288 {
289 $this->details = $details;
290 }
291 public function getDetails()
292 {
293 return $this->details;
294 }
295 public function setInnerState($innerState)
296 {
297 $this->innerState = $innerState;
298 }
299 public function getInnerState()
300 {
301 return $this->innerState;
302 }
303 public function setState($state)
304 {
305 $this->state = $state;
306 }
307 public function getState()
308 {
309 return $this->state;
310 }
311 public function setStateStartTime($stateStartTime)
312 {
313 $this->stateStartTime = $stateStartTime;
314 }
315 public function getStateStartTime()
316 {
317 return $this->stateStartTime;
318 }
319 }
320