PluginProbe
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) / 1.0.5
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) v1.0.5
9.1.2 9.1.1 9.1.0 9.0.2 9.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 All 153 releases
wp-analytify / lib / Google / Service / SQLAdmin.php

SQLAdmin.php in Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) 1.0.5, at lib/Google/Service/SQLAdmin.php

2,783 lines 69.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Copyright 2010 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 SQLAdmin (v1beta3).
20 *
21 * <p>
22 * API for Cloud SQL database instance management.
23 * </p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="https://developers.google.com/cloud-sql/docs/admin-api/" target="_blank">Documentation</a>
28 * </p>
29 *
30 * @author Google, Inc.
31 */
32 class Analytify_Google_Service_SQLAdmin extends Analytify_Google_Service
33 {
34 /** View and manage your data across Google Cloud Platform services. */
35 const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform";
36 /** Manage your Google SQL Service instances. */
37 const SQLSERVICE_ADMIN = "https://www.googleapis.com/auth/sqlservice.admin";
38
39 public $backupRuns;
40 public $flags;
41 public $instances;
42 public $operations;
43 public $sslCerts;
44 public $tiers;
45
46
47 /**
48 * Constructs the internal representation of the SQLAdmin service.
49 *
50 * @param Analytify_Google_Client $client
51 */
52 public function __construct(Analytify_Google_Client $client)
53 {
54 parent::__construct($client);
55 $this->servicePath = 'sql/v1beta3/';
56 $this->version = 'v1beta3';
57 $this->serviceName = 'sqladmin';
58
59 $this->backupRuns = new Analytify_Google_Service_SQLAdmin_BackupRuns_Resource(
60 $this,
61 $this->serviceName,
62 'backupRuns',
63 array(
64 'methods' => array(
65 'get' => array(
66 'path' => 'projects/{project}/instances/{instance}/backupRuns/{backupConfiguration}',
67 'httpMethod' => 'GET',
68 'parameters' => array(
69 'project' => array(
70 'location' => 'path',
71 'type' => 'string',
72 'required' => true,
73 ),
74 'instance' => array(
75 'location' => 'path',
76 'type' => 'string',
77 'required' => true,
78 ),
79 'backupConfiguration' => array(
80 'location' => 'path',
81 'type' => 'string',
82 'required' => true,
83 ),
84 'dueTime' => array(
85 'location' => 'query',
86 'type' => 'string',
87 'required' => true,
88 ),
89 ),
90 ),'list' => array(
91 'path' => 'projects/{project}/instances/{instance}/backupRuns',
92 'httpMethod' => 'GET',
93 'parameters' => array(
94 'project' => array(
95 'location' => 'path',
96 'type' => 'string',
97 'required' => true,
98 ),
99 'instance' => array(
100 'location' => 'path',
101 'type' => 'string',
102 'required' => true,
103 ),
104 'backupConfiguration' => array(
105 'location' => 'query',
106 'type' => 'string',
107 'required' => true,
108 ),
109 'pageToken' => array(
110 'location' => 'query',
111 'type' => 'string',
112 ),
113 'maxResults' => array(
114 'location' => 'query',
115 'type' => 'integer',
116 ),
117 ),
118 ),
119 )
120 )
121 );
122 $this->flags = new Analytify_Google_Service_SQLAdmin_Flags_Resource(
123 $this,
124 $this->serviceName,
125 'flags',
126 array(
127 'methods' => array(
128 'list' => array(
129 'path' => 'flags',
130 'httpMethod' => 'GET',
131 'parameters' => array(),
132 ),
133 )
134 )
135 );
136 $this->instances = new Analytify_Google_Service_SQLAdmin_Instances_Resource(
137 $this,
138 $this->serviceName,
139 'instances',
140 array(
141 'methods' => array(
142 'clone' => array(
143 'path' => 'projects/{project}/instances/clone',
144 'httpMethod' => 'POST',
145 'parameters' => array(
146 'project' => array(
147 'location' => 'path',
148 'type' => 'string',
149 'required' => true,
150 ),
151 ),
152 ),'delete' => array(
153 'path' => 'projects/{project}/instances/{instance}',
154 'httpMethod' => 'DELETE',
155 'parameters' => array(
156 'project' => array(
157 'location' => 'path',
158 'type' => 'string',
159 'required' => true,
160 ),
161 'instance' => array(
162 'location' => 'path',
163 'type' => 'string',
164 'required' => true,
165 ),
166 ),
167 ),'export' => array(
168 'path' => 'projects/{project}/instances/{instance}/export',
169 'httpMethod' => 'POST',
170 'parameters' => array(
171 'project' => array(
172 'location' => 'path',
173 'type' => 'string',
174 'required' => true,
175 ),
176 'instance' => array(
177 'location' => 'path',
178 'type' => 'string',
179 'required' => true,
180 ),
181 ),
182 ),'get' => array(
183 'path' => 'projects/{project}/instances/{instance}',
184 'httpMethod' => 'GET',
185 'parameters' => array(
186 'project' => array(
187 'location' => 'path',
188 'type' => 'string',
189 'required' => true,
190 ),
191 'instance' => array(
192 'location' => 'path',
193 'type' => 'string',
194 'required' => true,
195 ),
196 ),
197 ),'import' => array(
198 'path' => 'projects/{project}/instances/{instance}/import',
199 'httpMethod' => 'POST',
200 'parameters' => array(
201 'project' => array(
202 'location' => 'path',
203 'type' => 'string',
204 'required' => true,
205 ),
206 'instance' => array(
207 'location' => 'path',
208 'type' => 'string',
209 'required' => true,
210 ),
211 ),
212 ),'insert' => array(
213 'path' => 'projects/{project}/instances',
214 'httpMethod' => 'POST',
215 'parameters' => array(
216 'project' => array(
217 'location' => 'path',
218 'type' => 'string',
219 'required' => true,
220 ),
221 ),
222 ),'list' => array(
223 'path' => 'projects/{project}/instances',
224 'httpMethod' => 'GET',
225 'parameters' => array(
226 'project' => array(
227 'location' => 'path',
228 'type' => 'string',
229 'required' => true,
230 ),
231 'pageToken' => array(
232 'location' => 'query',
233 'type' => 'string',
234 ),
235 'maxResults' => array(
236 'location' => 'query',
237 'type' => 'integer',
238 ),
239 ),
240 ),'patch' => array(
241 'path' => 'projects/{project}/instances/{instance}',
242 'httpMethod' => 'PATCH',
243 'parameters' => array(
244 'project' => array(
245 'location' => 'path',
246 'type' => 'string',
247 'required' => true,
248 ),
249 'instance' => array(
250 'location' => 'path',
251 'type' => 'string',
252 'required' => true,
253 ),
254 ),
255 ),'resetSslConfig' => array(
256 'path' => 'projects/{project}/instances/{instance}/resetSslConfig',
257 'httpMethod' => 'POST',
258 'parameters' => array(
259 'project' => array(
260 'location' => 'path',
261 'type' => 'string',
262 'required' => true,
263 ),
264 'instance' => array(
265 'location' => 'path',
266 'type' => 'string',
267 'required' => true,
268 ),
269 ),
270 ),'restart' => array(
271 'path' => 'projects/{project}/instances/{instance}/restart',
272 'httpMethod' => 'POST',
273 'parameters' => array(
274 'project' => array(
275 'location' => 'path',
276 'type' => 'string',
277 'required' => true,
278 ),
279 'instance' => array(
280 'location' => 'path',
281 'type' => 'string',
282 'required' => true,
283 ),
284 ),
285 ),'restoreBackup' => array(
286 'path' => 'projects/{project}/instances/{instance}/restoreBackup',
287 'httpMethod' => 'POST',
288 'parameters' => array(
289 'project' => array(
290 'location' => 'path',
291 'type' => 'string',
292 'required' => true,
293 ),
294 'instance' => array(
295 'location' => 'path',
296 'type' => 'string',
297 'required' => true,
298 ),
299 'backupConfiguration' => array(
300 'location' => 'query',
301 'type' => 'string',
302 'required' => true,
303 ),
304 'dueTime' => array(
305 'location' => 'query',
306 'type' => 'string',
307 'required' => true,
308 ),
309 ),
310 ),'setRootPassword' => array(
311 'path' => 'projects/{project}/instances/{instance}/setRootPassword',
312 'httpMethod' => 'POST',
313 'parameters' => array(
314 'project' => array(
315 'location' => 'path',
316 'type' => 'string',
317 'required' => true,
318 ),
319 'instance' => array(
320 'location' => 'path',
321 'type' => 'string',
322 'required' => true,
323 ),
324 ),
325 ),'update' => array(
326 'path' => 'projects/{project}/instances/{instance}',
327 'httpMethod' => 'PUT',
328 'parameters' => array(
329 'project' => array(
330 'location' => 'path',
331 'type' => 'string',
332 'required' => true,
333 ),
334 'instance' => array(
335 'location' => 'path',
336 'type' => 'string',
337 'required' => true,
338 ),
339 ),
340 ),
341 )
342 )
343 );
344 $this->operations = new Analytify_Google_Service_SQLAdmin_Operations_Resource(
345 $this,
346 $this->serviceName,
347 'operations',
348 array(
349 'methods' => array(
350 'get' => array(
351 'path' => 'projects/{project}/instances/{instance}/operations/{operation}',
352 'httpMethod' => 'GET',
353 'parameters' => array(
354 'project' => array(
355 'location' => 'path',
356 'type' => 'string',
357 'required' => true,
358 ),
359 'instance' => array(
360 'location' => 'path',
361 'type' => 'string',
362 'required' => true,
363 ),
364 'operation' => array(
365 'location' => 'path',
366 'type' => 'string',
367 'required' => true,
368 ),
369 ),
370 ),'list' => array(
371 'path' => 'projects/{project}/instances/{instance}/operations',
372 'httpMethod' => 'GET',
373 'parameters' => array(
374 'project' => array(
375 'location' => 'path',
376 'type' => 'string',
377 'required' => true,
378 ),
379 'instance' => array(
380 'location' => 'path',
381 'type' => 'string',
382 'required' => true,
383 ),
384 'maxResults' => array(
385 'location' => 'query',
386 'type' => 'integer',
387 ),
388 'pageToken' => array(
389 'location' => 'query',
390 'type' => 'string',
391 ),
392 ),
393 ),
394 )
395 )
396 );
397 $this->sslCerts = new Analytify_Google_Service_SQLAdmin_SslCerts_Resource(
398 $this,
399 $this->serviceName,
400 'sslCerts',
401 array(
402 'methods' => array(
403 'delete' => array(
404 'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}',
405 'httpMethod' => 'DELETE',
406 'parameters' => array(
407 'project' => array(
408 'location' => 'path',
409 'type' => 'string',
410 'required' => true,
411 ),
412 'instance' => array(
413 'location' => 'path',
414 'type' => 'string',
415 'required' => true,
416 ),
417 'sha1Fingerprint' => array(
418 'location' => 'path',
419 'type' => 'string',
420 'required' => true,
421 ),
422 ),
423 ),'get' => array(
424 'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}',
425 'httpMethod' => 'GET',
426 'parameters' => array(
427 'project' => array(
428 'location' => 'path',
429 'type' => 'string',
430 'required' => true,
431 ),
432 'instance' => array(
433 'location' => 'path',
434 'type' => 'string',
435 'required' => true,
436 ),
437 'sha1Fingerprint' => array(
438 'location' => 'path',
439 'type' => 'string',
440 'required' => true,
441 ),
442 ),
443 ),'insert' => array(
444 'path' => 'projects/{project}/instances/{instance}/sslCerts',
445 'httpMethod' => 'POST',
446 'parameters' => array(
447 'project' => array(
448 'location' => 'path',
449 'type' => 'string',
450 'required' => true,
451 ),
452 'instance' => array(
453 'location' => 'path',
454 'type' => 'string',
455 'required' => true,
456 ),
457 ),
458 ),'list' => array(
459 'path' => 'projects/{project}/instances/{instance}/sslCerts',
460 'httpMethod' => 'GET',
461 'parameters' => array(
462 'project' => array(
463 'location' => 'path',
464 'type' => 'string',
465 'required' => true,
466 ),
467 'instance' => array(
468 'location' => 'path',
469 'type' => 'string',
470 'required' => true,
471 ),
472 ),
473 ),
474 )
475 )
476 );
477 $this->tiers = new Analytify_Google_Service_SQLAdmin_Tiers_Resource(
478 $this,
479 $this->serviceName,
480 'tiers',
481 array(
482 'methods' => array(
483 'list' => array(
484 'path' => 'projects/{project}/tiers',
485 'httpMethod' => 'GET',
486 'parameters' => array(
487 'project' => array(
488 'location' => 'path',
489 'type' => 'string',
490 'required' => true,
491 ),
492 ),
493 ),
494 )
495 )
496 );
497 }
498 }
499
500
501 /**
502 * The "backupRuns" collection of methods.
503 * Typical usage is:
504 * <code>
505 * $sqladminService = new Analytify_Google_Service_SQLAdmin(...);
506 * $backupRuns = $sqladminService->backupRuns;
507 * </code>
508 */
509 class Analytify_Google_Service_SQLAdmin_BackupRuns_Resource extends Analytify_Google_Service_Resource
510 {
511
512 /**
513 * Retrieves a resource containing information about a backup run.
514 * (backupRuns.get)
515 *
516 * @param string $project
517 * Project ID of the project that contains the instance.
518 * @param string $instance
519 * Cloud SQL instance ID. This does not include the project ID.
520 * @param string $backupConfiguration
521 * Identifier for the backup configuration. This gets generated automatically when a backup
522 * configuration is created.
523 * @param string $dueTime
524 * The time when this run is due to start in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
525 * @param array $optParams Optional parameters.
526 * @return Analytify_Google_Service_SQLAdmin_BackupRun
527 */
528 public function get($project, $instance, $backupConfiguration, $dueTime, $optParams = array())
529 {
530 $params = array('project' => $project, 'instance' => $instance, 'backupConfiguration' => $backupConfiguration, 'dueTime' => $dueTime);
531 $params = array_merge($params, $optParams);
532 return $this->call('get', array($params), "Analytify_Google_Service_SQLAdmin_BackupRun");
533 }
534 /**
535 * Lists all backup runs associated with a given instance and configuration in
536 * the reverse chronological order of the enqueued time.
537 * (backupRuns.listBackupRuns)
538 *
539 * @param string $project
540 * Project ID of the project that contains the instance.
541 * @param string $instance
542 * Cloud SQL instance ID. This does not include the project ID.
543 * @param string $backupConfiguration
544 * Identifier for the backup configuration. This gets generated automatically when a backup
545 * configuration is created.
546 * @param array $optParams Optional parameters.
547 *
548 * @opt_param string pageToken
549 * A previously-returned page token representing part of the larger set of results to view.
550 * @opt_param int maxResults
551 * Maximum number of backup runs per response.
552 * @return Analytify_Google_Service_SQLAdmin_BackupRunsListResponse
553 */
554 public function listBackupRuns($project, $instance, $backupConfiguration, $optParams = array())
555 {
556 $params = array('project' => $project, 'instance' => $instance, 'backupConfiguration' => $backupConfiguration);
557 $params = array_merge($params, $optParams);
558 return $this->call('list', array($params), "Analytify_Google_Service_SQLAdmin_BackupRunsListResponse");
559 }
560 }
561
562 /**
563 * The "flags" collection of methods.
564 * Typical usage is:
565 * <code>
566 * $sqladminService = new Analytify_Google_Service_SQLAdmin(...);
567 * $flags = $sqladminService->flags;
568 * </code>
569 */
570 class Analytify_Google_Service_SQLAdmin_Flags_Resource extends Analytify_Google_Service_Resource
571 {
572
573 /**
574 * List all available database flags for Google Cloud SQL instances.
575 * (flags.listFlags)
576 *
577 * @param array $optParams Optional parameters.
578 * @return Analytify_Google_Service_SQLAdmin_FlagsListResponse
579 */
580 public function listFlags($optParams = array())
581 {
582 $params = array();
583 $params = array_merge($params, $optParams);
584 return $this->call('list', array($params), "Analytify_Google_Service_SQLAdmin_FlagsListResponse");
585 }
586 }
587
588 /**
589 * The "instances" collection of methods.
590 * Typical usage is:
591 * <code>
592 * $sqladminService = new Analytify_Google_Service_SQLAdmin(...);
593 * $instances = $sqladminService->instances;
594 * </code>
595 */
596 class Analytify_Google_Service_SQLAdmin_Instances_Resource extends Analytify_Google_Service_Resource
597 {
598
599 /**
600 * Creates a Cloud SQL instance as a clone of the source instance.
601 * (instances.cloneInstances)
602 *
603 * @param string $project
604 * Project ID of the source as well as the clone Cloud SQL instance.
605 * @param Analytify_Google_InstancesCloneRequest $postBody
606 * @param array $optParams Optional parameters.
607 * @return Analytify_Google_Service_SQLAdmin_InstancesCloneResponse
608 */
609 public function cloneInstances($project, Analytify_Google_Service_SQLAdmin_InstancesCloneRequest $postBody, $optParams = array())
610 {
611 $params = array('project' => $project, 'postBody' => $postBody);
612 $params = array_merge($params, $optParams);
613 return $this->call('clone', array($params), "Analytify_Google_Service_SQLAdmin_InstancesCloneResponse");
614 }
615 /**
616 * Deletes a Cloud SQL instance. (instances.delete)
617 *
618 * @param string $project
619 * Project ID of the project that contains the instance to be deleted.
620 * @param string $instance
621 * Cloud SQL instance ID. This does not include the project ID.
622 * @param array $optParams Optional parameters.
623 * @return Analytify_Google_Service_SQLAdmin_InstancesDeleteResponse
624 */
625 public function delete($project, $instance, $optParams = array())
626 {
627 $params = array('project' => $project, 'instance' => $instance);
628 $params = array_merge($params, $optParams);
629 return $this->call('delete', array($params), "Analytify_Google_Service_SQLAdmin_InstancesDeleteResponse");
630 }
631 /**
632 * Exports data from a Cloud SQL instance to a Google Cloud Storage bucket as a
633 * MySQL dump file. (instances.export)
634 *
635 * @param string $project
636 * Project ID of the project that contains the instance to be exported.
637 * @param string $instance
638 * Cloud SQL instance ID. This does not include the project ID.
639 * @param Analytify_Google_InstancesExportRequest $postBody
640 * @param array $optParams Optional parameters.
641 * @return Analytify_Google_Service_SQLAdmin_InstancesExportResponse
642 */
643 public function export($project, $instance, Analytify_Google_Service_SQLAdmin_InstancesExportRequest $postBody, $optParams = array())
644 {
645 $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
646 $params = array_merge($params, $optParams);
647 return $this->call('export', array($params), "Analytify_Google_Service_SQLAdmin_InstancesExportResponse");
648 }
649 /**
650 * Retrieves a resource containing information about a Cloud SQL instance.
651 * (instances.get)
652 *
653 * @param string $project
654 * Project ID of the project that contains the instance.
655 * @param string $instance
656 * Database instance ID. This does not include the project ID.
657 * @param array $optParams Optional parameters.
658 * @return Analytify_Google_Service_SQLAdmin_DatabaseInstance
659 */
660 public function get($project, $instance, $optParams = array())
661 {
662 $params = array('project' => $project, 'instance' => $instance);
663 $params = array_merge($params, $optParams);
664 return $this->call('get', array($params), "Analytify_Google_Service_SQLAdmin_DatabaseInstance");
665 }
666 /**
667 * Imports data into a Cloud SQL instance from a MySQL dump file in Google Cloud
668 * Storage. (instances.import)
669 *
670 * @param string $project
671 * Project ID of the project that contains the instance.
672 * @param string $instance
673 * Cloud SQL instance ID. This does not include the project ID.
674 * @param Analytify_Google_InstancesImportRequest $postBody
675 * @param array $optParams Optional parameters.
676 * @return Analytify_Google_Service_SQLAdmin_InstancesImportResponse
677 */
678 public function import($project, $instance, Analytify_Google_Service_SQLAdmin_InstancesImportRequest $postBody, $optParams = array())
679 {
680 $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
681 $params = array_merge($params, $optParams);
682 return $this->call('import', array($params), "Analytify_Google_Service_SQLAdmin_InstancesImportResponse");
683 }
684 /**
685 * Creates a new Cloud SQL instance. (instances.insert)
686 *
687 * @param string $project
688 * Project ID of the project to which the newly created Cloud SQL instances should belong.
689 * @param Analytify_Google_DatabaseInstance $postBody
690 * @param array $optParams Optional parameters.
691 * @return Analytify_Google_Service_SQLAdmin_InstancesInsertResponse
692 */
693 public function insert($project, Analytify_Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
694 {
695 $params = array('project' => $project, 'postBody' => $postBody);
696 $params = array_merge($params, $optParams);
697 return $this->call('insert', array($params), "Analytify_Google_Service_SQLAdmin_InstancesInsertResponse");
698 }
699 /**
700 * Lists instances under a given project in the alphabetical order of the
701 * instance name. (instances.listInstances)
702 *
703 * @param string $project
704 * Project ID of the project for which to list Cloud SQL instances.
705 * @param array $optParams Optional parameters.
706 *
707 * @opt_param string pageToken
708 * A previously-returned page token representing part of the larger set of results to view.
709 * @opt_param string maxResults
710 * The maximum number of results to return per response.
711 * @return Analytify_Google_Service_SQLAdmin_InstancesListResponse
712 */
713 public function listInstances($project, $optParams = array())
714 {
715 $params = array('project' => $project);
716 $params = array_merge($params, $optParams);
717 return $this->call('list', array($params), "Analytify_Google_Service_SQLAdmin_InstancesListResponse");
718 }
719 /**
720 * Updates settings of a Cloud SQL instance. Caution: This is not a partial
721 * update, so you must include values for all the settings that you want to
722 * retain. For partial updates, use patch.. This method supports patch
723 * semantics. (instances.patch)
724 *
725 * @param string $project
726 * Project ID of the project that contains the instance.
727 * @param string $instance
728 * Cloud SQL instance ID. This does not include the project ID.
729 * @param Analytify_Google_DatabaseInstance $postBody
730 * @param array $optParams Optional parameters.
731 * @return Analytify_Google_Service_SQLAdmin_InstancesUpdateResponse
732 */
733 public function patch($project, $instance, Analytify_Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
734 {
735 $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
736 $params = array_merge($params, $optParams);
737 return $this->call('patch', array($params), "Analytify_Google_Service_SQLAdmin_InstancesUpdateResponse");
738 }
739 /**
740 * Deletes all client certificates and generates a new server SSL certificate
741 * for the instance. The changes will not take effect until the instance is
742 * restarted. Existing instances without a server certificate will need to call
743 * this once to set a server certificate. (instances.resetSslConfig)
744 *
745 * @param string $project
746 * Project ID of the project that contains the instance.
747 * @param string $instance
748 * Cloud SQL instance ID. This does not include the project ID.
749 * @param array $optParams Optional parameters.
750 * @return Analytify_Google_Service_SQLAdmin_InstancesResetSslConfigResponse
751 */
752 public function resetSslConfig($project, $instance, $optParams = array())
753 {
754 $params = array('project' => $project, 'instance' => $instance);
755 $params = array_merge($params, $optParams);
756 return $this->call('resetSslConfig', array($params), "Analytify_Google_Service_SQLAdmin_InstancesResetSslConfigResponse");
757 }
758 /**
759 * Restarts a Cloud SQL instance. (instances.restart)
760 *
761 * @param string $project
762 * Project ID of the project that contains the instance to be restarted.
763 * @param string $instance
764 * Cloud SQL instance ID. This does not include the project ID.
765 * @param array $optParams Optional parameters.
766 * @return Analytify_Google_Service_SQLAdmin_InstancesRestartResponse
767 */
768 public function restart($project, $instance, $optParams = array())
769 {
770 $params = array('project' => $project, 'instance' => $instance);
771 $params = array_merge($params, $optParams);
772 return $this->call('restart', array($params), "Analytify_Google_Service_SQLAdmin_InstancesRestartResponse");
773 }
774 /**
775 * Restores a backup of a Cloud SQL instance. (instances.restoreBackup)
776 *
777 * @param string $project
778 * Project ID of the project that contains the instance.
779 * @param string $instance
780 * Cloud SQL instance ID. This does not include the project ID.
781 * @param string $backupConfiguration
782 * The identifier of the backup configuration. This gets generated automatically when a backup
783 * configuration is created.
784 * @param string $dueTime
785 * The time when this run is due to start in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
786 * @param array $optParams Optional parameters.
787 * @return Analytify_Google_Service_SQLAdmin_InstancesRestoreBackupResponse
788 */
789 public function restoreBackup($project, $instance, $backupConfiguration, $dueTime, $optParams = array())
790 {
791 $params = array('project' => $project, 'instance' => $instance, 'backupConfiguration' => $backupConfiguration, 'dueTime' => $dueTime);
792 $params = array_merge($params, $optParams);
793 return $this->call('restoreBackup', array($params), "Analytify_Google_Service_SQLAdmin_InstancesRestoreBackupResponse");
794 }
795 /**
796 * Sets the password for the root user. (instances.setRootPassword)
797 *
798 * @param string $project
799 * Project ID of the project that contains the instance.
800 * @param string $instance
801 * Cloud SQL instance ID. This does not include the project ID.
802 * @param Analytify_Google_InstanceSetRootPasswordRequest $postBody
803 * @param array $optParams Optional parameters.
804 * @return Analytify_Google_Service_SQLAdmin_InstancesSetRootPasswordResponse
805 */
806 public function setRootPassword($project, $instance, Analytify_Google_Service_SQLAdmin_InstanceSetRootPasswordRequest $postBody, $optParams = array())
807 {
808 $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
809 $params = array_merge($params, $optParams);
810 return $this->call('setRootPassword', array($params), "Analytify_Google_Service_SQLAdmin_InstancesSetRootPasswordResponse");
811 }
812 /**
813 * Updates settings of a Cloud SQL instance. Caution: This is not a partial
814 * update, so you must include values for all the settings that you want to
815 * retain. For partial updates, use patch. (instances.update)
816 *
817 * @param string $project
818 * Project ID of the project that contains the instance.
819 * @param string $instance
820 * Cloud SQL instance ID. This does not include the project ID.
821 * @param Analytify_Google_DatabaseInstance $postBody
822 * @param array $optParams Optional parameters.
823 * @return Analytify_Google_Service_SQLAdmin_InstancesUpdateResponse
824 */
825 public function update($project, $instance, Analytify_Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
826 {
827 $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
828 $params = array_merge($params, $optParams);
829 return $this->call('update', array($params), "Analytify_Google_Service_SQLAdmin_InstancesUpdateResponse");
830 }
831 }
832
833 /**
834 * The "operations" collection of methods.
835 * Typical usage is:
836 * <code>
837 * $sqladminService = new Analytify_Google_Service_SQLAdmin(...);
838 * $operations = $sqladminService->operations;
839 * </code>
840 */
841 class Analytify_Google_Service_SQLAdmin_Operations_Resource extends Analytify_Google_Service_Resource
842 {
843
844 /**
845 * Retrieves an instance operation that has been performed on an instance.
846 * (operations.get)
847 *
848 * @param string $project
849 * Project ID of the project that contains the instance.
850 * @param string $instance
851 * Cloud SQL instance ID. This does not include the project ID.
852 * @param string $operation
853 * Instance operation ID.
854 * @param array $optParams Optional parameters.
855 * @return Analytify_Google_Service_SQLAdmin_InstanceOperation
856 */
857 public function get($project, $instance, $operation, $optParams = array())
858 {
859 $params = array('project' => $project, 'instance' => $instance, 'operation' => $operation);
860 $params = array_merge($params, $optParams);
861 return $this->call('get', array($params), "Analytify_Google_Service_SQLAdmin_InstanceOperation");
862 }
863 /**
864 * Lists all instance operations that have been performed on the given Cloud SQL
865 * instance in the reverse chronological order of the start time.
866 * (operations.listOperations)
867 *
868 * @param string $project
869 * Project ID of the project that contains the instance.
870 * @param string $instance
871 * Cloud SQL instance ID. This does not include the project ID.
872 * @param array $optParams Optional parameters.
873 *
874 * @opt_param string maxResults
875 * Maximum number of operations per response.
876 * @opt_param string pageToken
877 * A previously-returned page token representing part of the larger set of results to view.
878 * @return Analytify_Google_Service_SQLAdmin_OperationsListResponse
879 */
880 public function listOperations($project, $instance, $optParams = array())
881 {
882 $params = array('project' => $project, 'instance' => $instance);
883 $params = array_merge($params, $optParams);
884 return $this->call('list', array($params), "Analytify_Google_Service_SQLAdmin_OperationsListResponse");
885 }
886 }
887
888 /**
889 * The "sslCerts" collection of methods.
890 * Typical usage is:
891 * <code>
892 * $sqladminService = new Analytify_Google_Service_SQLAdmin(...);
893 * $sslCerts = $sqladminService->sslCerts;
894 * </code>
895 */
896 class Analytify_Google_Service_SQLAdmin_SslCerts_Resource extends Analytify_Google_Service_Resource
897 {
898
899 /**
900 * Deletes the SSL certificate. The change will not take effect until the
901 * instance is restarted. (sslCerts.delete)
902 *
903 * @param string $project
904 * Project ID of the project that contains the instance to be deleted.
905 * @param string $instance
906 * Cloud SQL instance ID. This does not include the project ID.
907 * @param string $sha1Fingerprint
908 * Sha1 FingerPrint.
909 * @param array $optParams Optional parameters.
910 * @return Analytify_Google_Service_SQLAdmin_SslCertsDeleteResponse
911 */
912 public function delete($project, $instance, $sha1Fingerprint, $optParams = array())
913 {
914 $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint);
915 $params = array_merge($params, $optParams);
916 return $this->call('delete', array($params), "Analytify_Google_Service_SQLAdmin_SslCertsDeleteResponse");
917 }
918 /**
919 * Retrieves a particular SSL certificate. Does not include the private key
920 * (required for usage). The private key must be saved from the response to
921 * initial creation. (sslCerts.get)
922 *
923 * @param string $project
924 * Project ID of the project that contains the instance.
925 * @param string $instance
926 * Cloud SQL instance ID. This does not include the project ID.
927 * @param string $sha1Fingerprint
928 * Sha1 FingerPrint.
929 * @param array $optParams Optional parameters.
930 * @return Analytify_Google_Service_SQLAdmin_SslCert
931 */
932 public function get($project, $instance, $sha1Fingerprint, $optParams = array())
933 {
934 $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint);
935 $params = array_merge($params, $optParams);
936 return $this->call('get', array($params), "Analytify_Google_Service_SQLAdmin_SslCert");
937 }
938 /**
939 * Creates an SSL certificate and returns it along with the private key and
940 * server certificate authority. The new certificate will not be usable until
941 * the instance is restarted. (sslCerts.insert)
942 *
943 * @param string $project
944 * Project ID of the project to which the newly created Cloud SQL instances should belong.
945 * @param string $instance
946 * Cloud SQL instance ID. This does not include the project ID.
947 * @param Analytify_Google_SslCertsInsertRequest $postBody
948 * @param array $optParams Optional parameters.
949 * @return Analytify_Google_Service_SQLAdmin_SslCertsInsertResponse
950 */
951 public function insert($project, $instance, Analytify_Google_Service_SQLAdmin_SslCertsInsertRequest $postBody, $optParams = array())
952 {
953 $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
954 $params = array_merge($params, $optParams);
955 return $this->call('insert', array($params), "Analytify_Google_Service_SQLAdmin_SslCertsInsertResponse");
956 }
957 /**
958 * Lists all of the current SSL certificates for the instance.
959 * (sslCerts.listSslCerts)
960 *
961 * @param string $project
962 * Project ID of the project for which to list Cloud SQL instances.
963 * @param string $instance
964 * Cloud SQL instance ID. This does not include the project ID.
965 * @param array $optParams Optional parameters.
966 * @return Analytify_Google_Service_SQLAdmin_SslCertsListResponse
967 */
968 public function listSslCerts($project, $instance, $optParams = array())
969 {
970 $params = array('project' => $project, 'instance' => $instance);
971 $params = array_merge($params, $optParams);
972 return $this->call('list', array($params), "Analytify_Google_Service_SQLAdmin_SslCertsListResponse");
973 }
974 }
975
976 /**
977 * The "tiers" collection of methods.
978 * Typical usage is:
979 * <code>
980 * $sqladminService = new Analytify_Google_Service_SQLAdmin(...);
981 * $tiers = $sqladminService->tiers;
982 * </code>
983 */
984 class Analytify_Google_Service_SQLAdmin_Tiers_Resource extends Analytify_Google_Service_Resource
985 {
986
987 /**
988 * Lists all available service tiers for Google Cloud SQL, for example D1, D2.
989 * For related information, see Pricing. (tiers.listTiers)
990 *
991 * @param string $project
992 * Project ID of the project for which to list tiers.
993 * @param array $optParams Optional parameters.
994 * @return Analytify_Google_Service_SQLAdmin_TiersListResponse
995 */
996 public function listTiers($project, $optParams = array())
997 {
998 $params = array('project' => $project);
999 $params = array_merge($params, $optParams);
1000 return $this->call('list', array($params), "Analytify_Google_Service_SQLAdmin_TiersListResponse");
1001 }
1002 }
1003
1004
1005
1006
1007 class Analytify_Google_Service_SQLAdmin_BackupConfiguration extends Analytify_Google_Model
1008 {
1009 public $binaryLogEnabled;
1010 public $enabled;
1011 public $id;
1012 public $kind;
1013 public $startTime;
1014
1015 public function setBinaryLogEnabled($binaryLogEnabled)
1016 {
1017 $this->binaryLogEnabled = $binaryLogEnabled;
1018 }
1019
1020 public function getBinaryLogEnabled()
1021 {
1022 return $this->binaryLogEnabled;
1023 }
1024
1025 public function setEnabled($enabled)
1026 {
1027 $this->enabled = $enabled;
1028 }
1029
1030 public function getEnabled()
1031 {
1032 return $this->enabled;
1033 }
1034
1035 public function setId($id)
1036 {
1037 $this->id = $id;
1038 }
1039
1040 public function getId()
1041 {
1042 return $this->id;
1043 }
1044
1045 public function setKind($kind)
1046 {
1047 $this->kind = $kind;
1048 }
1049
1050 public function getKind()
1051 {
1052 return $this->kind;
1053 }
1054
1055 public function setStartTime($startTime)
1056 {
1057 $this->startTime = $startTime;
1058 }
1059
1060 public function getStartTime()
1061 {
1062 return $this->startTime;
1063 }
1064 }
1065
1066 class Analytify_Google_Service_SQLAdmin_BackupRun extends Analytify_Google_Model
1067 {
1068 public $backupConfiguration;
1069 public $dueTime;
1070 public $endTime;
1071 public $enqueuedTime;
1072 protected $errorType = 'Analytify_Google_Service_SQLAdmin_OperationError';
1073 protected $errorDataType = '';
1074 public $instance;
1075 public $kind;
1076 public $startTime;
1077 public $status;
1078
1079 public function setBackupConfiguration($backupConfiguration)
1080 {
1081 $this->backupConfiguration = $backupConfiguration;
1082 }
1083
1084 public function getBackupConfiguration()
1085 {
1086 return $this->backupConfiguration;
1087 }
1088
1089 public function setDueTime($dueTime)
1090 {
1091 $this->dueTime = $dueTime;
1092 }
1093
1094 public function getDueTime()
1095 {
1096 return $this->dueTime;
1097 }
1098
1099 public function setEndTime($endTime)
1100 {
1101 $this->endTime = $endTime;
1102 }
1103
1104 public function getEndTime()
1105 {
1106 return $this->endTime;
1107 }
1108
1109 public function setEnqueuedTime($enqueuedTime)
1110 {
1111 $this->enqueuedTime = $enqueuedTime;
1112 }
1113
1114 public function getEnqueuedTime()
1115 {
1116 return $this->enqueuedTime;
1117 }
1118
1119 public function setError(Analytify_Google_Service_SQLAdmin_OperationError $error)
1120 {
1121 $this->error = $error;
1122 }
1123
1124 public function getError()
1125 {
1126 return $this->error;
1127 }
1128
1129 public function setInstance($instance)
1130 {
1131 $this->instance = $instance;
1132 }
1133
1134 public function getInstance()
1135 {
1136 return $this->instance;
1137 }
1138
1139 public function setKind($kind)
1140 {
1141 $this->kind = $kind;
1142 }
1143
1144 public function getKind()
1145 {
1146 return $this->kind;
1147 }
1148
1149 public function setStartTime($startTime)
1150 {
1151 $this->startTime = $startTime;
1152 }
1153
1154 public function getStartTime()
1155 {
1156 return $this->startTime;
1157 }
1158
1159 public function setStatus($status)
1160 {
1161 $this->status = $status;
1162 }
1163
1164 public function getStatus()
1165 {
1166 return $this->status;
1167 }
1168 }
1169
1170 class Analytify_Google_Service_SQLAdmin_BackupRunsListResponse extends Analytify_Google_Collection
1171 {
1172 protected $itemsType = 'Analytify_Google_Service_SQLAdmin_BackupRun';
1173 protected $itemsDataType = 'array';
1174 public $kind;
1175 public $nextPageToken;
1176
1177 public function setItems($items)
1178 {
1179 $this->items = $items;
1180 }
1181
1182 public function getItems()
1183 {
1184 return $this->items;
1185 }
1186
1187 public function setKind($kind)
1188 {
1189 $this->kind = $kind;
1190 }
1191
1192 public function getKind()
1193 {
1194 return $this->kind;
1195 }
1196
1197 public function setNextPageToken($nextPageToken)
1198 {
1199 $this->nextPageToken = $nextPageToken;
1200 }
1201
1202 public function getNextPageToken()
1203 {
1204 return $this->nextPageToken;
1205 }
1206 }
1207
1208 class Analytify_Google_Service_SQLAdmin_BinLogCoordinates extends Analytify_Google_Model
1209 {
1210 public $binLogFileName;
1211 public $binLogPosition;
1212 public $kind;
1213
1214 public function setBinLogFileName($binLogFileName)
1215 {
1216 $this->binLogFileName = $binLogFileName;
1217 }
1218
1219 public function getBinLogFileName()
1220 {
1221 return $this->binLogFileName;
1222 }
1223
1224 public function setBinLogPosition($binLogPosition)
1225 {
1226 $this->binLogPosition = $binLogPosition;
1227 }
1228
1229 public function getBinLogPosition()
1230 {
1231 return $this->binLogPosition;
1232 }
1233
1234 public function setKind($kind)
1235 {
1236 $this->kind = $kind;
1237 }
1238
1239 public function getKind()
1240 {
1241 return $this->kind;
1242 }
1243 }
1244
1245 class Analytify_Google_Service_SQLAdmin_CloneContext extends Analytify_Google_Model
1246 {
1247 protected $binLogCoordinatesType = 'Analytify_Google_Service_SQLAdmin_BinLogCoordinates';
1248 protected $binLogCoordinatesDataType = '';
1249 public $destinationInstanceName;
1250 public $kind;
1251 public $sourceInstanceName;
1252
1253 public function setBinLogCoordinates(Analytify_Google_Service_SQLAdmin_BinLogCoordinates $binLogCoordinates)
1254 {
1255 $this->binLogCoordinates = $binLogCoordinates;
1256 }
1257
1258 public function getBinLogCoordinates()
1259 {
1260 return $this->binLogCoordinates;
1261 }
1262
1263 public function setDestinationInstanceName($destinationInstanceName)
1264 {
1265 $this->destinationInstanceName = $destinationInstanceName;
1266 }
1267
1268 public function getDestinationInstanceName()
1269 {
1270 return $this->destinationInstanceName;
1271 }
1272
1273 public function setKind($kind)
1274 {
1275 $this->kind = $kind;
1276 }
1277
1278 public function getKind()
1279 {
1280 return $this->kind;
1281 }
1282
1283 public function setSourceInstanceName($sourceInstanceName)
1284 {
1285 $this->sourceInstanceName = $sourceInstanceName;
1286 }
1287
1288 public function getSourceInstanceName()
1289 {
1290 return $this->sourceInstanceName;
1291 }
1292 }
1293
1294 class Analytify_Google_Service_SQLAdmin_DatabaseFlags extends Analytify_Google_Model
1295 {
1296 public $name;
1297 public $value;
1298
1299 public function setName($name)
1300 {
1301 $this->name = $name;
1302 }
1303
1304 public function getName()
1305 {
1306 return $this->name;
1307 }
1308
1309 public function setValue($value)
1310 {
1311 $this->value = $value;
1312 }
1313
1314 public function getValue()
1315 {
1316 return $this->value;
1317 }
1318 }
1319
1320 class Analytify_Google_Service_SQLAdmin_DatabaseInstance extends Analytify_Google_Collection
1321 {
1322 public $currentDiskSize;
1323 public $databaseVersion;
1324 public $etag;
1325 public $instance;
1326 protected $ipAddressesType = 'Analytify_Google_Service_SQLAdmin_IpMapping';
1327 protected $ipAddressesDataType = 'array';
1328 public $kind;
1329 public $maxDiskSize;
1330 public $project;
1331 public $region;
1332 protected $serverCaCertType = 'Analytify_Google_Service_SQLAdmin_SslCert';
1333 protected $serverCaCertDataType = '';
1334 protected $settingsType = 'Analytify_Google_Service_SQLAdmin_Settings';
1335 protected $settingsDataType = '';
1336 public $state;
1337
1338 public function setCurrentDiskSize($currentDiskSize)
1339 {
1340 $this->currentDiskSize = $currentDiskSize;
1341 }
1342
1343 public function getCurrentDiskSize()
1344 {
1345 return $this->currentDiskSize;
1346 }
1347
1348 public function setDatabaseVersion($databaseVersion)
1349 {
1350 $this->databaseVersion = $databaseVersion;
1351 }
1352
1353 public function getDatabaseVersion()
1354 {
1355 return $this->databaseVersion;
1356 }
1357
1358 public function setEtag($etag)
1359 {
1360 $this->etag = $etag;
1361 }
1362
1363 public function getEtag()
1364 {
1365 return $this->etag;
1366 }
1367
1368 public function setInstance($instance)
1369 {
1370 $this->instance = $instance;
1371 }
1372
1373 public function getInstance()
1374 {
1375 return $this->instance;
1376 }
1377
1378 public function setIpAddresses($ipAddresses)
1379 {
1380 $this->ipAddresses = $ipAddresses;
1381 }
1382
1383 public function getIpAddresses()
1384 {
1385 return $this->ipAddresses;
1386 }
1387
1388 public function setKind($kind)
1389 {
1390 $this->kind = $kind;
1391 }
1392
1393 public function getKind()
1394 {
1395 return $this->kind;
1396 }
1397
1398 public function setMaxDiskSize($maxDiskSize)
1399 {
1400 $this->maxDiskSize = $maxDiskSize;
1401 }
1402
1403 public function getMaxDiskSize()
1404 {
1405 return $this->maxDiskSize;
1406 }
1407
1408 public function setProject($project)
1409 {
1410 $this->project = $project;
1411 }
1412
1413 public function getProject()
1414 {
1415 return $this->project;
1416 }
1417
1418 public function setRegion($region)
1419 {
1420 $this->region = $region;
1421 }
1422
1423 public function getRegion()
1424 {
1425 return $this->region;
1426 }
1427
1428 public function setServerCaCert(Analytify_Google_Service_SQLAdmin_SslCert $serverCaCert)
1429 {
1430 $this->serverCaCert = $serverCaCert;
1431 }
1432
1433 public function getServerCaCert()
1434 {
1435 return $this->serverCaCert;
1436 }
1437
1438 public function setSettings(Analytify_Google_Service_SQLAdmin_Settings $settings)
1439 {
1440 $this->settings = $settings;
1441 }
1442
1443 public function getSettings()
1444 {
1445 return $this->settings;
1446 }
1447
1448 public function setState($state)
1449 {
1450 $this->state = $state;
1451 }
1452
1453 public function getState()
1454 {
1455 return $this->state;
1456 }
1457 }
1458
1459 class Analytify_Google_Service_SQLAdmin_ExportContext extends Analytify_Google_Collection
1460 {
1461 public $database;
1462 public $kind;
1463 public $table;
1464 public $uri;
1465
1466 public function setDatabase($database)
1467 {
1468 $this->database = $database;
1469 }
1470
1471 public function getDatabase()
1472 {
1473 return $this->database;
1474 }
1475
1476 public function setKind($kind)
1477 {
1478 $this->kind = $kind;
1479 }
1480
1481 public function getKind()
1482 {
1483 return $this->kind;
1484 }
1485
1486 public function setTable($table)
1487 {
1488 $this->table = $table;
1489 }
1490
1491 public function getTable()
1492 {
1493 return $this->table;
1494 }
1495
1496 public function setUri($uri)
1497 {
1498 $this->uri = $uri;
1499 }
1500
1501 public function getUri()
1502 {
1503 return $this->uri;
1504 }
1505 }
1506
1507 class Analytify_Google_Service_SQLAdmin_Flag extends Analytify_Google_Collection
1508 {
1509 public $allowedStringValues;
1510 public $appliesTo;
1511 public $kind;
1512 public $maxValue;
1513 public $minValue;
1514 public $name;
1515 public $type;
1516
1517 public function setAllowedStringValues($allowedStringValues)
1518 {
1519 $this->allowedStringValues = $allowedStringValues;
1520 }
1521
1522 public function getAllowedStringValues()
1523 {
1524 return $this->allowedStringValues;
1525 }
1526
1527 public function setAppliesTo($appliesTo)
1528 {
1529 $this->appliesTo = $appliesTo;
1530 }
1531
1532 public function getAppliesTo()
1533 {
1534 return $this->appliesTo;
1535 }
1536
1537 public function setKind($kind)
1538 {
1539 $this->kind = $kind;
1540 }
1541
1542 public function getKind()
1543 {
1544 return $this->kind;
1545 }
1546
1547 public function setMaxValue($maxValue)
1548 {
1549 $this->maxValue = $maxValue;
1550 }
1551
1552 public function getMaxValue()
1553 {
1554 return $this->maxValue;
1555 }
1556
1557 public function setMinValue($minValue)
1558 {
1559 $this->minValue = $minValue;
1560 }
1561
1562 public function getMinValue()
1563 {
1564 return $this->minValue;
1565 }
1566
1567 public function setName($name)
1568 {
1569 $this->name = $name;
1570 }
1571
1572 public function getName()
1573 {
1574 return $this->name;
1575 }
1576
1577 public function setType($type)
1578 {
1579 $this->type = $type;
1580 }
1581
1582 public function getType()
1583 {
1584 return $this->type;
1585 }
1586 }
1587
1588 class Analytify_Google_Service_SQLAdmin_FlagsListResponse extends Analytify_Google_Collection
1589 {
1590 protected $itemsType = 'Analytify_Google_Service_SQLAdmin_Flag';
1591 protected $itemsDataType = 'array';
1592 public $kind;
1593
1594 public function setItems($items)
1595 {
1596 $this->items = $items;
1597 }
1598
1599 public function getItems()
1600 {
1601 return $this->items;
1602 }
1603
1604 public function setKind($kind)
1605 {
1606 $this->kind = $kind;
1607 }
1608
1609 public function getKind()
1610 {
1611 return $this->kind;
1612 }
1613 }
1614
1615 class Analytify_Google_Service_SQLAdmin_ImportContext extends Analytify_Google_Collection
1616 {
1617 public $database;
1618 public $kind;
1619 public $uri;
1620
1621 public function setDatabase($database)
1622 {
1623 $this->database = $database;
1624 }
1625
1626 public function getDatabase()
1627 {
1628 return $this->database;
1629 }
1630
1631 public function setKind($kind)
1632 {
1633 $this->kind = $kind;
1634 }
1635
1636 public function getKind()
1637 {
1638 return $this->kind;
1639 }
1640
1641 public function setUri($uri)
1642 {
1643 $this->uri = $uri;
1644 }
1645
1646 public function getUri()
1647 {
1648 return $this->uri;
1649 }
1650 }
1651
1652 class Analytify_Google_Service_SQLAdmin_InstanceOperation extends Analytify_Google_Collection
1653 {
1654 public $endTime;
1655 public $enqueuedTime;
1656 protected $errorType = 'Analytify_Google_Service_SQLAdmin_OperationError';
1657 protected $errorDataType = 'array';
1658 protected $exportContextType = 'Analytify_Google_Service_SQLAdmin_ExportContext';
1659 protected $exportContextDataType = '';
1660 protected $importContextType = 'Analytify_Google_Service_SQLAdmin_ImportContext';
1661 protected $importContextDataType = '';
1662 public $instance;
1663 public $kind;
1664 public $operation;
1665 public $operationType;
1666 public $startTime;
1667 public $state;
1668 public $userEmailAddress;
1669
1670 public function setEndTime($endTime)
1671 {
1672 $this->endTime = $endTime;
1673 }
1674
1675 public function getEndTime()
1676 {
1677 return $this->endTime;
1678 }
1679
1680 public function setEnqueuedTime($enqueuedTime)
1681 {
1682 $this->enqueuedTime = $enqueuedTime;
1683 }
1684
1685 public function getEnqueuedTime()
1686 {
1687 return $this->enqueuedTime;
1688 }
1689
1690 public function setError($error)
1691 {
1692 $this->error = $error;
1693 }
1694
1695 public function getError()
1696 {
1697 return $this->error;
1698 }
1699
1700 public function setExportContext(Analytify_Google_Service_SQLAdmin_ExportContext $exportContext)
1701 {
1702 $this->exportContext = $exportContext;
1703 }
1704
1705 public function getExportContext()
1706 {
1707 return $this->exportContext;
1708 }
1709
1710 public function setImportContext(Analytify_Google_Service_SQLAdmin_ImportContext $importContext)
1711 {
1712 $this->importContext = $importContext;
1713 }
1714
1715 public function getImportContext()
1716 {
1717 return $this->importContext;
1718 }
1719
1720 public function setInstance($instance)
1721 {
1722 $this->instance = $instance;
1723 }
1724
1725 public function getInstance()
1726 {
1727 return $this->instance;
1728 }
1729
1730 public function setKind($kind)
1731 {
1732 $this->kind = $kind;
1733 }
1734
1735 public function getKind()
1736 {
1737 return $this->kind;
1738 }
1739
1740 public function setOperation($operation)
1741 {
1742 $this->operation = $operation;
1743 }
1744
1745 public function getOperation()
1746 {
1747 return $this->operation;
1748 }
1749
1750 public function setOperationType($operationType)
1751 {
1752 $this->operationType = $operationType;
1753 }
1754
1755 public function getOperationType()
1756 {
1757 return $this->operationType;
1758 }
1759
1760 public function setStartTime($startTime)
1761 {
1762 $this->startTime = $startTime;
1763 }
1764
1765 public function getStartTime()
1766 {
1767 return $this->startTime;
1768 }
1769
1770 public function setState($state)
1771 {
1772 $this->state = $state;
1773 }
1774
1775 public function getState()
1776 {
1777 return $this->state;
1778 }
1779
1780 public function setUserEmailAddress($userEmailAddress)
1781 {
1782 $this->userEmailAddress = $userEmailAddress;
1783 }
1784
1785 public function getUserEmailAddress()
1786 {
1787 return $this->userEmailAddress;
1788 }
1789 }
1790
1791 class Analytify_Google_Service_SQLAdmin_InstanceSetRootPasswordRequest extends Analytify_Google_Model
1792 {
1793 protected $setRootPasswordContextType = 'Analytify_Google_Service_SQLAdmin_SetRootPasswordContext';
1794 protected $setRootPasswordContextDataType = '';
1795
1796 public function setSetRootPasswordContext(Analytify_Google_Service_SQLAdmin_SetRootPasswordContext $setRootPasswordContext)
1797 {
1798 $this->setRootPasswordContext = $setRootPasswordContext;
1799 }
1800
1801 public function getSetRootPasswordContext()
1802 {
1803 return $this->setRootPasswordContext;
1804 }
1805 }
1806
1807 class Analytify_Google_Service_SQLAdmin_InstancesCloneRequest extends Analytify_Google_Model
1808 {
1809 protected $cloneContextType = 'Analytify_Google_Service_SQLAdmin_CloneContext';
1810 protected $cloneContextDataType = '';
1811
1812 public function setCloneContext(Analytify_Google_Service_SQLAdmin_CloneContext $cloneContext)
1813 {
1814 $this->cloneContext = $cloneContext;
1815 }
1816
1817 public function getCloneContext()
1818 {
1819 return $this->cloneContext;
1820 }
1821 }
1822
1823 class Analytify_Google_Service_SQLAdmin_InstancesCloneResponse extends Analytify_Google_Model
1824 {
1825 public $kind;
1826 public $operation;
1827
1828 public function setKind($kind)
1829 {
1830 $this->kind = $kind;
1831 }
1832
1833 public function getKind()
1834 {
1835 return $this->kind;
1836 }
1837
1838 public function setOperation($operation)
1839 {
1840 $this->operation = $operation;
1841 }
1842
1843 public function getOperation()
1844 {
1845 return $this->operation;
1846 }
1847 }
1848
1849 class Analytify_Google_Service_SQLAdmin_InstancesDeleteResponse extends Analytify_Google_Model
1850 {
1851 public $kind;
1852 public $operation;
1853
1854 public function setKind($kind)
1855 {
1856 $this->kind = $kind;
1857 }
1858
1859 public function getKind()
1860 {
1861 return $this->kind;
1862 }
1863
1864 public function setOperation($operation)
1865 {
1866 $this->operation = $operation;
1867 }
1868
1869 public function getOperation()
1870 {
1871 return $this->operation;
1872 }
1873 }
1874
1875 class Analytify_Google_Service_SQLAdmin_InstancesExportRequest extends Analytify_Google_Model
1876 {
1877 protected $exportContextType = 'Analytify_Google_Service_SQLAdmin_ExportContext';
1878 protected $exportContextDataType = '';
1879
1880 public function setExportContext(Analytify_Google_Service_SQLAdmin_ExportContext $exportContext)
1881 {
1882 $this->exportContext = $exportContext;
1883 }
1884
1885 public function getExportContext()
1886 {
1887 return $this->exportContext;
1888 }
1889 }
1890
1891 class Analytify_Google_Service_SQLAdmin_InstancesExportResponse extends Analytify_Google_Model
1892 {
1893 public $kind;
1894 public $operation;
1895
1896 public function setKind($kind)
1897 {
1898 $this->kind = $kind;
1899 }
1900
1901 public function getKind()
1902 {
1903 return $this->kind;
1904 }
1905
1906 public function setOperation($operation)
1907 {
1908 $this->operation = $operation;
1909 }
1910
1911 public function getOperation()
1912 {
1913 return $this->operation;
1914 }
1915 }
1916
1917 class Analytify_Google_Service_SQLAdmin_InstancesImportRequest extends Analytify_Google_Model
1918 {
1919 protected $importContextType = 'Analytify_Google_Service_SQLAdmin_ImportContext';
1920 protected $importContextDataType = '';
1921
1922 public function setImportContext(Analytify_Google_Service_SQLAdmin_ImportContext $importContext)
1923 {
1924 $this->importContext = $importContext;
1925 }
1926
1927 public function getImportContext()
1928 {
1929 return $this->importContext;
1930 }
1931 }
1932
1933 class Analytify_Google_Service_SQLAdmin_InstancesImportResponse extends Analytify_Google_Model
1934 {
1935 public $kind;
1936 public $operation;
1937
1938 public function setKind($kind)
1939 {
1940 $this->kind = $kind;
1941 }
1942
1943 public function getKind()
1944 {
1945 return $this->kind;
1946 }
1947
1948 public function setOperation($operation)
1949 {
1950 $this->operation = $operation;
1951 }
1952
1953 public function getOperation()
1954 {
1955 return $this->operation;
1956 }
1957 }
1958
1959 class Analytify_Google_Service_SQLAdmin_InstancesInsertResponse extends Analytify_Google_Model
1960 {
1961 public $kind;
1962 public $operation;
1963
1964 public function setKind($kind)
1965 {
1966 $this->kind = $kind;
1967 }
1968
1969 public function getKind()
1970 {
1971 return $this->kind;
1972 }
1973
1974 public function setOperation($operation)
1975 {
1976 $this->operation = $operation;
1977 }
1978
1979 public function getOperation()
1980 {
1981 return $this->operation;
1982 }
1983 }
1984
1985 class Analytify_Google_Service_SQLAdmin_InstancesListResponse extends Analytify_Google_Collection
1986 {
1987 protected $itemsType = 'Analytify_Google_Service_SQLAdmin_DatabaseInstance';
1988 protected $itemsDataType = 'array';
1989 public $kind;
1990 public $nextPageToken;
1991
1992 public function setItems($items)
1993 {
1994 $this->items = $items;
1995 }
1996
1997 public function getItems()
1998 {
1999 return $this->items;
2000 }
2001
2002 public function setKind($kind)
2003 {
2004 $this->kind = $kind;
2005 }
2006
2007 public function getKind()
2008 {
2009 return $this->kind;
2010 }
2011
2012 public function setNextPageToken($nextPageToken)
2013 {
2014 $this->nextPageToken = $nextPageToken;
2015 }
2016
2017 public function getNextPageToken()
2018 {
2019 return $this->nextPageToken;
2020 }
2021 }
2022
2023 class Analytify_Google_Service_SQLAdmin_InstancesResetSslConfigResponse extends Analytify_Google_Model
2024 {
2025 public $kind;
2026 public $operation;
2027
2028 public function setKind($kind)
2029 {
2030 $this->kind = $kind;
2031 }
2032
2033 public function getKind()
2034 {
2035 return $this->kind;
2036 }
2037
2038 public function setOperation($operation)
2039 {
2040 $this->operation = $operation;
2041 }
2042
2043 public function getOperation()
2044 {
2045 return $this->operation;
2046 }
2047 }
2048
2049 class Analytify_Google_Service_SQLAdmin_InstancesRestartResponse extends Analytify_Google_Model
2050 {
2051 public $kind;
2052 public $operation;
2053
2054 public function setKind($kind)
2055 {
2056 $this->kind = $kind;
2057 }
2058
2059 public function getKind()
2060 {
2061 return $this->kind;
2062 }
2063
2064 public function setOperation($operation)
2065 {
2066 $this->operation = $operation;
2067 }
2068
2069 public function getOperation()
2070 {
2071 return $this->operation;
2072 }
2073 }
2074
2075 class Analytify_Google_Service_SQLAdmin_InstancesRestoreBackupResponse extends Analytify_Google_Model
2076 {
2077 public $kind;
2078 public $operation;
2079
2080 public function setKind($kind)
2081 {
2082 $this->kind = $kind;
2083 }
2084
2085 public function getKind()
2086 {
2087 return $this->kind;
2088 }
2089
2090 public function setOperation($operation)
2091 {
2092 $this->operation = $operation;
2093 }
2094
2095 public function getOperation()
2096 {
2097 return $this->operation;
2098 }
2099 }
2100
2101 class Analytify_Google_Service_SQLAdmin_InstancesSetRootPasswordResponse extends Analytify_Google_Model
2102 {
2103 public $kind;
2104 public $operation;
2105
2106 public function setKind($kind)
2107 {
2108 $this->kind = $kind;
2109 }
2110
2111 public function getKind()
2112 {
2113 return $this->kind;
2114 }
2115
2116 public function setOperation($operation)
2117 {
2118 $this->operation = $operation;
2119 }
2120
2121 public function getOperation()
2122 {
2123 return $this->operation;
2124 }
2125 }
2126
2127 class Analytify_Google_Service_SQLAdmin_InstancesUpdateResponse extends Analytify_Google_Model
2128 {
2129 public $kind;
2130 public $operation;
2131
2132 public function setKind($kind)
2133 {
2134 $this->kind = $kind;
2135 }
2136
2137 public function getKind()
2138 {
2139 return $this->kind;
2140 }
2141
2142 public function setOperation($operation)
2143 {
2144 $this->operation = $operation;
2145 }
2146
2147 public function getOperation()
2148 {
2149 return $this->operation;
2150 }
2151 }
2152
2153 class Analytify_Google_Service_SQLAdmin_IpConfiguration extends Analytify_Google_Collection
2154 {
2155 public $authorizedNetworks;
2156 public $enabled;
2157 public $requireSsl;
2158
2159 public function setAuthorizedNetworks($authorizedNetworks)
2160 {
2161 $this->authorizedNetworks = $authorizedNetworks;
2162 }
2163
2164 public function getAuthorizedNetworks()
2165 {
2166 return $this->authorizedNetworks;
2167 }
2168
2169 public function setEnabled($enabled)
2170 {
2171 $this->enabled = $enabled;
2172 }
2173
2174 public function getEnabled()
2175 {
2176 return $this->enabled;
2177 }
2178
2179 public function setRequireSsl($requireSsl)
2180 {
2181 $this->requireSsl = $requireSsl;
2182 }
2183
2184 public function getRequireSsl()
2185 {
2186 return $this->requireSsl;
2187 }
2188 }
2189
2190 class Analytify_Google_Service_SQLAdmin_IpMapping extends Analytify_Google_Model
2191 {
2192 public $ipAddress;
2193 public $timeToRetire;
2194
2195 public function setIpAddress($ipAddress)
2196 {
2197 $this->ipAddress = $ipAddress;
2198 }
2199
2200 public function getIpAddress()
2201 {
2202 return $this->ipAddress;
2203 }
2204
2205 public function setTimeToRetire($timeToRetire)
2206 {
2207 $this->timeToRetire = $timeToRetire;
2208 }
2209
2210 public function getTimeToRetire()
2211 {
2212 return $this->timeToRetire;
2213 }
2214 }
2215
2216 class Analytify_Google_Service_SQLAdmin_LocationPreference extends Analytify_Google_Model
2217 {
2218 public $followGaeApplication;
2219 public $kind;
2220 public $zone;
2221
2222 public function setFollowGaeApplication($followGaeApplication)
2223 {
2224 $this->followGaeApplication = $followGaeApplication;
2225 }
2226
2227 public function getFollowGaeApplication()
2228 {
2229 return $this->followGaeApplication;
2230 }
2231
2232 public function setKind($kind)
2233 {
2234 $this->kind = $kind;
2235 }
2236
2237 public function getKind()
2238 {
2239 return $this->kind;
2240 }
2241
2242 public function setZone($zone)
2243 {
2244 $this->zone = $zone;
2245 }
2246
2247 public function getZone()
2248 {
2249 return $this->zone;
2250 }
2251 }
2252
2253 class Analytify_Google_Service_SQLAdmin_OperationError extends Analytify_Google_Model
2254 {
2255 public $code;
2256 public $kind;
2257
2258 public function setCode($code)
2259 {
2260 $this->code = $code;
2261 }
2262
2263 public function getCode()
2264 {
2265 return $this->code;
2266 }
2267
2268 public function setKind($kind)
2269 {
2270 $this->kind = $kind;
2271 }
2272
2273 public function getKind()
2274 {
2275 return $this->kind;
2276 }
2277 }
2278
2279 class Analytify_Google_Service_SQLAdmin_OperationsListResponse extends Analytify_Google_Collection
2280 {
2281 protected $itemsType = 'Analytify_Google_Service_SQLAdmin_InstanceOperation';
2282 protected $itemsDataType = 'array';
2283 public $kind;
2284 public $nextPageToken;
2285
2286 public function setItems($items)
2287 {
2288 $this->items = $items;
2289 }
2290
2291 public function getItems()
2292 {
2293 return $this->items;
2294 }
2295
2296 public function setKind($kind)
2297 {
2298 $this->kind = $kind;
2299 }
2300
2301 public function getKind()
2302 {
2303 return $this->kind;
2304 }
2305
2306 public function setNextPageToken($nextPageToken)
2307 {
2308 $this->nextPageToken = $nextPageToken;
2309 }
2310
2311 public function getNextPageToken()
2312 {
2313 return $this->nextPageToken;
2314 }
2315 }
2316
2317 class Analytify_Google_Service_SQLAdmin_SetRootPasswordContext extends Analytify_Google_Model
2318 {
2319 public $kind;
2320 public $password;
2321
2322 public function setKind($kind)
2323 {
2324 $this->kind = $kind;
2325 }
2326
2327 public function getKind()
2328 {
2329 return $this->kind;
2330 }
2331
2332 public function setPassword($password)
2333 {
2334 $this->password = $password;
2335 }
2336
2337 public function getPassword()
2338 {
2339 return $this->password;
2340 }
2341 }
2342
2343 class Analytify_Google_Service_SQLAdmin_Settings extends Analytify_Google_Collection
2344 {
2345 public $activationPolicy;
2346 public $authorizedGaeApplications;
2347 protected $backupConfigurationType = 'Analytify_Google_Service_SQLAdmin_BackupConfiguration';
2348 protected $backupConfigurationDataType = 'array';
2349 protected $databaseFlagsType = 'Analytify_Google_Service_SQLAdmin_DatabaseFlags';
2350 protected $databaseFlagsDataType = 'array';
2351 protected $ipConfigurationType = 'Analytify_Google_Service_SQLAdmin_IpConfiguration';
2352 protected $ipConfigurationDataType = '';
2353 public $kind;
2354 protected $locationPreferenceType = 'Analytify_Google_Service_SQLAdmin_LocationPreference';
2355 protected $locationPreferenceDataType = '';
2356 public $pricingPlan;
2357 public $replicationType;
2358 public $settingsVersion;
2359 public $tier;
2360
2361 public function setActivationPolicy($activationPolicy)
2362 {
2363 $this->activationPolicy = $activationPolicy;
2364 }
2365
2366 public function getActivationPolicy()
2367 {
2368 return $this->activationPolicy;
2369 }
2370
2371 public function setAuthorizedGaeApplications($authorizedGaeApplications)
2372 {
2373 $this->authorizedGaeApplications = $authorizedGaeApplications;
2374 }
2375
2376 public function getAuthorizedGaeApplications()
2377 {
2378 return $this->authorizedGaeApplications;
2379 }
2380
2381 public function setBackupConfiguration($backupConfiguration)
2382 {
2383 $this->backupConfiguration = $backupConfiguration;
2384 }
2385
2386 public function getBackupConfiguration()
2387 {
2388 return $this->backupConfiguration;
2389 }
2390
2391 public function setDatabaseFlags($databaseFlags)
2392 {
2393 $this->databaseFlags = $databaseFlags;
2394 }
2395
2396 public function getDatabaseFlags()
2397 {
2398 return $this->databaseFlags;
2399 }
2400
2401 public function setIpConfiguration(Analytify_Google_Service_SQLAdmin_IpConfiguration $ipConfiguration)
2402 {
2403 $this->ipConfiguration = $ipConfiguration;
2404 }
2405
2406 public function getIpConfiguration()
2407 {
2408 return $this->ipConfiguration;
2409 }
2410
2411 public function setKind($kind)
2412 {
2413 $this->kind = $kind;
2414 }
2415
2416 public function getKind()
2417 {
2418 return $this->kind;
2419 }
2420
2421 public function setLocationPreference(Analytify_Google_Service_SQLAdmin_LocationPreference $locationPreference)
2422 {
2423 $this->locationPreference = $locationPreference;
2424 }
2425
2426 public function getLocationPreference()
2427 {
2428 return $this->locationPreference;
2429 }
2430
2431 public function setPricingPlan($pricingPlan)
2432 {
2433 $this->pricingPlan = $pricingPlan;
2434 }
2435
2436 public function getPricingPlan()
2437 {
2438 return $this->pricingPlan;
2439 }
2440
2441 public function setReplicationType($replicationType)
2442 {
2443 $this->replicationType = $replicationType;
2444 }
2445
2446 public function getReplicationType()
2447 {
2448 return $this->replicationType;
2449 }
2450
2451 public function setSettingsVersion($settingsVersion)
2452 {
2453 $this->settingsVersion = $settingsVersion;
2454 }
2455
2456 public function getSettingsVersion()
2457 {
2458 return $this->settingsVersion;
2459 }
2460
2461 public function setTier($tier)
2462 {
2463 $this->tier = $tier;
2464 }
2465
2466 public function getTier()
2467 {
2468 return $this->tier;
2469 }
2470 }
2471
2472 class Analytify_Google_Service_SQLAdmin_SslCert extends Analytify_Google_Model
2473 {
2474 public $cert;
2475 public $certSerialNumber;
2476 public $commonName;
2477 public $createTime;
2478 public $expirationTime;
2479 public $instance;
2480 public $kind;
2481 public $sha1Fingerprint;
2482
2483 public function setCert($cert)
2484 {
2485 $this->cert = $cert;
2486 }
2487
2488 public function getCert()
2489 {
2490 return $this->cert;
2491 }
2492
2493 public function setCertSerialNumber($certSerialNumber)
2494 {
2495 $this->certSerialNumber = $certSerialNumber;
2496 }
2497
2498 public function getCertSerialNumber()
2499 {
2500 return $this->certSerialNumber;
2501 }
2502
2503 public function setCommonName($commonName)
2504 {
2505 $this->commonName = $commonName;
2506 }
2507
2508 public function getCommonName()
2509 {
2510 return $this->commonName;
2511 }
2512
2513 public function setCreateTime($createTime)
2514 {
2515 $this->createTime = $createTime;
2516 }
2517
2518 public function getCreateTime()
2519 {
2520 return $this->createTime;
2521 }
2522
2523 public function setExpirationTime($expirationTime)
2524 {
2525 $this->expirationTime = $expirationTime;
2526 }
2527
2528 public function getExpirationTime()
2529 {
2530 return $this->expirationTime;
2531 }
2532
2533 public function setInstance($instance)
2534 {
2535 $this->instance = $instance;
2536 }
2537
2538 public function getInstance()
2539 {
2540 return $this->instance;
2541 }
2542
2543 public function setKind($kind)
2544 {
2545 $this->kind = $kind;
2546 }
2547
2548 public function getKind()
2549 {
2550 return $this->kind;
2551 }
2552
2553 public function setSha1Fingerprint($sha1Fingerprint)
2554 {
2555 $this->sha1Fingerprint = $sha1Fingerprint;
2556 }
2557
2558 public function getSha1Fingerprint()
2559 {
2560 return $this->sha1Fingerprint;
2561 }
2562 }
2563
2564 class Analytify_Google_Service_SQLAdmin_SslCertDetail extends Analytify_Google_Model
2565 {
2566 protected $certInfoType = 'Analytify_Google_Service_SQLAdmin_SslCert';
2567 protected $certInfoDataType = '';
2568 public $certPrivateKey;
2569
2570 public function setCertInfo(Analytify_Google_Service_SQLAdmin_SslCert $certInfo)
2571 {
2572 $this->certInfo = $certInfo;
2573 }
2574
2575 public function getCertInfo()
2576 {
2577 return $this->certInfo;
2578 }
2579
2580 public function setCertPrivateKey($certPrivateKey)
2581 {
2582 $this->certPrivateKey = $certPrivateKey;
2583 }
2584
2585 public function getCertPrivateKey()
2586 {
2587 return $this->certPrivateKey;
2588 }
2589 }
2590
2591 class Analytify_Google_Service_SQLAdmin_SslCertsDeleteResponse extends Analytify_Google_Model
2592 {
2593 public $kind;
2594 public $operation;
2595
2596 public function setKind($kind)
2597 {
2598 $this->kind = $kind;
2599 }
2600
2601 public function getKind()
2602 {
2603 return $this->kind;
2604 }
2605
2606 public function setOperation($operation)
2607 {
2608 $this->operation = $operation;
2609 }
2610
2611 public function getOperation()
2612 {
2613 return $this->operation;
2614 }
2615 }
2616
2617 class Analytify_Google_Service_SQLAdmin_SslCertsInsertRequest extends Analytify_Google_Model
2618 {
2619 public $commonName;
2620
2621 public function setCommonName($commonName)
2622 {
2623 $this->commonName = $commonName;
2624 }
2625
2626 public function getCommonName()
2627 {
2628 return $this->commonName;
2629 }
2630 }
2631
2632 class Analytify_Google_Service_SQLAdmin_SslCertsInsertResponse extends Analytify_Google_Model
2633 {
2634 protected $clientCertType = 'Analytify_Google_Service_SQLAdmin_SslCertDetail';
2635 protected $clientCertDataType = '';
2636 public $kind;
2637 protected $serverCaCertType = 'Analytify_Google_Service_SQLAdmin_SslCert';
2638 protected $serverCaCertDataType = '';
2639
2640 public function setClientCert(Analytify_Google_Service_SQLAdmin_SslCertDetail $clientCert)
2641 {
2642 $this->clientCert = $clientCert;
2643 }
2644
2645 public function getClientCert()
2646 {
2647 return $this->clientCert;
2648 }
2649
2650 public function setKind($kind)
2651 {
2652 $this->kind = $kind;
2653 }
2654
2655 public function getKind()
2656 {
2657 return $this->kind;
2658 }
2659
2660 public function setServerCaCert(Analytify_Google_Service_SQLAdmin_SslCert $serverCaCert)
2661 {
2662 $this->serverCaCert = $serverCaCert;
2663 }
2664
2665 public function getServerCaCert()
2666 {
2667 return $this->serverCaCert;
2668 }
2669 }
2670
2671 class Analytify_Google_Service_SQLAdmin_SslCertsListResponse extends Analytify_Google_Collection
2672 {
2673 protected $itemsType = 'Analytify_Google_Service_SQLAdmin_SslCert';
2674 protected $itemsDataType = 'array';
2675 public $kind;
2676
2677 public function setItems($items)
2678 {
2679 $this->items = $items;
2680 }
2681
2682 public function getItems()
2683 {
2684 return $this->items;
2685 }
2686
2687 public function setKind($kind)
2688 {
2689 $this->kind = $kind;
2690 }
2691
2692 public function getKind()
2693 {
2694 return $this->kind;
2695 }
2696 }
2697
2698 class Analytify_Google_Service_SQLAdmin_Tier extends Analytify_Google_Collection
2699 {
2700 public $diskQuota;
2701 public $rAM;
2702 public $kind;
2703 public $region;
2704 public $tier;
2705
2706 public function setDiskQuota($diskQuota)
2707 {
2708 $this->diskQuota = $diskQuota;
2709 }
2710
2711 public function getDiskQuota()
2712 {
2713 return $this->diskQuota;
2714 }
2715
2716 public function setRAM($rAM)
2717 {
2718 $this->rAM = $rAM;
2719 }
2720
2721 public function getRAM()
2722 {
2723 return $this->rAM;
2724 }
2725
2726 public function setKind($kind)
2727 {
2728 $this->kind = $kind;
2729 }
2730
2731 public function getKind()
2732 {
2733 return $this->kind;
2734 }
2735
2736 public function setRegion($region)
2737 {
2738 $this->region = $region;
2739 }
2740
2741 public function getRegion()
2742 {
2743 return $this->region;
2744 }
2745
2746 public function setTier($tier)
2747 {
2748 $this->tier = $tier;
2749 }
2750
2751 public function getTier()
2752 {
2753 return $this->tier;
2754 }
2755 }
2756
2757 class Analytify_Google_Service_SQLAdmin_TiersListResponse extends Analytify_Google_Collection
2758 {
2759 protected $itemsType = 'Analytify_Google_Service_SQLAdmin_Tier';
2760 protected $itemsDataType = 'array';
2761 public $kind;
2762
2763 public function setItems($items)
2764 {
2765 $this->items = $items;
2766 }
2767
2768 public function getItems()
2769 {
2770 return $this->items;
2771 }
2772
2773 public function setKind($kind)
2774 {
2775 $this->kind = $kind;
2776 }
2777
2778 public function getKind()
2779 {
2780 return $this->kind;
2781 }
2782 }
2783