Fix GCS
Signed-off-by: Olivier Gambier <olivier@docker.com>
This commit is contained in:
parent
59401e277b
commit
d1444b56e9
141 changed files with 19483 additions and 4205 deletions
116
vendor/google.golang.org/api/storage/v1/storage-api.json
generated
vendored
116
vendor/google.golang.org/api/storage/v1/storage-api.json
generated
vendored
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/ALzt_o9hBNBIakQJmeXCNhSU8II\"",
|
||||
"etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/KVPQfwGxQTBtH0g1kuij0C9i4uc\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "storage:v1",
|
||||
"name": "storage",
|
||||
"version": "v1",
|
||||
"revision": "20150630",
|
||||
"title": "Cloud Storage API",
|
||||
"description": "Lets you store and retrieve potentially-large, immutable data objects.",
|
||||
"revision": "20160304",
|
||||
"title": "Cloud Storage JSON API",
|
||||
"description": "Stores and retrieves potentially large, immutable data objects.",
|
||||
"ownerDomain": "google.com",
|
||||
"ownerName": "Google",
|
||||
"icons": {
|
||||
|
@ -75,6 +75,9 @@
|
|||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "View and manage your data across Google Cloud Platform services"
|
||||
},
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only": {
|
||||
"description": "View your data across Google Cloud Platform services"
|
||||
},
|
||||
"https://www.googleapis.com/auth/devstorage.full_control": {
|
||||
"description": "Manage your data and permissions in Google Cloud Storage"
|
||||
},
|
||||
|
@ -271,7 +274,12 @@
|
|||
},
|
||||
"timeCreated": {
|
||||
"type": "string",
|
||||
"description": "Creation time of the bucket in RFC 3339 format.",
|
||||
"description": "The creation time of the bucket in RFC 3339 format.",
|
||||
"format": "date-time"
|
||||
},
|
||||
"updated": {
|
||||
"type": "string",
|
||||
"description": "The modification time of the bucket in RFC 3339 format.",
|
||||
"format": "date-time"
|
||||
},
|
||||
"versioning": {
|
||||
|
@ -566,18 +574,26 @@
|
|||
},
|
||||
"contentType": {
|
||||
"type": "string",
|
||||
"description": "Content-Type of the object data.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"storage.objects.insert",
|
||||
"storage.objects.update"
|
||||
]
|
||||
}
|
||||
"description": "Content-Type of the object data."
|
||||
},
|
||||
"crc32c": {
|
||||
"type": "string",
|
||||
"description": "CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices."
|
||||
},
|
||||
"customerEncryption": {
|
||||
"type": "object",
|
||||
"description": "Metadata of customer-supplied encryption key, if the object is encrypted by such a key.",
|
||||
"properties": {
|
||||
"encryptionAlgorithm": {
|
||||
"type": "string",
|
||||
"description": "The encryption algorithm."
|
||||
},
|
||||
"keySha256": {
|
||||
"type": "string",
|
||||
"description": "SHA256 hash value of the encryption key."
|
||||
}
|
||||
}
|
||||
},
|
||||
"etag": {
|
||||
"type": "string",
|
||||
"description": "HTTP 1.1 Entity tag for the object."
|
||||
|
@ -648,6 +664,11 @@
|
|||
"type": "string",
|
||||
"description": "Storage class of the object."
|
||||
},
|
||||
"timeCreated": {
|
||||
"type": "string",
|
||||
"description": "The creation time of the object in RFC 3339 format.",
|
||||
"format": "date-time"
|
||||
},
|
||||
"timeDeleted": {
|
||||
"type": "string",
|
||||
"description": "The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.",
|
||||
|
@ -655,7 +676,7 @@
|
|||
},
|
||||
"updated": {
|
||||
"type": "string",
|
||||
"description": "The creation or modification time of the object in RFC 3339 format. For buckets with versioning enabled, changing an object's metadata does not change this property.",
|
||||
"description": "The modification time of the object metadata in RFC 3339 format.",
|
||||
"format": "date-time"
|
||||
}
|
||||
}
|
||||
|
@ -842,6 +863,7 @@
|
|||
"entity"
|
||||
],
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
},
|
||||
|
@ -872,6 +894,7 @@
|
|||
"$ref": "BucketAccessControl"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
},
|
||||
|
@ -898,6 +921,7 @@
|
|||
"$ref": "BucketAccessControl"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
},
|
||||
|
@ -921,6 +945,7 @@
|
|||
"$ref": "BucketAccessControls"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
},
|
||||
|
@ -954,6 +979,7 @@
|
|||
"$ref": "BucketAccessControl"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
},
|
||||
|
@ -987,6 +1013,7 @@
|
|||
"$ref": "BucketAccessControl"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
}
|
||||
|
@ -1074,6 +1101,7 @@
|
|||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control",
|
||||
"https://www.googleapis.com/auth/devstorage.read_only",
|
||||
"https://www.googleapis.com/auth/devstorage.read_write"
|
||||
|
@ -1211,6 +1239,7 @@
|
|||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control",
|
||||
"https://www.googleapis.com/auth/devstorage.read_only",
|
||||
"https://www.googleapis.com/auth/devstorage.read_write"
|
||||
|
@ -1417,6 +1446,7 @@
|
|||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control",
|
||||
"https://www.googleapis.com/auth/devstorage.read_only",
|
||||
"https://www.googleapis.com/auth/devstorage.read_write"
|
||||
|
@ -1450,6 +1480,7 @@
|
|||
"entity"
|
||||
],
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
},
|
||||
|
@ -1480,6 +1511,7 @@
|
|||
"$ref": "ObjectAccessControl"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
},
|
||||
|
@ -1506,6 +1538,7 @@
|
|||
"$ref": "ObjectAccessControl"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
},
|
||||
|
@ -1541,6 +1574,7 @@
|
|||
"$ref": "ObjectAccessControls"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
},
|
||||
|
@ -1574,6 +1608,7 @@
|
|||
"$ref": "ObjectAccessControl"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
},
|
||||
|
@ -1607,6 +1642,7 @@
|
|||
"$ref": "ObjectAccessControl"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
}
|
||||
|
@ -1640,7 +1676,7 @@
|
|||
},
|
||||
"object": {
|
||||
"type": "string",
|
||||
"description": "Name of the object.",
|
||||
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
|
@ -1651,6 +1687,7 @@
|
|||
"entity"
|
||||
],
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
},
|
||||
|
@ -1680,7 +1717,7 @@
|
|||
},
|
||||
"object": {
|
||||
"type": "string",
|
||||
"description": "Name of the object.",
|
||||
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
|
@ -1694,6 +1731,7 @@
|
|||
"$ref": "ObjectAccessControl"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
},
|
||||
|
@ -1717,7 +1755,7 @@
|
|||
},
|
||||
"object": {
|
||||
"type": "string",
|
||||
"description": "Name of the object.",
|
||||
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
|
@ -1733,6 +1771,7 @@
|
|||
"$ref": "ObjectAccessControl"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
},
|
||||
|
@ -1756,7 +1795,7 @@
|
|||
},
|
||||
"object": {
|
||||
"type": "string",
|
||||
"description": "Name of the object.",
|
||||
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
|
@ -1769,6 +1808,7 @@
|
|||
"$ref": "ObjectAccessControls"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
},
|
||||
|
@ -1798,7 +1838,7 @@
|
|||
},
|
||||
"object": {
|
||||
"type": "string",
|
||||
"description": "Name of the object.",
|
||||
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
|
@ -1815,6 +1855,7 @@
|
|||
"$ref": "ObjectAccessControl"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
},
|
||||
|
@ -1844,7 +1885,7 @@
|
|||
},
|
||||
"object": {
|
||||
"type": "string",
|
||||
"description": "Name of the object.",
|
||||
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
|
@ -1861,6 +1902,7 @@
|
|||
"$ref": "ObjectAccessControl"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control"
|
||||
]
|
||||
}
|
||||
|
@ -1882,7 +1924,7 @@
|
|||
},
|
||||
"destinationObject": {
|
||||
"type": "string",
|
||||
"description": "Name of the new object.",
|
||||
"description": "Name of the new object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
|
@ -1935,7 +1977,8 @@
|
|||
"https://www.googleapis.com/auth/devstorage.full_control",
|
||||
"https://www.googleapis.com/auth/devstorage.read_write"
|
||||
],
|
||||
"supportsMediaDownload": true
|
||||
"supportsMediaDownload": true,
|
||||
"useMediaDownloadService": true
|
||||
},
|
||||
"copy": {
|
||||
"id": "storage.objects.copy",
|
||||
|
@ -1945,7 +1988,7 @@
|
|||
"parameters": {
|
||||
"destinationBucket": {
|
||||
"type": "string",
|
||||
"description": "Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.",
|
||||
"description": "Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
|
@ -2051,7 +2094,7 @@
|
|||
},
|
||||
"sourceObject": {
|
||||
"type": "string",
|
||||
"description": "Name of the source object.",
|
||||
"description": "Name of the source object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
|
@ -2073,7 +2116,8 @@
|
|||
"https://www.googleapis.com/auth/devstorage.full_control",
|
||||
"https://www.googleapis.com/auth/devstorage.read_write"
|
||||
],
|
||||
"supportsMediaDownload": true
|
||||
"supportsMediaDownload": true,
|
||||
"useMediaDownloadService": true
|
||||
},
|
||||
"delete": {
|
||||
"id": "storage.objects.delete",
|
||||
|
@ -2119,7 +2163,7 @@
|
|||
},
|
||||
"object": {
|
||||
"type": "string",
|
||||
"description": "Name of the object.",
|
||||
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
|
@ -2178,7 +2222,7 @@
|
|||
},
|
||||
"object": {
|
||||
"type": "string",
|
||||
"description": "Name of the object.",
|
||||
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
|
@ -2205,11 +2249,13 @@
|
|||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control",
|
||||
"https://www.googleapis.com/auth/devstorage.read_only",
|
||||
"https://www.googleapis.com/auth/devstorage.read_write"
|
||||
],
|
||||
"supportsMediaDownload": true
|
||||
"supportsMediaDownload": true,
|
||||
"useMediaDownloadService": true
|
||||
},
|
||||
"insert": {
|
||||
"id": "storage.objects.insert",
|
||||
|
@ -2254,7 +2300,7 @@
|
|||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any.",
|
||||
"description": "Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
|
||||
"location": "query"
|
||||
},
|
||||
"predefinedAcl": {
|
||||
|
@ -2307,6 +2353,7 @@
|
|||
"https://www.googleapis.com/auth/devstorage.read_write"
|
||||
],
|
||||
"supportsMediaDownload": true,
|
||||
"useMediaDownloadService": true,
|
||||
"supportsMediaUpload": true,
|
||||
"mediaUpload": {
|
||||
"accept": [
|
||||
|
@ -2385,6 +2432,7 @@
|
|||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control",
|
||||
"https://www.googleapis.com/auth/devstorage.read_only",
|
||||
"https://www.googleapis.com/auth/devstorage.read_write"
|
||||
|
@ -2435,7 +2483,7 @@
|
|||
},
|
||||
"object": {
|
||||
"type": "string",
|
||||
"description": "Name of the object.",
|
||||
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
|
@ -2504,7 +2552,7 @@
|
|||
},
|
||||
"destinationObject": {
|
||||
"type": "string",
|
||||
"description": "Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any.",
|
||||
"description": "Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
|
@ -2615,7 +2663,7 @@
|
|||
},
|
||||
"sourceObject": {
|
||||
"type": "string",
|
||||
"description": "Name of the source object.",
|
||||
"description": "Name of the source object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
|
@ -2682,7 +2730,7 @@
|
|||
},
|
||||
"object": {
|
||||
"type": "string",
|
||||
"description": "Name of the object.",
|
||||
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
|
@ -2736,7 +2784,8 @@
|
|||
"https://www.googleapis.com/auth/devstorage.full_control",
|
||||
"https://www.googleapis.com/auth/devstorage.read_write"
|
||||
],
|
||||
"supportsMediaDownload": true
|
||||
"supportsMediaDownload": true,
|
||||
"useMediaDownloadService": true
|
||||
},
|
||||
"watchAll": {
|
||||
"id": "storage.objects.watchAll",
|
||||
|
@ -2803,6 +2852,7 @@
|
|||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control",
|
||||
"https://www.googleapis.com/auth/devstorage.read_only",
|
||||
"https://www.googleapis.com/auth/devstorage.read_write"
|
||||
|
|
3609
vendor/google.golang.org/api/storage/v1/storage-gen.go
generated
vendored
3609
vendor/google.golang.org/api/storage/v1/storage-gen.go
generated
vendored
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue