Switch to using the dep tool and update all the dependencies

This commit is contained in:
Nick Craig-Wood 2017-05-11 15:39:54 +01:00
parent 5135ff73cb
commit 98c2d2c41b
5321 changed files with 4483201 additions and 5922 deletions

View file

@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/sMgjc4eoIFjgub4daTU-MGW0WMA\"",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/9bnQR_kC7lWpyFxyRiXZLFFekco\"",
"discoveryVersion": "v1",
"id": "storage:v1",
"name": "storage",
"version": "v1",
"revision": "20161109",
"revision": "20170329",
"title": "Cloud Storage JSON API",
"description": "Stores and retrieves potentially large, immutable data objects.",
"ownerDomain": "google.com",
@ -156,13 +156,21 @@
},
"id": {
"type": "string",
"description": "The ID of the bucket."
"description": "The ID of the bucket. For buckets, the id and name properities are the same."
},
"kind": {
"type": "string",
"description": "The kind of item this is. For buckets, this is always storage#bucket.",
"default": "storage#bucket"
},
"labels": {
"type": "object",
"description": "User-provided labels, in key/value pairs.",
"additionalProperties": {
"type": "string",
"description": "An individual label entry."
}
},
"lifecycle": {
"type": "object",
"description": "The bucket's lifecycle configuration. See lifecycle management for more information.",
@ -541,6 +549,81 @@
}
}
},
"Notification": {
"id": "Notification",
"type": "object",
"description": "A subscription to receive Google PubSub notifications.",
"properties": {
"custom_attributes": {
"type": "object",
"description": "An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.",
"additionalProperties": {
"type": "string"
}
},
"etag": {
"type": "string",
"description": "HTTP 1.1 Entity tag for this subscription notification."
},
"event_types": {
"type": "array",
"description": "If present, only send notifications about listed event types. If empty, sent notifications for all event types.",
"items": {
"type": "string"
}
},
"id": {
"type": "string",
"description": "The ID of the notification."
},
"kind": {
"type": "string",
"description": "The kind of item this is. For notifications, this is always storage#notification.",
"default": "storage#notification"
},
"object_name_prefix": {
"type": "string",
"description": "If present, only apply this notification configuration to object names that begin with this prefix."
},
"payload_format": {
"type": "string",
"description": "The desired content of the Payload.",
"default": "JSON_API_V1"
},
"selfLink": {
"type": "string",
"description": "The canonical URL of this notification."
},
"topic": {
"type": "string",
"description": "The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'",
"annotations": {
"required": [
"storage.notifications.insert"
]
}
}
}
},
"Notifications": {
"id": "Notifications",
"type": "object",
"description": "A list of notification subscriptions.",
"properties": {
"items": {
"type": "array",
"description": "The list of items.",
"items": {
"$ref": "Notification"
}
},
"kind": {
"type": "string",
"description": "The kind of item this is. For lists of notifications, this is always storage#notifications.",
"default": "storage#notifications"
}
}
},
"Object": {
"id": "Object",
"type": "object",
@ -616,7 +699,7 @@
},
"id": {
"type": "string",
"description": "The ID of the object."
"description": "The ID of the object, including the bucket name, object name, and generation number."
},
"kind": {
"type": "string",
@ -646,7 +729,7 @@
},
"name": {
"type": "string",
"description": "The name of this object. Required if not specified by URL parameter."
"description": "The name of the object. Required if not specified by URL parameter."
},
"owner": {
"type": "object",
@ -829,6 +912,65 @@
}
}
},
"Policy": {
"id": "Policy",
"type": "object",
"description": "A bucket/object IAM policy.",
"properties": {
"bindings": {
"type": "array",
"description": "An association between a role, which comes with a set of permissions, and members who may assume that role.",
"items": {
"type": "object",
"properties": {
"members": {
"type": "array",
"description": "A collection of identifiers for members who may assume the provided role. Recognized identifiers are as follows: \n- allUsers — A special identifier that represents anyone on the internet; with or without a Google account. \n- allAuthenticatedUsers — A special identifier that represents anyone who is authenticated with a Google account or a service account. \n- user:emailid — An email address that represents a specific account. For example, user:alice@gmail.com or user:joe@example.com. \n- serviceAccount:emailid — An email address that represents a service account. For example, serviceAccount:my-other-app@appspot.gserviceaccount.com . \n- group:emailid — An email address that represents a Google group. For example, group:admins@example.com. \n- domain:domain — A Google Apps domain name that represents all the users of that domain. For example, domain:google.com or domain:example.com. \n- projectOwner:projectid — Owners of the given project. For example, projectOwner:my-example-project \n- projectEditor:projectid — Editors of the given project. For example, projectEditor:my-example-project \n- projectViewer:projectid — Viewers of the given project. For example, projectViewer:my-example-project",
"items": {
"type": "string"
},
"annotations": {
"required": [
"storage.buckets.setIamPolicy",
"storage.objects.setIamPolicy"
]
}
},
"role": {
"type": "string",
"description": "The role to which members belong. Two types of roles are supported: new IAM roles, which grant permissions that do not map directly to those provided by ACLs, and legacy IAM roles, which do map directly to ACL permissions. All roles are of the format roles/storage.specificRole.\nThe new IAM roles are: \n- roles/storage.admin — Full control of Google Cloud Storage resources. \n- roles/storage.objectViewer — Read-Only access to Google Cloud Storage objects. \n- roles/storage.objectCreator — Access to create objects in Google Cloud Storage. \n- roles/storage.objectAdmin — Full control of Google Cloud Storage objects. The legacy IAM roles are: \n- roles/storage.legacyObjectReader — Read-only access to objects without listing. Equivalent to an ACL entry on an object with the READER role. \n- roles/storage.legacyObjectOwner — Read/write access to existing objects without listing. Equivalent to an ACL entry on an object with the OWNER role. \n- roles/storage.legacyBucketReader — Read access to buckets with object listing. Equivalent to an ACL entry on a bucket with the READER role. \n- roles/storage.legacyBucketWriter — Read access to buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the WRITER role. \n- roles/storage.legacyBucketOwner — Read and write access to existing buckets with object listing/creation/deletion. Equivalent to an ACL entry on a bucket with the OWNER role.",
"annotations": {
"required": [
"storage.buckets.setIamPolicy",
"storage.objects.setIamPolicy"
]
}
}
}
},
"annotations": {
"required": [
"storage.buckets.setIamPolicy",
"storage.objects.setIamPolicy"
]
}
},
"etag": {
"type": "string",
"description": "HTTP 1.1 Entity tag for the policy.",
"format": "byte"
},
"kind": {
"type": "string",
"description": "The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.",
"default": "storage#policy"
},
"resourceId": {
"type": "string",
"description": "The ID of the resource to which this policy belongs. Will be of the form buckets/bucket for buckets, and buckets/bucket/objects/object for objects. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input."
}
}
},
"RewriteResponse": {
"id": "RewriteResponse",
"type": "object",
@ -862,6 +1004,41 @@
"format": "uint64"
}
}
},
"ServiceAccount": {
"id": "ServiceAccount",
"type": "object",
"description": "A subscription to receive Google PubSub notifications.",
"properties": {
"email_address": {
"type": "string",
"description": "The ID of the notification."
},
"kind": {
"type": "string",
"description": "The kind of item this is. For notifications, this is always storage#notification.",
"default": "storage#serviceAccount"
}
}
},
"TestIamPermissionsResponse": {
"id": "TestIamPermissionsResponse",
"type": "object",
"description": "A storage.(buckets|objects).testIamPermissions response.",
"properties": {
"kind": {
"type": "string",
"description": "The kind of item this is.",
"default": "storage#testIamPermissionsResponse"
},
"permissions": {
"type": "array",
"description": "The permissions held by the caller. Permissions are always of the format storage.resource.capability, where resource is one of buckets or objects. The supported permissions are as follows: \n- storage.buckets.delete — Delete bucket. \n- storage.buckets.get — Read bucket metadata. \n- storage.buckets.getIamPolicy — Read bucket IAM policy. \n- storage.buckets.create — Create bucket. \n- storage.buckets.list — List buckets. \n- storage.buckets.setIamPolicy — Update bucket IAM policy. \n- storage.buckets.update — Update bucket metadata. \n- storage.objects.delete — Delete object. \n- storage.objects.get — Read object data and metadata. \n- storage.objects.getIamPolicy — Read object IAM policy. \n- storage.objects.create — Create object. \n- storage.objects.list — List objects. \n- storage.objects.setIamPolicy — Update object IAM policy. \n- storage.objects.update — Update object metadata.",
"items": {
"type": "string"
}
}
}
}
},
"resources": {
@ -1135,6 +1312,33 @@
"https://www.googleapis.com/auth/devstorage.read_write"
]
},
"getIamPolicy": {
"id": "storage.buckets.getIamPolicy",
"path": "b/{bucket}/iam",
"httpMethod": "GET",
"description": "Returns an IAM policy for the specified bucket.",
"parameters": {
"bucket": {
"type": "string",
"description": "Name of a bucket.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"bucket"
],
"response": {
"$ref": "Policy"
},
"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"
]
},
"insert": {
"id": "storage.buckets.insert",
"path": "b",
@ -1224,7 +1428,8 @@
"parameters": {
"maxResults": {
"type": "integer",
"description": "Maximum number of buckets to return.",
"description": "Maximum number of buckets to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.",
"default": "1000",
"format": "uint32",
"minimum": "0",
"location": "query"
@ -1365,6 +1570,69 @@
"https://www.googleapis.com/auth/devstorage.full_control"
]
},
"setIamPolicy": {
"id": "storage.buckets.setIamPolicy",
"path": "b/{bucket}/iam",
"httpMethod": "PUT",
"description": "Updates an IAM policy for the specified bucket.",
"parameters": {
"bucket": {
"type": "string",
"description": "Name of a bucket.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"bucket"
],
"request": {
"$ref": "Policy"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/devstorage.full_control",
"https://www.googleapis.com/auth/devstorage.read_write"
]
},
"testIamPermissions": {
"id": "storage.buckets.testIamPermissions",
"path": "b/{bucket}/iam/testPermissions",
"httpMethod": "GET",
"description": "Tests a set of permissions on the given bucket to see which, if any, are held by the caller.",
"parameters": {
"bucket": {
"type": "string",
"description": "Name of a bucket.",
"required": true,
"location": "path"
},
"permissions": {
"type": "string",
"description": "Permissions to test.",
"required": true,
"repeated": true,
"location": "query"
}
},
"parameterOrder": [
"bucket",
"permissions"
],
"response": {
"$ref": "TestIamPermissionsResponse"
},
"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"
]
},
"update": {
"id": "storage.buckets.update",
"path": "b/{bucket}",
@ -1674,6 +1942,128 @@
}
}
},
"notifications": {
"methods": {
"delete": {
"id": "storage.notifications.delete",
"path": "b/{bucket}/notificationConfigs/{notification}",
"httpMethod": "DELETE",
"description": "Permanently deletes a notification subscription.",
"parameters": {
"bucket": {
"type": "string",
"description": "The parent bucket of the notification.",
"required": true,
"location": "path"
},
"notification": {
"type": "string",
"description": "ID of the notification to delete.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"bucket",
"notification"
],
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/devstorage.full_control",
"https://www.googleapis.com/auth/devstorage.read_write"
]
},
"get": {
"id": "storage.notifications.get",
"path": "b/{bucket}/notificationConfigs/{notification}",
"httpMethod": "GET",
"description": "View a notification configuration.",
"parameters": {
"bucket": {
"type": "string",
"description": "The parent bucket of the notification.",
"required": true,
"location": "path"
},
"notification": {
"type": "string",
"description": "Notification ID",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"bucket",
"notification"
],
"response": {
"$ref": "Notification"
},
"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"
]
},
"insert": {
"id": "storage.notifications.insert",
"path": "b/{bucket}/notificationConfigs",
"httpMethod": "POST",
"description": "Creates a notification subscription for a given bucket.",
"parameters": {
"bucket": {
"type": "string",
"description": "The parent bucket of the notification.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"bucket"
],
"request": {
"$ref": "Notification"
},
"response": {
"$ref": "Notification"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/devstorage.full_control",
"https://www.googleapis.com/auth/devstorage.read_write"
]
},
"list": {
"id": "storage.notifications.list",
"path": "b/{bucket}/notificationConfigs",
"httpMethod": "GET",
"description": "Retrieves a list of notification subscriptions for a given bucket.",
"parameters": {
"bucket": {
"type": "string",
"description": "Name of a GCS bucket.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"bucket"
],
"response": {
"$ref": "Notifications"
},
"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"
]
}
}
},
"objectAccessControls": {
"methods": {
"delete": {
@ -2283,6 +2673,46 @@
"supportsMediaDownload": true,
"useMediaDownloadService": true
},
"getIamPolicy": {
"id": "storage.objects.getIamPolicy",
"path": "b/{bucket}/o/{object}/iam",
"httpMethod": "GET",
"description": "Returns an IAM policy for the specified object.",
"parameters": {
"bucket": {
"type": "string",
"description": "Name of the bucket in which the object resides.",
"required": true,
"location": "path"
},
"generation": {
"type": "string",
"description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).",
"format": "int64",
"location": "query"
},
"object": {
"type": "string",
"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"
}
},
"parameterOrder": [
"bucket",
"object"
],
"response": {
"$ref": "Policy"
},
"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"
]
},
"insert": {
"id": "storage.objects.insert",
"path": "b/{bucket}/o",
@ -2416,7 +2846,8 @@
},
"maxResults": {
"type": "integer",
"description": "Maximum number of items plus prefixes to return. As duplicate prefixes are omitted, fewer total results may be returned than requested. The default value of this parameter is 1,000 items.",
"description": "Maximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned than requested. The service will use this parameter or 1,000 items, whichever is smaller.",
"default": "1000",
"format": "uint32",
"minimum": "0",
"location": "query"
@ -2711,6 +3142,95 @@
"https://www.googleapis.com/auth/devstorage.read_write"
]
},
"setIamPolicy": {
"id": "storage.objects.setIamPolicy",
"path": "b/{bucket}/o/{object}/iam",
"httpMethod": "PUT",
"description": "Updates an IAM policy for the specified object.",
"parameters": {
"bucket": {
"type": "string",
"description": "Name of the bucket in which the object resides.",
"required": true,
"location": "path"
},
"generation": {
"type": "string",
"description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).",
"format": "int64",
"location": "query"
},
"object": {
"type": "string",
"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"
}
},
"parameterOrder": [
"bucket",
"object"
],
"request": {
"$ref": "Policy"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/devstorage.full_control",
"https://www.googleapis.com/auth/devstorage.read_write"
]
},
"testIamPermissions": {
"id": "storage.objects.testIamPermissions",
"path": "b/{bucket}/o/{object}/iam/testPermissions",
"httpMethod": "GET",
"description": "Tests a set of permissions on the given object to see which, if any, are held by the caller.",
"parameters": {
"bucket": {
"type": "string",
"description": "Name of the bucket in which the object resides.",
"required": true,
"location": "path"
},
"generation": {
"type": "string",
"description": "If present, selects a specific revision of this object (as opposed to the latest version, the default).",
"format": "int64",
"location": "query"
},
"object": {
"type": "string",
"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"
},
"permissions": {
"type": "string",
"description": "Permissions to test.",
"required": true,
"repeated": true,
"location": "query"
}
},
"parameterOrder": [
"bucket",
"object",
"permissions"
],
"response": {
"$ref": "TestIamPermissionsResponse"
},
"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"
]
},
"update": {
"id": "storage.objects.update",
"path": "b/{bucket}/o/{object}",
@ -2830,7 +3350,8 @@
},
"maxResults": {
"type": "integer",
"description": "Maximum number of items plus prefixes to return. As duplicate prefixes are omitted, fewer total results may be returned than requested. The default value of this parameter is 1,000 items.",
"description": "Maximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned than requested. The service will use this parameter or 1,000 items, whichever is smaller.",
"default": "1000",
"format": "uint32",
"minimum": "0",
"location": "query"
@ -2884,6 +3405,41 @@
"supportsSubscription": true
}
}
},
"projects": {
"resources": {
"serviceAccount": {
"methods": {
"get": {
"id": "storage.projects.serviceAccount.get",
"path": "projects/{projectId}/serviceAccount",
"httpMethod": "GET",
"description": "Get the email address of this project's GCS service account.",
"parameters": {
"projectId": {
"type": "string",
"description": "Project ID",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"projectId"
],
"response": {
"$ref": "ServiceAccount"
},
"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"
]
}
}
}
}
}
}
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff