OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/sqlservice.admin": { | 8 "https://www.googleapis.com/auth/sqlservice.admin": { |
9 "description": "Manage your Google SQL Service instances" | 9 "description": "Manage your Google SQL Service instances" |
10 } | 10 } |
11 } | 11 } |
12 } | 12 } |
13 }, | 13 }, |
14 "basePath": "/sql/v1beta4/", | 14 "basePath": "/sql/v1beta4/", |
15 "baseUrl": "https://www.googleapis.com/sql/v1beta4/", | 15 "baseUrl": "https://www.googleapis.com/sql/v1beta4/", |
16 "batchPath": "batch", | 16 "batchPath": "batch", |
17 "canonicalName": "SQL Admin", | 17 "canonicalName": "SQL Admin", |
18 "description": "Creates and configures Cloud SQL instances, which provide fu
lly-managed MySQL databases.", | 18 "description": "Creates and configures Cloud SQL instances, which provide fu
lly-managed MySQL databases.", |
19 "discoveryVersion": "v1", | 19 "discoveryVersion": "v1", |
20 "documentationLink": "https://cloud.google.com/sql/docs/reference/latest", | 20 "documentationLink": "https://cloud.google.com/sql/docs/reference/latest", |
21 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/nTAQY_qt-UTPitXU3W2WOvJpMCs\"", | 21 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/HY0tRuJ-vWPnM8lK2hqBBFUYsUk\"", |
22 "icons": { | 22 "icons": { |
23 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.
png", | 23 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.
png", |
24 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.
png" | 24 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.
png" |
25 }, | 25 }, |
26 "id": "sqladmin:v1beta4", | 26 "id": "sqladmin:v1beta4", |
27 "kind": "discovery#restDescription", | 27 "kind": "discovery#restDescription", |
28 "name": "sqladmin", | 28 "name": "sqladmin", |
29 "ownerDomain": "google.com", | 29 "ownerDomain": "google.com", |
30 "ownerName": "Google", | 30 "ownerName": "Google", |
31 "parameters": { | 31 "parameters": { |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 ] | 459 ] |
460 } | 460 } |
461 } | 461 } |
462 }, | 462 }, |
463 "flags": { | 463 "flags": { |
464 "methods": { | 464 "methods": { |
465 "list": { | 465 "list": { |
466 "description": "List all available database flags for Google
Cloud SQL instances.", | 466 "description": "List all available database flags for Google
Cloud SQL instances.", |
467 "httpMethod": "GET", | 467 "httpMethod": "GET", |
468 "id": "sql.flags.list", | 468 "id": "sql.flags.list", |
| 469 "parameters": { |
| 470 "databaseVersion": { |
| 471 "description": "Database version for flag retrieval.
Flags are specific to the database version.", |
| 472 "location": "query", |
| 473 "type": "string" |
| 474 } |
| 475 }, |
469 "path": "flags", | 476 "path": "flags", |
470 "response": { | 477 "response": { |
471 "$ref": "FlagsListResponse" | 478 "$ref": "FlagsListResponse" |
472 }, | 479 }, |
473 "scopes": [ | 480 "scopes": [ |
474 "https://www.googleapis.com/auth/cloud-platform", | 481 "https://www.googleapis.com/auth/cloud-platform", |
475 "https://www.googleapis.com/auth/sqlservice.admin" | 482 "https://www.googleapis.com/auth/sqlservice.admin" |
476 ] | 483 ] |
477 } | 484 } |
478 } | 485 } |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 ] | 710 ] |
704 }, | 711 }, |
705 "list": { | 712 "list": { |
706 "description": "Lists instances under a given project in the
alphabetical order of the instance name.", | 713 "description": "Lists instances under a given project in the
alphabetical order of the instance name.", |
707 "httpMethod": "GET", | 714 "httpMethod": "GET", |
708 "id": "sql.instances.list", | 715 "id": "sql.instances.list", |
709 "parameterOrder": [ | 716 "parameterOrder": [ |
710 "project" | 717 "project" |
711 ], | 718 ], |
712 "parameters": { | 719 "parameters": { |
| 720 "filter": { |
| 721 "description": "A filter expression for filtering li
sted instances.", |
| 722 "location": "query", |
| 723 "type": "string" |
| 724 }, |
713 "maxResults": { | 725 "maxResults": { |
714 "description": "The maximum number of results to ret
urn per response.", | 726 "description": "The maximum number of results to ret
urn per response.", |
715 "format": "uint32", | 727 "format": "uint32", |
716 "location": "query", | 728 "location": "query", |
717 "type": "integer" | 729 "type": "integer" |
718 }, | 730 }, |
719 "pageToken": { | 731 "pageToken": { |
720 "description": "A previously-returned page token rep
resenting part of the larger set of results to view.", | 732 "description": "A previously-returned page token rep
resenting part of the larger set of results to view.", |
721 "location": "query", | 733 "location": "query", |
722 "type": "string" | 734 "type": "string" |
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1471 "$ref": "Operation" | 1483 "$ref": "Operation" |
1472 }, | 1484 }, |
1473 "scopes": [ | 1485 "scopes": [ |
1474 "https://www.googleapis.com/auth/cloud-platform", | 1486 "https://www.googleapis.com/auth/cloud-platform", |
1475 "https://www.googleapis.com/auth/sqlservice.admin" | 1487 "https://www.googleapis.com/auth/sqlservice.admin" |
1476 ] | 1488 ] |
1477 } | 1489 } |
1478 } | 1490 } |
1479 } | 1491 } |
1480 }, | 1492 }, |
1481 "revision": "20170111", | 1493 "revision": "20170217", |
1482 "rootUrl": "https://www.googleapis.com/", | 1494 "rootUrl": "https://www.googleapis.com/", |
1483 "schemas": { | 1495 "schemas": { |
1484 "AclEntry": { | 1496 "AclEntry": { |
1485 "description": "An entry for an Access Control list.", | 1497 "description": "An entry for an Access Control list.", |
1486 "id": "AclEntry", | 1498 "id": "AclEntry", |
1487 "properties": { | 1499 "properties": { |
1488 "expirationTime": { | 1500 "expirationTime": { |
1489 "description": "The time when this access control entry expi
res in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", | 1501 "description": "The time when this access control entry expi
res in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.", |
1490 "format": "date-time", | 1502 "format": "date-time", |
1491 "type": "string" | 1503 "type": "string" |
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2183 "format": "date-time", | 2195 "format": "date-time", |
2184 "type": "string" | 2196 "type": "string" |
2185 }, | 2197 }, |
2186 "type": { | 2198 "type": { |
2187 "description": "The type of this IP address. A PRIMARY addre
ss is an address that can accept incoming connections. An OUTGOING address is th
e source address of connections originating from the instance, if supported.", | 2199 "description": "The type of this IP address. A PRIMARY addre
ss is an address that can accept incoming connections. An OUTGOING address is th
e source address of connections originating from the instance, if supported.", |
2188 "type": "string" | 2200 "type": "string" |
2189 } | 2201 } |
2190 }, | 2202 }, |
2191 "type": "object" | 2203 "type": "object" |
2192 }, | 2204 }, |
| 2205 "Labels": { |
| 2206 "description": "User defined labels for Cloud SQL instances.", |
| 2207 "id": "Labels", |
| 2208 "properties": { |
| 2209 "key": { |
| 2210 "description": "The key of the label.", |
| 2211 "type": "string" |
| 2212 }, |
| 2213 "value": { |
| 2214 "description": "The value of the label.", |
| 2215 "type": "string" |
| 2216 } |
| 2217 }, |
| 2218 "type": "object" |
| 2219 }, |
2193 "LocationPreference": { | 2220 "LocationPreference": { |
2194 "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.", | 2221 "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.", |
2195 "id": "LocationPreference", | 2222 "id": "LocationPreference", |
2196 "properties": { | 2223 "properties": { |
2197 "followGaeApplication": { | 2224 "followGaeApplication": { |
2198 "description": "The AppEngine application to follow, it must
be in the same region as the Cloud SQL instance.", | 2225 "description": "The AppEngine application to follow, it must
be in the same region as the Cloud SQL instance.", |
2199 "type": "string" | 2226 "type": "string" |
2200 }, | 2227 }, |
2201 "kind": { | 2228 "kind": { |
2202 "default": "sql#locationPreference", | 2229 "default": "sql#locationPreference", |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2493 "type": "string" | 2520 "type": "string" |
2494 }, | 2521 }, |
2495 "authorizedGaeApplications": { | 2522 "authorizedGaeApplications": { |
2496 "description": "The App Engine app IDs that can access this
instance. This property is only applicable to First Generation instances.", | 2523 "description": "The App Engine app IDs that can access this
instance. This property is only applicable to First Generation instances.", |
2497 "items": { | 2524 "items": { |
2498 "type": "string" | 2525 "type": "string" |
2499 }, | 2526 }, |
2500 "type": "array" | 2527 "type": "array" |
2501 }, | 2528 }, |
2502 "availabilityType": { | 2529 "availabilityType": { |
2503 "description": "The availability type. This can be one of th
e following.\nZONAL: A Cloud SQL instance that is zonally available. The instanc
e is bound to a single GCE zone and may be inaccessible during an outage for tha
t GCE zone.\nREGIONAL: A Cloud SQL instance that is regionally available. The in
stance is provisioned in multiple zones within a region and is able to provide h
igher availability than an instance with a zonal availability type.", | 2530 "description": "Reserved for future use.", |
2504 "type": "string" | 2531 "type": "string" |
2505 }, | 2532 }, |
2506 "backupConfiguration": { | 2533 "backupConfiguration": { |
2507 "$ref": "BackupConfiguration", | 2534 "$ref": "BackupConfiguration", |
2508 "description": "The daily backup configuration for the insta
nce." | 2535 "description": "The daily backup configuration for the insta
nce." |
2509 }, | 2536 }, |
2510 "crashSafeReplicationEnabled": { | 2537 "crashSafeReplicationEnabled": { |
2511 "description": "Configuration specific to read replica insta
nces. Indicates whether database flags for crash-safe replication are enabled. T
his property is only applicable to First Generation instances.", | 2538 "description": "Configuration specific to read replica insta
nces. Indicates whether database flags for crash-safe replication are enabled. T
his property is only applicable to First Generation instances.", |
2512 "type": "boolean" | 2539 "type": "boolean" |
2513 }, | 2540 }, |
(...skipping 19 matching lines...) Expand all Loading... |
2533 }, | 2560 }, |
2534 "ipConfiguration": { | 2561 "ipConfiguration": { |
2535 "$ref": "IpConfiguration", | 2562 "$ref": "IpConfiguration", |
2536 "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. The IPv4 address cannot be disabled for Second Generation i
nstances." | 2563 "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. The IPv4 address cannot be disabled for Second Generation i
nstances." |
2537 }, | 2564 }, |
2538 "kind": { | 2565 "kind": { |
2539 "default": "sql#settings", | 2566 "default": "sql#settings", |
2540 "description": "This is always sql#settings.", | 2567 "description": "This is always sql#settings.", |
2541 "type": "string" | 2568 "type": "string" |
2542 }, | 2569 }, |
| 2570 "labels": { |
| 2571 "description": "User defined labels.", |
| 2572 "items": { |
| 2573 "$ref": "Labels" |
| 2574 }, |
| 2575 "type": "array" |
| 2576 }, |
2543 "locationPreference": { | 2577 "locationPreference": { |
2544 "$ref": "LocationPreference", | 2578 "$ref": "LocationPreference", |
2545 "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. App Engine co-location is only applicable to Fi
rst Generation instances." | 2579 "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. App Engine co-location is only applicable to Fi
rst Generation instances." |
2546 }, | 2580 }, |
2547 "maintenanceWindow": { | 2581 "maintenanceWindow": { |
2548 "$ref": "MaintenanceWindow", | 2582 "$ref": "MaintenanceWindow", |
2549 "description": "The maintenance window for this instance. Th
is specifies when the instance may be restarted for maintenance purposes. Applie
s only to Second Generation instances." | 2583 "description": "The maintenance window for this instance. Th
is specifies when the instance may be restarted for maintenance purposes. Applie
s only to Second Generation instances." |
2550 }, | 2584 }, |
2551 "pricingPlan": { | 2585 "pricingPlan": { |
2552 "description": "The pricing plan for this instance. This can
be either PER_USE or PACKAGE. Only PER_USE is supported for Second Generation i
nstances.", | 2586 "description": "The pricing plan for this instance. This can
be either PER_USE or PACKAGE. Only PER_USE is supported for Second Generation i
nstances.", |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2839 "type": "string" | 2873 "type": "string" |
2840 } | 2874 } |
2841 }, | 2875 }, |
2842 "type": "object" | 2876 "type": "object" |
2843 } | 2877 } |
2844 }, | 2878 }, |
2845 "servicePath": "sql/v1beta4/", | 2879 "servicePath": "sql/v1beta4/", |
2846 "title": "Cloud SQL Administration API", | 2880 "title": "Cloud SQL Administration API", |
2847 "version": "v1beta4" | 2881 "version": "v1beta4" |
2848 } | 2882 } |
OLD | NEW |