Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: discovery/googleapis_beta/sqladmin__v1beta3.json

Issue 559053002: Generate 0.1.0 version of googleapis/googleapis_beta (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services"
7 },
8 "https://www.googleapis.com/auth/sqlservice.admin": {
9 "description": "Manage your Google SQL Service instances"
10 }
11 }
12 }
13 },
14 "basePath": "/sql/v1beta3/",
15 "baseUrl": "https://www.googleapis.com/sql/v1beta3/",
16 "batchPath": "batch",
17 "canonicalName": "SQL Admin",
18 "description": "API for Cloud SQL database instance management.",
19 "discoveryVersion": "v1",
20 "documentationLink": "https://developers.google.com/cloud-sql/docs/admin-api /",
21 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/iSvEUXm2HnuHWXog2Opj9zU6i3I\"",
22 "icons": {
23 "x16": "http://www.google.com/images/icons/product/search-16.gif",
24 "x32": "http://www.google.com/images/icons/product/search-32.gif"
25 },
26 "id": "sqladmin:v1beta3",
27 "kind": "discovery#restDescription",
28 "name": "sqladmin",
29 "ownerDomain": "google.com",
30 "ownerName": "Google",
31 "parameters": {
32 "alt": {
33 "default": "json",
34 "description": "Data format for the response.",
35 "enum": [
36 "json"
37 ],
38 "enumDescriptions": [
39 "Responses with Content-Type of application/json"
40 ],
41 "location": "query",
42 "type": "string"
43 },
44 "fields": {
45 "description": "Selector specifying which fields to include in a par tial response.",
46 "location": "query",
47 "type": "string"
48 },
49 "key": {
50 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
51 "location": "query",
52 "type": "string"
53 },
54 "oauth_token": {
55 "description": "OAuth 2.0 token for the current user.",
56 "location": "query",
57 "type": "string"
58 },
59 "prettyPrint": {
60 "default": "true",
61 "description": "Returns response with indentations and line breaks." ,
62 "location": "query",
63 "type": "boolean"
64 },
65 "quotaUser": {
66 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters. Overrides userIp if both are provided.",
67 "location": "query",
68 "type": "string"
69 },
70 "userIp": {
71 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
72 "location": "query",
73 "type": "string"
74 }
75 },
76 "protocol": "rest",
77 "resources": {
78 "backupRuns": {
79 "methods": {
80 "get": {
81 "description": "Retrieves information about a specified back up run for a Cloud SQL instance.",
82 "httpMethod": "GET",
83 "id": "sql.backupRuns.get",
84 "parameterOrder": [
85 "project",
86 "instance",
87 "backupConfiguration",
88 "dueTime"
89 ],
90 "parameters": {
91 "backupConfiguration": {
92 "description": "Identifier for the backup configurat ion. This gets generated automatically when a backup configuration is created.",
93 "location": "path",
94 "required": true,
95 "type": "string"
96 },
97 "dueTime": {
98 "description": "The time when this run is due to sta rt in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.",
99 "location": "query",
100 "required": true,
101 "type": "string"
102 },
103 "instance": {
104 "description": "Cloud SQL instance ID. This does not include the project ID.",
105 "location": "path",
106 "required": true,
107 "type": "string"
108 },
109 "project": {
110 "description": "Project ID of the project that conta ins the instance.",
111 "location": "path",
112 "required": true,
113 "type": "string"
114 }
115 },
116 "path": "projects/{project}/instances/{instance}/backupRuns/ {backupConfiguration}",
117 "response": {
118 "$ref": "BackupRun"
119 },
120 "scopes": [
121 "https://www.googleapis.com/auth/sqlservice.admin"
122 ]
123 },
124 "list": {
125 "description": "Lists all backup runs associated with a Clou d SQL instance.",
126 "httpMethod": "GET",
127 "id": "sql.backupRuns.list",
128 "parameterOrder": [
129 "project",
130 "instance",
131 "backupConfiguration"
132 ],
133 "parameters": {
134 "backupConfiguration": {
135 "description": "Identifier for the backup configurat ion. This gets generated automatically when a backup configuration is created.",
136 "location": "query",
137 "required": true,
138 "type": "string"
139 },
140 "instance": {
141 "description": "Cloud SQL instance ID. This does not include the project ID.",
142 "location": "path",
143 "required": true,
144 "type": "string"
145 },
146 "maxResults": {
147 "description": "Maximum number of backup runs per re sponse.",
148 "format": "int32",
149 "location": "query",
150 "type": "integer"
151 },
152 "pageToken": {
153 "description": "A previously-returned page token rep resenting part of the larger set of results to view.",
154 "location": "query",
155 "type": "string"
156 },
157 "project": {
158 "description": "Project ID of the project that conta ins the instance.",
159 "location": "path",
160 "required": true,
161 "type": "string"
162 }
163 },
164 "path": "projects/{project}/instances/{instance}/backupRuns" ,
165 "response": {
166 "$ref": "BackupRunsListResponse"
167 },
168 "scopes": [
169 "https://www.googleapis.com/auth/sqlservice.admin"
170 ]
171 }
172 }
173 },
174 "flags": {
175 "methods": {
176 "list": {
177 "description": "Lists all database flags that can be set for Google Cloud SQL instances.",
178 "httpMethod": "GET",
179 "id": "sql.flags.list",
180 "path": "flags",
181 "response": {
182 "$ref": "FlagsListResponse"
183 },
184 "scopes": [
185 "https://www.googleapis.com/auth/sqlservice.admin"
186 ]
187 }
188 }
189 },
190 "instances": {
191 "methods": {
192 "clone": {
193 "description": "Creates a Cloud SQL instance as a clone of a source instance.",
194 "httpMethod": "POST",
195 "id": "sql.instances.clone",
196 "parameterOrder": [
197 "project"
198 ],
199 "parameters": {
200 "project": {
201 "description": "Project ID of the source as well as the clone Cloud SQL instance.",
202 "location": "path",
203 "required": true,
204 "type": "string"
205 }
206 },
207 "path": "projects/{project}/instances/clone",
208 "request": {
209 "$ref": "InstancesCloneRequest"
210 },
211 "response": {
212 "$ref": "InstancesCloneResponse"
213 },
214 "scopes": [
215 "https://www.googleapis.com/auth/sqlservice.admin"
216 ]
217 },
218 "delete": {
219 "description": "Deletes a Cloud SQL instance.",
220 "httpMethod": "DELETE",
221 "id": "sql.instances.delete",
222 "parameterOrder": [
223 "project",
224 "instance"
225 ],
226 "parameters": {
227 "instance": {
228 "description": "Cloud SQL instance ID. This does not include the project ID.",
229 "location": "path",
230 "required": true,
231 "type": "string"
232 },
233 "project": {
234 "description": "Project ID of the project that conta ins the instance to be deleted.",
235 "location": "path",
236 "required": true,
237 "type": "string"
238 }
239 },
240 "path": "projects/{project}/instances/{instance}",
241 "response": {
242 "$ref": "InstancesDeleteResponse"
243 },
244 "scopes": [
245 "https://www.googleapis.com/auth/sqlservice.admin"
246 ]
247 },
248 "export": {
249 "description": "Exports data from a Cloud SQL instance to a Google Cloud Storage bucket as a MySQL dump file.",
250 "httpMethod": "POST",
251 "id": "sql.instances.export",
252 "parameterOrder": [
253 "project",
254 "instance"
255 ],
256 "parameters": {
257 "instance": {
258 "description": "Cloud SQL instance ID. This does not include the project ID.",
259 "location": "path",
260 "required": true,
261 "type": "string"
262 },
263 "project": {
264 "description": "Project ID of the project that conta ins the instance to be exported.",
265 "location": "path",
266 "required": true,
267 "type": "string"
268 }
269 },
270 "path": "projects/{project}/instances/{instance}/export",
271 "request": {
272 "$ref": "InstancesExportRequest"
273 },
274 "response": {
275 "$ref": "InstancesExportResponse"
276 },
277 "scopes": [
278 "https://www.googleapis.com/auth/cloud-platform"
279 ]
280 },
281 "get": {
282 "description": "Retrieves information about a Cloud SQL inst ance.",
283 "httpMethod": "GET",
284 "id": "sql.instances.get",
285 "parameterOrder": [
286 "project",
287 "instance"
288 ],
289 "parameters": {
290 "instance": {
291 "description": "Database instance ID. This does not include the project ID.",
292 "location": "path",
293 "required": true,
294 "type": "string"
295 },
296 "project": {
297 "description": "Project ID of the project that conta ins the instance.",
298 "location": "path",
299 "required": true,
300 "type": "string"
301 }
302 },
303 "path": "projects/{project}/instances/{instance}",
304 "response": {
305 "$ref": "DatabaseInstance"
306 },
307 "scopes": [
308 "https://www.googleapis.com/auth/sqlservice.admin"
309 ]
310 },
311 "import": {
312 "description": "Imports data into a Cloud SQL instance from a MySQL dump file stored in a Google Cloud Storage bucket.",
313 "httpMethod": "POST",
314 "id": "sql.instances.import",
315 "parameterOrder": [
316 "project",
317 "instance"
318 ],
319 "parameters": {
320 "instance": {
321 "description": "Cloud SQL instance ID. This does not include the project ID.",
322 "location": "path",
323 "required": true,
324 "type": "string"
325 },
326 "project": {
327 "description": "Project ID of the project that conta ins the instance.",
328 "location": "path",
329 "required": true,
330 "type": "string"
331 }
332 },
333 "path": "projects/{project}/instances/{instance}/import",
334 "request": {
335 "$ref": "InstancesImportRequest"
336 },
337 "response": {
338 "$ref": "InstancesImportResponse"
339 },
340 "scopes": [
341 "https://www.googleapis.com/auth/cloud-platform"
342 ]
343 },
344 "insert": {
345 "description": "Creates a new Cloud SQL instance.",
346 "httpMethod": "POST",
347 "id": "sql.instances.insert",
348 "parameterOrder": [
349 "project"
350 ],
351 "parameters": {
352 "project": {
353 "description": "Project ID of the project to which t he newly created Cloud SQL instances should belong.",
354 "location": "path",
355 "required": true,
356 "type": "string"
357 }
358 },
359 "path": "projects/{project}/instances",
360 "request": {
361 "$ref": "DatabaseInstance"
362 },
363 "response": {
364 "$ref": "InstancesInsertResponse"
365 },
366 "scopes": [
367 "https://www.googleapis.com/auth/sqlservice.admin"
368 ]
369 },
370 "list": {
371 "description": "Lists instances for a given project, in alph abetical order by instance name.",
372 "httpMethod": "GET",
373 "id": "sql.instances.list",
374 "parameterOrder": [
375 "project"
376 ],
377 "parameters": {
378 "maxResults": {
379 "description": "The maximum number of results to ret urn per response.",
380 "format": "uint32",
381 "location": "query",
382 "type": "integer"
383 },
384 "pageToken": {
385 "description": "A previously-returned page token rep resenting part of the larger set of results to view.",
386 "location": "query",
387 "type": "string"
388 },
389 "project": {
390 "description": "Project ID of the project for which to list Cloud SQL instances.",
391 "location": "path",
392 "required": true,
393 "type": "string"
394 }
395 },
396 "path": "projects/{project}/instances",
397 "response": {
398 "$ref": "InstancesListResponse"
399 },
400 "scopes": [
401 "https://www.googleapis.com/auth/sqlservice.admin"
402 ]
403 },
404 "patch": {
405 "description": "Updates the settings of a Cloud SQL instance . This method supports patch semantics.",
406 "httpMethod": "PATCH",
407 "id": "sql.instances.patch",
408 "parameterOrder": [
409 "project",
410 "instance"
411 ],
412 "parameters": {
413 "instance": {
414 "description": "Cloud SQL instance ID. This does not include the project ID.",
415 "location": "path",
416 "required": true,
417 "type": "string"
418 },
419 "project": {
420 "description": "Project ID of the project that conta ins the instance.",
421 "location": "path",
422 "required": true,
423 "type": "string"
424 }
425 },
426 "path": "projects/{project}/instances/{instance}",
427 "request": {
428 "$ref": "DatabaseInstance"
429 },
430 "response": {
431 "$ref": "InstancesUpdateResponse"
432 },
433 "scopes": [
434 "https://www.googleapis.com/auth/sqlservice.admin"
435 ]
436 },
437 "promoteReplica": {
438 "description": "Promotes the read replica instance to be a s tand-alone Cloud SQL instance.",
439 "httpMethod": "POST",
440 "id": "sql.instances.promoteReplica",
441 "parameterOrder": [
442 "project",
443 "instance"
444 ],
445 "parameters": {
446 "instance": {
447 "description": "Cloud SQL read replica instance name .",
448 "location": "path",
449 "required": true,
450 "type": "string"
451 },
452 "project": {
453 "description": "ID of the project that contains the read replica.",
454 "location": "path",
455 "required": true,
456 "type": "string"
457 }
458 },
459 "path": "projects/{project}/instances/{instance}/promoteRepl ica",
460 "response": {
461 "$ref": "InstancesPromoteReplicaResponse"
462 },
463 "scopes": [
464 "https://www.googleapis.com/auth/sqlservice.admin"
465 ]
466 },
467 "resetSslConfig": {
468 "description": "Deletes all client certificates and generate s a new server SSL certificate for a Cloud SQL instance.",
469 "httpMethod": "POST",
470 "id": "sql.instances.resetSslConfig",
471 "parameterOrder": [
472 "project",
473 "instance"
474 ],
475 "parameters": {
476 "instance": {
477 "description": "Cloud SQL instance ID. This does not include the project ID.",
478 "location": "path",
479 "required": true,
480 "type": "string"
481 },
482 "project": {
483 "description": "Project ID of the project that conta ins the instance.",
484 "location": "path",
485 "required": true,
486 "type": "string"
487 }
488 },
489 "path": "projects/{project}/instances/{instance}/resetSslCon fig",
490 "response": {
491 "$ref": "InstancesResetSslConfigResponse"
492 },
493 "scopes": [
494 "https://www.googleapis.com/auth/sqlservice.admin"
495 ]
496 },
497 "restart": {
498 "description": "Restarts a Cloud SQL instance.",
499 "httpMethod": "POST",
500 "id": "sql.instances.restart",
501 "parameterOrder": [
502 "project",
503 "instance"
504 ],
505 "parameters": {
506 "instance": {
507 "description": "Cloud SQL instance ID. This does not include the project ID.",
508 "location": "path",
509 "required": true,
510 "type": "string"
511 },
512 "project": {
513 "description": "Project ID of the project that conta ins the instance to be restarted.",
514 "location": "path",
515 "required": true,
516 "type": "string"
517 }
518 },
519 "path": "projects/{project}/instances/{instance}/restart",
520 "response": {
521 "$ref": "InstancesRestartResponse"
522 },
523 "scopes": [
524 "https://www.googleapis.com/auth/sqlservice.admin"
525 ]
526 },
527 "restoreBackup": {
528 "description": "Restores a backup of a Cloud SQL instance.",
529 "httpMethod": "POST",
530 "id": "sql.instances.restoreBackup",
531 "parameterOrder": [
532 "project",
533 "instance",
534 "backupConfiguration",
535 "dueTime"
536 ],
537 "parameters": {
538 "backupConfiguration": {
539 "description": "The identifier of the backup configu ration. This gets generated automatically when a backup configuration is created .",
540 "location": "query",
541 "required": true,
542 "type": "string"
543 },
544 "dueTime": {
545 "description": "The time when this run is due to sta rt in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.",
546 "location": "query",
547 "required": true,
548 "type": "string"
549 },
550 "instance": {
551 "description": "Cloud SQL instance ID. This does not include the project ID.",
552 "location": "path",
553 "required": true,
554 "type": "string"
555 },
556 "project": {
557 "description": "Project ID of the project that conta ins the instance.",
558 "location": "path",
559 "required": true,
560 "type": "string"
561 }
562 },
563 "path": "projects/{project}/instances/{instance}/restoreBack up",
564 "response": {
565 "$ref": "InstancesRestoreBackupResponse"
566 },
567 "scopes": [
568 "https://www.googleapis.com/auth/sqlservice.admin"
569 ]
570 },
571 "setRootPassword": {
572 "description": "Sets the password for the root user of the s pecified Cloud SQL instance.",
573 "httpMethod": "POST",
574 "id": "sql.instances.setRootPassword",
575 "parameterOrder": [
576 "project",
577 "instance"
578 ],
579 "parameters": {
580 "instance": {
581 "description": "Cloud SQL instance ID. This does not include the project ID.",
582 "location": "path",
583 "required": true,
584 "type": "string"
585 },
586 "project": {
587 "description": "Project ID of the project that conta ins the instance.",
588 "location": "path",
589 "required": true,
590 "type": "string"
591 }
592 },
593 "path": "projects/{project}/instances/{instance}/setRootPass word",
594 "request": {
595 "$ref": "InstanceSetRootPasswordRequest"
596 },
597 "response": {
598 "$ref": "InstancesSetRootPasswordResponse"
599 },
600 "scopes": [
601 "https://www.googleapis.com/auth/sqlservice.admin"
602 ]
603 },
604 "update": {
605 "description": "Updates the settings of a Cloud SQL instance .",
606 "etagRequired": true,
607 "httpMethod": "PUT",
608 "id": "sql.instances.update",
609 "parameterOrder": [
610 "project",
611 "instance"
612 ],
613 "parameters": {
614 "instance": {
615 "description": "Cloud SQL instance ID. This does not include the project ID.",
616 "location": "path",
617 "required": true,
618 "type": "string"
619 },
620 "project": {
621 "description": "Project ID of the project that conta ins the instance.",
622 "location": "path",
623 "required": true,
624 "type": "string"
625 }
626 },
627 "path": "projects/{project}/instances/{instance}",
628 "request": {
629 "$ref": "DatabaseInstance"
630 },
631 "response": {
632 "$ref": "InstancesUpdateResponse"
633 },
634 "scopes": [
635 "https://www.googleapis.com/auth/sqlservice.admin"
636 ]
637 }
638 }
639 },
640 "operations": {
641 "methods": {
642 "get": {
643 "description": "Retrieves information about a specific opera tion that was performed on a Cloud SQL instance.",
644 "httpMethod": "GET",
645 "id": "sql.operations.get",
646 "parameterOrder": [
647 "project",
648 "instance",
649 "operation"
650 ],
651 "parameters": {
652 "instance": {
653 "description": "Cloud SQL instance ID. This does not include the project ID.",
654 "location": "path",
655 "required": true,
656 "type": "string"
657 },
658 "operation": {
659 "description": "Instance operation ID.",
660 "location": "path",
661 "required": true,
662 "type": "string"
663 },
664 "project": {
665 "description": "Project ID of the project that conta ins the instance.",
666 "location": "path",
667 "required": true,
668 "type": "string"
669 }
670 },
671 "path": "projects/{project}/instances/{instance}/operations/ {operation}",
672 "response": {
673 "$ref": "InstanceOperation"
674 },
675 "scopes": [
676 "https://www.googleapis.com/auth/sqlservice.admin"
677 ]
678 },
679 "list": {
680 "description": "Lists all operations that have been performe d on a Cloud SQL instance.",
681 "httpMethod": "GET",
682 "id": "sql.operations.list",
683 "parameterOrder": [
684 "project",
685 "instance"
686 ],
687 "parameters": {
688 "instance": {
689 "description": "Cloud SQL instance ID. This does not include the project ID.",
690 "location": "path",
691 "required": true,
692 "type": "string"
693 },
694 "maxResults": {
695 "description": "Maximum number of operations per res ponse.",
696 "format": "uint32",
697 "location": "query",
698 "type": "integer"
699 },
700 "pageToken": {
701 "description": "A previously-returned page token rep resenting part of the larger set of results to view.",
702 "location": "query",
703 "type": "string"
704 },
705 "project": {
706 "description": "Project ID of the project that conta ins the instance.",
707 "location": "path",
708 "required": true,
709 "type": "string"
710 }
711 },
712 "path": "projects/{project}/instances/{instance}/operations" ,
713 "response": {
714 "$ref": "OperationsListResponse"
715 },
716 "scopes": [
717 "https://www.googleapis.com/auth/sqlservice.admin"
718 ]
719 }
720 }
721 },
722 "sslCerts": {
723 "methods": {
724 "delete": {
725 "description": "Deletes an SSL certificate from a Cloud SQL instance.",
726 "httpMethod": "DELETE",
727 "id": "sql.sslCerts.delete",
728 "parameterOrder": [
729 "project",
730 "instance",
731 "sha1Fingerprint"
732 ],
733 "parameters": {
734 "instance": {
735 "description": "Cloud SQL instance ID. This does not include the project ID.",
736 "location": "path",
737 "required": true,
738 "type": "string"
739 },
740 "project": {
741 "description": "Project ID of the project that conta ins the instance to be deleted.",
742 "location": "path",
743 "required": true,
744 "type": "string"
745 },
746 "sha1Fingerprint": {
747 "description": "Sha1 FingerPrint.",
748 "location": "path",
749 "required": true,
750 "type": "string"
751 }
752 },
753 "path": "projects/{project}/instances/{instance}/sslCerts/{s ha1Fingerprint}",
754 "response": {
755 "$ref": "SslCertsDeleteResponse"
756 },
757 "scopes": [
758 "https://www.googleapis.com/auth/sqlservice.admin"
759 ]
760 },
761 "get": {
762 "description": "Retrieves an SSL certificate as specified by its SHA-1 fingerprint.",
763 "httpMethod": "GET",
764 "id": "sql.sslCerts.get",
765 "parameterOrder": [
766 "project",
767 "instance",
768 "sha1Fingerprint"
769 ],
770 "parameters": {
771 "instance": {
772 "description": "Cloud SQL instance ID. This does not include the project ID.",
773 "location": "path",
774 "required": true,
775 "type": "string"
776 },
777 "project": {
778 "description": "Project ID of the project that conta ins the instance.",
779 "location": "path",
780 "required": true,
781 "type": "string"
782 },
783 "sha1Fingerprint": {
784 "description": "Sha1 FingerPrint.",
785 "location": "path",
786 "required": true,
787 "type": "string"
788 }
789 },
790 "path": "projects/{project}/instances/{instance}/sslCerts/{s ha1Fingerprint}",
791 "response": {
792 "$ref": "SslCert"
793 },
794 "scopes": [
795 "https://www.googleapis.com/auth/sqlservice.admin"
796 ]
797 },
798 "insert": {
799 "description": "Creates an SSL certificate and returns the c ertificate, the associated private key, and the server certificate authority.",
800 "httpMethod": "POST",
801 "id": "sql.sslCerts.insert",
802 "parameterOrder": [
803 "project",
804 "instance"
805 ],
806 "parameters": {
807 "instance": {
808 "description": "Cloud SQL instance ID. This does not include the project ID.",
809 "location": "path",
810 "required": true,
811 "type": "string"
812 },
813 "project": {
814 "description": "Project ID of the project to which t he newly created Cloud SQL instances should belong.",
815 "location": "path",
816 "required": true,
817 "type": "string"
818 }
819 },
820 "path": "projects/{project}/instances/{instance}/sslCerts",
821 "request": {
822 "$ref": "SslCertsInsertRequest"
823 },
824 "response": {
825 "$ref": "SslCertsInsertResponse"
826 },
827 "scopes": [
828 "https://www.googleapis.com/auth/sqlservice.admin"
829 ]
830 },
831 "list": {
832 "description": "Lists all of the current SSL certificates de fined for a Cloud SQL instance.",
833 "httpMethod": "GET",
834 "id": "sql.sslCerts.list",
835 "parameterOrder": [
836 "project",
837 "instance"
838 ],
839 "parameters": {
840 "instance": {
841 "description": "Cloud SQL instance ID. This does not include the project ID.",
842 "location": "path",
843 "required": true,
844 "type": "string"
845 },
846 "project": {
847 "description": "Project ID of the project for which to list Cloud SQL instances.",
848 "location": "path",
849 "required": true,
850 "type": "string"
851 }
852 },
853 "path": "projects/{project}/instances/{instance}/sslCerts",
854 "response": {
855 "$ref": "SslCertsListResponse"
856 },
857 "scopes": [
858 "https://www.googleapis.com/auth/sqlservice.admin"
859 ]
860 }
861 }
862 },
863 "tiers": {
864 "methods": {
865 "list": {
866 "description": "Lists service tiers that can be used to crea te Google Cloud SQL instances.",
867 "httpMethod": "GET",
868 "id": "sql.tiers.list",
869 "parameterOrder": [
870 "project"
871 ],
872 "parameters": {
873 "project": {
874 "description": "Project ID of the project for which to list tiers.",
875 "location": "path",
876 "required": true,
877 "type": "string"
878 }
879 },
880 "path": "projects/{project}/tiers",
881 "response": {
882 "$ref": "TiersListResponse"
883 },
884 "scopes": [
885 "https://www.googleapis.com/auth/sqlservice.admin"
886 ]
887 }
888 }
889 }
890 },
891 "revision": "20140813",
892 "rootUrl": "https://www.googleapis.com/",
893 "schemas": {
894 "BackupConfiguration": {
895 "description": "Database instance backup configuration.",
896 "id": "BackupConfiguration",
897 "properties": {
898 "binaryLogEnabled": {
899 "description": "Whether binary log is enabled. If backup con figuration is disabled, binary log must be disabled as well.",
900 "type": "boolean"
901 },
902 "enabled": {
903 "description": "Whether this configuration is enabled.",
904 "type": "boolean"
905 },
906 "id": {
907 "description": "Identifier for this configuration. This gets generated automatically when a backup configuration is created.",
908 "type": "string"
909 },
910 "kind": {
911 "default": "sql#backupConfiguration",
912 "description": "This is always sql#backupConfiguration.",
913 "type": "string"
914 },
915 "startTime": {
916 "description": "Start time for the daily backup configuratio n in UTC timezone in the 24 hour format - HH:MM.",
917 "type": "string"
918 }
919 },
920 "type": "object"
921 },
922 "BackupRun": {
923 "description": "A database instance backup run resource.",
924 "id": "BackupRun",
925 "properties": {
926 "backupConfiguration": {
927 "description": "Backup Configuration identifier.",
928 "type": "string"
929 },
930 "dueTime": {
931 "description": "The due time of this run in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.",
932 "format": "date-time",
933 "type": "string"
934 },
935 "endTime": {
936 "description": "The time the backup operation completed in U TC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.",
937 "format": "date-time",
938 "type": "string"
939 },
940 "enqueuedTime": {
941 "description": "The time the run was enqueued in UTC timezon e in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.",
942 "format": "date-time",
943 "type": "string"
944 },
945 "error": {
946 "$ref": "OperationError",
947 "description": "Information about why the backup operation f ailed. This is only present if the run has the FAILED status."
948 },
949 "instance": {
950 "description": "Name of the database instance.",
951 "type": "string"
952 },
953 "kind": {
954 "default": "sql#backupRun",
955 "description": "This is always sql#backupRun.",
956 "type": "string"
957 },
958 "startTime": {
959 "description": "The time the backup operation actually start ed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.",
960 "format": "date-time",
961 "type": "string"
962 },
963 "status": {
964 "description": "The status of this run.",
965 "type": "string"
966 }
967 },
968 "type": "object"
969 },
970 "BackupRunsListResponse": {
971 "description": "Backup run list results.",
972 "id": "BackupRunsListResponse",
973 "properties": {
974 "items": {
975 "description": "A list of backup runs in reverse chronologic al order of the enqueued time.",
976 "items": {
977 "$ref": "BackupRun"
978 },
979 "type": "array"
980 },
981 "kind": {
982 "default": "sql#backupRunsList",
983 "description": "This is always sql#backupRunsList.",
984 "type": "string"
985 },
986 "nextPageToken": {
987 "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the nex t page of results.",
988 "type": "string"
989 }
990 },
991 "type": "object"
992 },
993 "BinLogCoordinates": {
994 "description": "Binary log coordinates.",
995 "id": "BinLogCoordinates",
996 "properties": {
997 "binLogFileName": {
998 "description": "Name of the binary log file for a Cloud SQL instance.",
999 "type": "string"
1000 },
1001 "binLogPosition": {
1002 "description": "Position (offset) within the binary log file .",
1003 "format": "int64",
1004 "type": "string"
1005 },
1006 "kind": {
1007 "default": "sql#binLogCoordinates",
1008 "description": "This is always sql#binLogCoordinates.",
1009 "type": "string"
1010 }
1011 },
1012 "type": "object"
1013 },
1014 "CloneContext": {
1015 "description": "Database instance clone context.",
1016 "id": "CloneContext",
1017 "properties": {
1018 "binLogCoordinates": {
1019 "$ref": "BinLogCoordinates",
1020 "description": "Binary log coordinates, if specified, indent ify the position up to which the source instance should be cloned. If not specif ied, the source instance is cloned up to the most recent binary log coordinates. "
1021 },
1022 "destinationInstanceName": {
1023 "description": "Name of the Cloud SQL instance to be created as a clone.",
1024 "type": "string"
1025 },
1026 "kind": {
1027 "default": "sql#cloneContext",
1028 "description": "This is always sql#cloneContext.",
1029 "type": "string"
1030 },
1031 "sourceInstanceName": {
1032 "description": "Name of the Cloud SQL instance to be cloned. ",
1033 "type": "string"
1034 }
1035 },
1036 "type": "object"
1037 },
1038 "DatabaseFlags": {
1039 "description": "MySQL flags for Cloud SQL instances.",
1040 "id": "DatabaseFlags",
1041 "properties": {
1042 "name": {
1043 "description": "The name of the flag. These flags are passed at instance startup, so include both MySQL server options and MySQL system vari ables. Flags should be specified with underscores, not hyphens. Refer to the off icial MySQL documentation on server options and system variables for description s of what these flags do. Acceptable values are: character_set_server utf8 or u tf8mb4 event_scheduler on or off (Note: The event scheduler will only work relia bly if the instance activationPolicy is set to ALWAYS) general_log on or off gro up_concat_max_len 4..17179869184 innodb_flush_log_at_trx_commit 0..2 innodb_lock _wait_timeout 1..1073741824 log_bin_trust_function_creators on or off log_output Can be either TABLE or NONE, FILE is not supported log_queries_not_using_indexe s on or off long_query_time 0..30000000 lower_case_table_names 0..2 max_allowed_ packet 16384..1073741824 read_only on or off skip_show_database on or off slow_q uery_log on or off. If set to on, you must also set the log_output flag to TABLE to receive logs. wait_timeout 1..31536000",
1044 "type": "string"
1045 },
1046 "value": {
1047 "description": "The value of the flag. Booleans should be se t using 1 for true, and 0 for false. This field must be omitted if the flag does n't take a value.",
1048 "type": "string"
1049 }
1050 },
1051 "type": "object"
1052 },
1053 "DatabaseInstance": {
1054 "description": "A Cloud SQL instance resource.",
1055 "id": "DatabaseInstance",
1056 "properties": {
1057 "currentDiskSize": {
1058 "description": "The current disk usage of the instance in by tes.",
1059 "format": "int64",
1060 "type": "string"
1061 },
1062 "databaseVersion": {
1063 "description": "The database engine type and version. Can be MYSQL_5_5 or MYSQL_5_6. Defaults to MYSQL_5_5. The databaseVersion cannot be ch anged after instance creation.",
1064 "type": "string"
1065 },
1066 "etag": {
1067 "description": "HTTP 1.1 Entity tag for the resource.",
1068 "type": "string"
1069 },
1070 "instance": {
1071 "annotations": {
1072 "required": [
1073 "sql.instances.insert",
1074 "sql.instances.update"
1075 ]
1076 },
1077 "description": "Name of the Cloud SQL instance. This does no t include the project ID.",
1078 "type": "string"
1079 },
1080 "instanceType": {
1081 "description": "The instance type. This can be one of the fo llowing.\nCLOUD_SQL_INSTANCE: Regular Cloud SQL instance.\nREAD_REPLICA_INSTANCE : Cloud SQL instance acting as a read-replica.",
1082 "type": "string"
1083 },
1084 "ipAddresses": {
1085 "description": "The assigned IP addresses for the instance." ,
1086 "items": {
1087 "$ref": "IpMapping"
1088 },
1089 "type": "array"
1090 },
1091 "kind": {
1092 "default": "sql#instance",
1093 "description": "This is always sql#instance.",
1094 "type": "string"
1095 },
1096 "masterInstanceName": {
1097 "description": "The name of the instance which will act as m aster in the replication setup.",
1098 "type": "string"
1099 },
1100 "maxDiskSize": {
1101 "description": "The maximum disk size of the instance in byt es.",
1102 "format": "int64",
1103 "type": "string"
1104 },
1105 "project": {
1106 "annotations": {
1107 "required": [
1108 "sql.instances.insert",
1109 "sql.instances.update"
1110 ]
1111 },
1112 "description": "The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.",
1113 "type": "string"
1114 },
1115 "region": {
1116 "description": "The geographical region. Can be us-east1, us -central, asia-east1 or europe-west1. Defaults to us-central. The region can not be changed after instance creation.",
1117 "type": "string"
1118 },
1119 "replicaNames": {
1120 "description": "The replicas of the instance.",
1121 "items": {
1122 "type": "string"
1123 },
1124 "type": "array"
1125 },
1126 "serverCaCert": {
1127 "$ref": "SslCert",
1128 "description": "SSL configuration."
1129 },
1130 "settings": {
1131 "$ref": "Settings",
1132 "description": "The user settings."
1133 },
1134 "state": {
1135 "description": "The current serving state of the Cloud SQL i nstance. This can be one of the following.\nRUNNABLE: The instance is running, o r is ready to run when accessed.\nSUSPENDED: The instance is not available, for example due to problems with billing.\nPENDING_CREATE: The instance is being cre ated.\nMAINTENANCE: The instance is down for maintenance.\nUNKNOWN_STATE: The st ate of the instance is unknown.",
1136 "type": "string"
1137 }
1138 },
1139 "type": "object"
1140 },
1141 "ExportContext": {
1142 "description": "Database instance export context.",
1143 "id": "ExportContext",
1144 "properties": {
1145 "database": {
1146 "description": "Databases (for example, guestbook) from whic h the export is made. If unspecified, all databases are exported.",
1147 "items": {
1148 "type": "string"
1149 },
1150 "type": "array"
1151 },
1152 "kind": {
1153 "default": "sql#exportContext",
1154 "description": "This is always sql#exportContext.",
1155 "type": "string"
1156 },
1157 "table": {
1158 "description": "Tables to export, or that were exported, fro m the specified database. If you specify tables, specify one and only one databa se.",
1159 "items": {
1160 "type": "string"
1161 },
1162 "type": "array"
1163 },
1164 "uri": {
1165 "description": "The path to the file in Google Cloud Storage where the export will be stored, or where it was already stored. The URI is in the form gs://bucketName/fileName. If the file already exists, the operation fai ls. If the filename ends with .gz, the contents are compressed.",
1166 "type": "string"
1167 }
1168 },
1169 "type": "object"
1170 },
1171 "Flag": {
1172 "description": "A Google Cloud SQL service flag resource.",
1173 "id": "Flag",
1174 "properties": {
1175 "allowedStringValues": {
1176 "description": "For STRING flags, a list of strings that the value can be set to.",
1177 "items": {
1178 "type": "string"
1179 },
1180 "type": "array"
1181 },
1182 "appliesTo": {
1183 "description": "The database version this flag applies to. C urrently this can only be [MYSQL_5_5].",
1184 "items": {
1185 "type": "string"
1186 },
1187 "type": "array"
1188 },
1189 "kind": {
1190 "default": "sql#flag",
1191 "description": "This is always sql#flag.",
1192 "type": "string"
1193 },
1194 "maxValue": {
1195 "description": "For INTEGER flags, the maximum allowed value .",
1196 "format": "int64",
1197 "type": "string"
1198 },
1199 "minValue": {
1200 "description": "For INTEGER flags, the minimum allowed value .",
1201 "format": "int64",
1202 "type": "string"
1203 },
1204 "name": {
1205 "description": "This is the name of the flag. Flag names alw ays use underscores, not hyphens, e.g. max_allowed_packet",
1206 "type": "string"
1207 },
1208 "type": {
1209 "description": "The type of the flag. Flags are typed to bei ng BOOLEAN, STRING, INTEGER or NONE. NONE is used for flags which do not take a value, such as skip_grant_tables.",
1210 "type": "string"
1211 }
1212 },
1213 "type": "object"
1214 },
1215 "FlagsListResponse": {
1216 "description": "Flags list response.",
1217 "id": "FlagsListResponse",
1218 "properties": {
1219 "items": {
1220 "description": "List of flags.",
1221 "items": {
1222 "$ref": "Flag"
1223 },
1224 "type": "array"
1225 },
1226 "kind": {
1227 "default": "sql#flagsList",
1228 "description": "This is always sql#flagsList.",
1229 "type": "string"
1230 }
1231 },
1232 "type": "object"
1233 },
1234 "ImportContext": {
1235 "description": "Database instance import context.",
1236 "id": "ImportContext",
1237 "properties": {
1238 "database": {
1239 "description": "The database (for example, guestbook) to whi ch the import is made. If not set, it is assumed that the database is specified in the file to be imported.",
1240 "type": "string"
1241 },
1242 "kind": {
1243 "default": "sql#importContext",
1244 "description": "This is always sql#importContext.",
1245 "type": "string"
1246 },
1247 "uri": {
1248 "description": "A path to the MySQL dump file in Google Clou d Storage from which the import is made. The URI is in the form gs://bucketName/ fileName. Compressed gzip files (.gz) are also supported.",
1249 "items": {
1250 "type": "string"
1251 },
1252 "type": "array"
1253 }
1254 },
1255 "type": "object"
1256 },
1257 "InstanceOperation": {
1258 "description": "An Operations resource contains information about da tabase instance operations such as create, delete, and restart. Operations resou rces are created in response to operations that were initiated; you never create them directly.",
1259 "id": "InstanceOperation",
1260 "properties": {
1261 "endTime": {
1262 "description": "The time this operation finished in UTC time zone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.",
1263 "format": "date-time",
1264 "type": "string"
1265 },
1266 "enqueuedTime": {
1267 "description": "The time this operation was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.",
1268 "format": "date-time",
1269 "type": "string"
1270 },
1271 "error": {
1272 "description": "The error(s) encountered by this operation. Only set if the operation results in an error.",
1273 "items": {
1274 "$ref": "OperationError"
1275 },
1276 "type": "array"
1277 },
1278 "exportContext": {
1279 "$ref": "ExportContext",
1280 "description": "The context for export operation, if applica ble."
1281 },
1282 "importContext": {
1283 "$ref": "ImportContext",
1284 "description": "The context for import operation, if applica ble."
1285 },
1286 "instance": {
1287 "description": "Name of the database instance.",
1288 "type": "string"
1289 },
1290 "kind": {
1291 "default": "sql#instanceOperation",
1292 "description": "This is always sql#instanceOperation.",
1293 "type": "string"
1294 },
1295 "operation": {
1296 "description": "An identifier that uniquely identifies the o peration. You can use this identifier to retrieve the Operations resource that h as information about the operation.",
1297 "type": "string"
1298 },
1299 "operationType": {
1300 "description": "The type of the operation. Valid values are CREATE, DELETE, UPDATE, RESTART, IMPORT, EXPORT, BACKUP_VOLUME, RESTORE_VOLUME." ,
1301 "type": "string"
1302 },
1303 "startTime": {
1304 "description": "The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.",
1305 "format": "date-time",
1306 "type": "string"
1307 },
1308 "state": {
1309 "description": "The state of an operation. Valid values are PENDING, RUNNING, DONE, UNKNOWN.",
1310 "type": "string"
1311 },
1312 "userEmailAddress": {
1313 "description": "The email address of the user who initiated this operation.",
1314 "type": "string"
1315 }
1316 },
1317 "type": "object"
1318 },
1319 "InstanceSetRootPasswordRequest": {
1320 "description": "Database instance set root password request.",
1321 "id": "InstanceSetRootPasswordRequest",
1322 "properties": {
1323 "setRootPasswordContext": {
1324 "$ref": "SetRootPasswordContext",
1325 "description": "Set Root Password Context."
1326 }
1327 },
1328 "type": "object"
1329 },
1330 "InstancesCloneRequest": {
1331 "description": "Database instance clone request.",
1332 "id": "InstancesCloneRequest",
1333 "properties": {
1334 "cloneContext": {
1335 "$ref": "CloneContext",
1336 "description": "Contains details about the clone operation."
1337 }
1338 },
1339 "type": "object"
1340 },
1341 "InstancesCloneResponse": {
1342 "description": "Database instance clone response.",
1343 "id": "InstancesCloneResponse",
1344 "properties": {
1345 "kind": {
1346 "default": "sql#instancesClone",
1347 "description": "This is always sql#instancesClone.",
1348 "type": "string"
1349 },
1350 "operation": {
1351 "description": "An unique identifier for the operation assoc iated with the cloned instance. You can use this identifier to retrieve the Oper ations resource, which has information about the operation.",
1352 "type": "string"
1353 }
1354 },
1355 "type": "object"
1356 },
1357 "InstancesDeleteResponse": {
1358 "description": "Database instance delete response.",
1359 "id": "InstancesDeleteResponse",
1360 "properties": {
1361 "kind": {
1362 "default": "sql#instancesDelete",
1363 "description": "This is always sql#instancesDelete.",
1364 "type": "string"
1365 },
1366 "operation": {
1367 "description": "An identifier that uniquely identifies the o peration. You can use this identifier to retrieve the Operations resource that h as information about the operation.",
1368 "type": "string"
1369 }
1370 },
1371 "type": "object"
1372 },
1373 "InstancesExportRequest": {
1374 "description": "Database instance export request.",
1375 "id": "InstancesExportRequest",
1376 "properties": {
1377 "exportContext": {
1378 "$ref": "ExportContext",
1379 "description": "Contains details about the export operation. "
1380 }
1381 },
1382 "type": "object"
1383 },
1384 "InstancesExportResponse": {
1385 "description": "Database instance export response.",
1386 "id": "InstancesExportResponse",
1387 "properties": {
1388 "kind": {
1389 "default": "sql#instancesExport",
1390 "description": "This is always sql#instancesExport.",
1391 "type": "string"
1392 },
1393 "operation": {
1394 "description": "An identifier that uniquely identifies the o peration. You can use this identifier to retrieve the Operations resource that h as information about the operation.",
1395 "type": "string"
1396 }
1397 },
1398 "type": "object"
1399 },
1400 "InstancesImportRequest": {
1401 "description": "Database instance import request.",
1402 "id": "InstancesImportRequest",
1403 "properties": {
1404 "importContext": {
1405 "$ref": "ImportContext",
1406 "description": "Contains details about the import operation. "
1407 }
1408 },
1409 "type": "object"
1410 },
1411 "InstancesImportResponse": {
1412 "description": "Database instance import response.",
1413 "id": "InstancesImportResponse",
1414 "properties": {
1415 "kind": {
1416 "default": "sql#instancesImport",
1417 "description": "This is always sql#instancesImport.",
1418 "type": "string"
1419 },
1420 "operation": {
1421 "description": "An identifier that uniquely identifies the o peration. You can use this identifier to retrieve the Operations resource that h as information about the operation.",
1422 "type": "string"
1423 }
1424 },
1425 "type": "object"
1426 },
1427 "InstancesInsertResponse": {
1428 "description": "Database instance insert response.",
1429 "id": "InstancesInsertResponse",
1430 "properties": {
1431 "kind": {
1432 "default": "sql#instancesInsert",
1433 "description": "This is always sql#instancesInsert.",
1434 "type": "string"
1435 },
1436 "operation": {
1437 "description": "An identifier that uniquely identifies the o peration. You can use this identifier to retrieve the Operations resource that h as information about the operation.",
1438 "type": "string"
1439 }
1440 },
1441 "type": "object"
1442 },
1443 "InstancesListResponse": {
1444 "description": "Database instances list response.",
1445 "id": "InstancesListResponse",
1446 "properties": {
1447 "items": {
1448 "description": "List of database instance resources.",
1449 "items": {
1450 "$ref": "DatabaseInstance"
1451 },
1452 "type": "array"
1453 },
1454 "kind": {
1455 "default": "sql#instancesList",
1456 "description": "This is always sql#instancesList.",
1457 "type": "string"
1458 },
1459 "nextPageToken": {
1460 "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the nex t page of results.",
1461 "type": "string"
1462 }
1463 },
1464 "type": "object"
1465 },
1466 "InstancesPromoteReplicaResponse": {
1467 "description": "Database promote read replica response.",
1468 "id": "InstancesPromoteReplicaResponse",
1469 "properties": {
1470 "kind": {
1471 "default": "sql#instancesPromoteReplica",
1472 "description": "This is always sql#instancesPromoteReplica." ,
1473 "type": "string"
1474 },
1475 "operation": {
1476 "description": "An identifier that uniquely identifies the o peration. You can use this identifier to retrieve the Operations resource that h as information about the operation.",
1477 "type": "string"
1478 }
1479 },
1480 "type": "object"
1481 },
1482 "InstancesResetSslConfigResponse": {
1483 "description": "Database instance resetSslConfig response.",
1484 "id": "InstancesResetSslConfigResponse",
1485 "properties": {
1486 "kind": {
1487 "default": "sql#instancesResetSslConfig",
1488 "description": "This is always sql#instancesResetSslConfig." ,
1489 "type": "string"
1490 },
1491 "operation": {
1492 "description": "An identifier that uniquely identifies the o peration. You can use this identifier to retrieve the Operations resource that h as information about the operation. All ssl client certificates will be deleted and a new server certificate will be created. Does not take effect until the nex t instance restart.",
1493 "type": "string"
1494 }
1495 },
1496 "type": "object"
1497 },
1498 "InstancesRestartResponse": {
1499 "description": "Database instance restart response.",
1500 "id": "InstancesRestartResponse",
1501 "properties": {
1502 "kind": {
1503 "default": "sql#instancesRestart",
1504 "description": "This is always sql#instancesRestart.",
1505 "type": "string"
1506 },
1507 "operation": {
1508 "description": "An identifier that uniquely identifies the o peration. You can use this identifier to retrieve the Operations resource that h as information about the operation.",
1509 "type": "string"
1510 }
1511 },
1512 "type": "object"
1513 },
1514 "InstancesRestoreBackupResponse": {
1515 "description": "Database instance restore backup response.",
1516 "id": "InstancesRestoreBackupResponse",
1517 "properties": {
1518 "kind": {
1519 "default": "sql#instancesRestoreBackup",
1520 "description": "This is always sql#instancesRestoreBackup.",
1521 "type": "string"
1522 },
1523 "operation": {
1524 "description": "An identifier that uniquely identifies the o peration. You can use this identifier to retrieve the Operations resource that h as information about the operation.",
1525 "type": "string"
1526 }
1527 },
1528 "type": "object"
1529 },
1530 "InstancesSetRootPasswordResponse": {
1531 "description": "Database instance set root password response.",
1532 "id": "InstancesSetRootPasswordResponse",
1533 "properties": {
1534 "kind": {
1535 "default": "sql#instancesSetRootPassword",
1536 "description": "This is always sql#instancesSetRootPassword. ",
1537 "type": "string"
1538 },
1539 "operation": {
1540 "description": "An identifier that uniquely identifies the o peration. You can use this identifier to retrieve the Operations resource that h as information about the operation.",
1541 "type": "string"
1542 }
1543 },
1544 "type": "object"
1545 },
1546 "InstancesUpdateResponse": {
1547 "description": "Database instance update response.",
1548 "id": "InstancesUpdateResponse",
1549 "properties": {
1550 "kind": {
1551 "default": "sql#instancesUpdate",
1552 "description": "This is always sql#instancesUpdate.",
1553 "type": "string"
1554 },
1555 "operation": {
1556 "description": "An identifier that uniquely identifies the o peration. You can use this identifier to retrieve information about the operatio n.",
1557 "type": "string"
1558 }
1559 },
1560 "type": "object"
1561 },
1562 "IpConfiguration": {
1563 "description": "IP Management configuration.",
1564 "id": "IpConfiguration",
1565 "properties": {
1566 "authorizedNetworks": {
1567 "description": "The list of external networks that are allow ed to connect to the instance using the IP. In CIDR notation, also known as 'sla sh' notation (e.g. 192.168.100.0/24).",
1568 "items": {
1569 "type": "string"
1570 },
1571 "type": "array"
1572 },
1573 "enabled": {
1574 "description": "Whether the instance should be assigned an I P address or not.",
1575 "type": "boolean"
1576 },
1577 "requireSsl": {
1578 "description": "Whether the mysqld should default to 'REQUIR E X509' for users connecting over IP.",
1579 "type": "boolean"
1580 }
1581 },
1582 "type": "object"
1583 },
1584 "IpMapping": {
1585 "description": "Database instance IP Mapping.",
1586 "id": "IpMapping",
1587 "properties": {
1588 "ipAddress": {
1589 "description": "The IP address assigned.",
1590 "type": "string"
1591 },
1592 "timeToRetire": {
1593 "description": "The due time for this IP to be retired in RF C 3339 format, for example 2012-11-15T16:19:00.094Z. This field is only availabl e when the IP is scheduled to be retired.",
1594 "format": "date-time",
1595 "type": "string"
1596 }
1597 },
1598 "type": "object"
1599 },
1600 "LocationPreference": {
1601 "description": "Preferred location. This specifies where a Cloud SQL instance should preferably be located, either in a specific Compute Engine zone , or co-located with an App Engine application. Note that if the preferred locat ion is not available, the instance will be located as close as possible within t he region. Only one location may be specified.",
1602 "id": "LocationPreference",
1603 "properties": {
1604 "followGaeApplication": {
1605 "description": "The App Engine application to follow, it mus t be in the same region as the Cloud SQL instance.",
1606 "type": "string"
1607 },
1608 "kind": {
1609 "default": "sql#locationPreference",
1610 "description": "This is always sql#locationPreference.",
1611 "type": "string"
1612 },
1613 "zone": {
1614 "description": "The preferred Compute Engine zone (e.g. us-c entra1-a, us-central1-b, etc.).",
1615 "type": "string"
1616 }
1617 },
1618 "type": "object"
1619 },
1620 "OperationError": {
1621 "description": "Database instance operation error.",
1622 "id": "OperationError",
1623 "properties": {
1624 "code": {
1625 "description": "Identifies the specific error that occurred. ",
1626 "type": "string"
1627 },
1628 "kind": {
1629 "default": "sql#operationError",
1630 "description": "This is always sql#operationError.",
1631 "type": "string"
1632 }
1633 },
1634 "type": "object"
1635 },
1636 "OperationsListResponse": {
1637 "description": "Database instance list operations response.",
1638 "id": "OperationsListResponse",
1639 "properties": {
1640 "items": {
1641 "description": "List of operation resources.",
1642 "items": {
1643 "$ref": "InstanceOperation"
1644 },
1645 "type": "array"
1646 },
1647 "kind": {
1648 "default": "sql#operationsList",
1649 "description": "This is always sql#operationsList.",
1650 "type": "string"
1651 },
1652 "nextPageToken": {
1653 "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the nex t page of results.",
1654 "type": "string"
1655 }
1656 },
1657 "type": "object"
1658 },
1659 "SetRootPasswordContext": {
1660 "description": "Database instance set root password context.",
1661 "id": "SetRootPasswordContext",
1662 "properties": {
1663 "kind": {
1664 "default": "sql#setRootUserContext",
1665 "description": "This is always sql#setRootUserContext.",
1666 "type": "string"
1667 },
1668 "password": {
1669 "description": "The password for the root user.",
1670 "type": "string"
1671 }
1672 },
1673 "type": "object"
1674 },
1675 "Settings": {
1676 "description": "Database instance settings.",
1677 "id": "Settings",
1678 "properties": {
1679 "activationPolicy": {
1680 "description": "The activation policy for this instance. Thi s specifies when the instance should be activated and is applicable only when th e instance state is RUNNABLE. This can be one of the following.\nALWAYS: The ins tance should always be active.\nNEVER: The instance should never be activated.\n ON_DEMAND: The instance is activated upon receiving requests.",
1681 "type": "string"
1682 },
1683 "authorizedGaeApplications": {
1684 "description": "The App Engine app IDs that can access this instance.",
1685 "items": {
1686 "type": "string"
1687 },
1688 "type": "array"
1689 },
1690 "backupConfiguration": {
1691 "description": "The daily backup configuration for the insta nce.",
1692 "items": {
1693 "$ref": "BackupConfiguration"
1694 },
1695 "type": "array"
1696 },
1697 "databaseFlags": {
1698 "description": "The database flags passed to the instance at startup.",
1699 "items": {
1700 "$ref": "DatabaseFlags"
1701 },
1702 "type": "array"
1703 },
1704 "databaseReplicationEnabled": {
1705 "description": "Configuration specific to read replica insta nce. Indicates whether replication is enabled or not.",
1706 "type": "boolean"
1707 },
1708 "ipConfiguration": {
1709 "$ref": "IpConfiguration",
1710 "description": "The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can conn ect to the instance."
1711 },
1712 "kind": {
1713 "default": "sql#settings",
1714 "description": "This is always sql#settings.",
1715 "type": "string"
1716 },
1717 "locationPreference": {
1718 "$ref": "LocationPreference",
1719 "description": "The location preference settings. This allow s the instance to be located as near as possible to either an App Engine app or GCE zone for better performance."
1720 },
1721 "pricingPlan": {
1722 "description": "The pricing plan for this instance. This can be either PER_USE or PACKAGE.",
1723 "type": "string"
1724 },
1725 "replicationType": {
1726 "description": "The type of replication this instance uses. This can be either ASYNCHRONOUS or SYNCHRONOUS.",
1727 "type": "string"
1728 },
1729 "settingsVersion": {
1730 "annotations": {
1731 "required": [
1732 "sql.instances.update"
1733 ]
1734 },
1735 "description": "The version of instance settings. This is a required field for update method to make sure concurrent updates are handled pro perly. During update, use the most recent settingsVersion value for this instanc e and do not try to update this value.",
1736 "format": "int64",
1737 "type": "string"
1738 },
1739 "tier": {
1740 "annotations": {
1741 "required": [
1742 "sql.instances.insert",
1743 "sql.instances.update"
1744 ]
1745 },
1746 "description": "The tier of service for this instance, for e xample D1, D2. For more information, see pricing.",
1747 "type": "string"
1748 }
1749 },
1750 "type": "object"
1751 },
1752 "SslCert": {
1753 "description": "SslCerts Resource",
1754 "id": "SslCert",
1755 "properties": {
1756 "cert": {
1757 "description": "PEM representation.",
1758 "type": "string"
1759 },
1760 "certSerialNumber": {
1761 "description": "Serial number, as extracted from the certifi cate.",
1762 "type": "string"
1763 },
1764 "commonName": {
1765 "description": "User supplied name. Constrained to [a-zA-Z.- _ ]+.",
1766 "type": "string"
1767 },
1768 "createTime": {
1769 "description": "Time when the certificate was created.",
1770 "format": "date-time",
1771 "type": "string"
1772 },
1773 "expirationTime": {
1774 "description": "Time when the certificate expires.",
1775 "format": "date-time",
1776 "type": "string"
1777 },
1778 "instance": {
1779 "description": "Name of the database instance.",
1780 "type": "string"
1781 },
1782 "kind": {
1783 "default": "sql#sslCert",
1784 "description": "This is always sql#sslCert.",
1785 "type": "string"
1786 },
1787 "sha1Fingerprint": {
1788 "description": "Sha1 Fingerprint.",
1789 "type": "string"
1790 }
1791 },
1792 "type": "object"
1793 },
1794 "SslCertDetail": {
1795 "description": "SslCertDetail.",
1796 "id": "SslCertDetail",
1797 "properties": {
1798 "certInfo": {
1799 "$ref": "SslCert",
1800 "description": "The public information about the cert."
1801 },
1802 "certPrivateKey": {
1803 "description": "The private key for the client cert, in pem format. Keep private in order to protect your security.",
1804 "type": "string"
1805 }
1806 },
1807 "type": "object"
1808 },
1809 "SslCertsDeleteResponse": {
1810 "description": "SslCert delete response.",
1811 "id": "SslCertsDeleteResponse",
1812 "properties": {
1813 "kind": {
1814 "default": "sql#sslCertsDelete",
1815 "description": "This is always sql#sslCertsDelete.",
1816 "type": "string"
1817 },
1818 "operation": {
1819 "description": "An identifier that uniquely identifies the o peration. You can use this identifier to retrieve the Operations resource that h as information about the operation.",
1820 "type": "string"
1821 }
1822 },
1823 "type": "object"
1824 },
1825 "SslCertsInsertRequest": {
1826 "description": "SslCerts insert request.",
1827 "id": "SslCertsInsertRequest",
1828 "properties": {
1829 "commonName": {
1830 "description": "User supplied name. Must be a distinct name from the other certificates for this instance. New certificates will not be usab le until the instance is restarted.",
1831 "type": "string"
1832 }
1833 },
1834 "type": "object"
1835 },
1836 "SslCertsInsertResponse": {
1837 "description": "SslCert insert response.",
1838 "id": "SslCertsInsertResponse",
1839 "properties": {
1840 "clientCert": {
1841 "$ref": "SslCertDetail",
1842 "description": "The new client certificate and private key. The new certificate will not work until the instance is restarted."
1843 },
1844 "kind": {
1845 "default": "sql#sslCertsInsert",
1846 "description": "This is always sql#sslCertsInsert.",
1847 "type": "string"
1848 },
1849 "serverCaCert": {
1850 "$ref": "SslCert",
1851 "description": "The server Certificate Authority's certifica te. If this is missing you can force a new one to be generated by calling resetS slConfig method on instances resource.."
1852 }
1853 },
1854 "type": "object"
1855 },
1856 "SslCertsListResponse": {
1857 "description": "SslCerts list response.",
1858 "id": "SslCertsListResponse",
1859 "properties": {
1860 "items": {
1861 "description": "List of client certificates for the instance .",
1862 "items": {
1863 "$ref": "SslCert"
1864 },
1865 "type": "array"
1866 },
1867 "kind": {
1868 "default": "sql#sslCertsList",
1869 "description": "This is always sql#sslCertsList.",
1870 "type": "string"
1871 }
1872 },
1873 "type": "object"
1874 },
1875 "Tier": {
1876 "description": "A Google Cloud SQL service tier resource.",
1877 "id": "Tier",
1878 "properties": {
1879 "DiskQuota": {
1880 "description": "The maximum disk size of this tier in bytes. ",
1881 "format": "int64",
1882 "type": "string"
1883 },
1884 "RAM": {
1885 "description": "The maximum RAM usage of this tier in bytes. ",
1886 "format": "int64",
1887 "type": "string"
1888 },
1889 "kind": {
1890 "default": "sql#tier",
1891 "description": "This is always sql#tier.",
1892 "type": "string"
1893 },
1894 "region": {
1895 "description": "The applicable regions for this tier. Can be us-east1, europe-west1, or asia-east1.",
1896 "items": {
1897 "type": "string"
1898 },
1899 "type": "array"
1900 },
1901 "tier": {
1902 "description": "An identifier for the service tier, for exam ple D1, D2 etc. For related information, see Pricing.",
1903 "type": "string"
1904 }
1905 },
1906 "type": "object"
1907 },
1908 "TiersListResponse": {
1909 "description": "Tiers list response.",
1910 "id": "TiersListResponse",
1911 "properties": {
1912 "items": {
1913 "description": "List of tiers.",
1914 "items": {
1915 "$ref": "Tier"
1916 },
1917 "type": "array"
1918 },
1919 "kind": {
1920 "default": "sql#tiersList",
1921 "description": "This is always sql#tiersList.",
1922 "type": "string"
1923 }
1924 },
1925 "type": "object"
1926 }
1927 },
1928 "servicePath": "sql/v1beta3/",
1929 "title": "Cloud SQL Administration API",
1930 "version": "v1beta3"
1931 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698