Skip to content

Commit

Permalink
fix(storage): update the API
Browse files Browse the repository at this point in the history
#### storage:v1
The following keys were changed:
- resources.objects.methods.compose.parameters.kmsKeyName.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 10, 2020
1 parent 5c7ecc5 commit 3c12d1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions discovery/storage-v1.json
Expand Up @@ -26,7 +26,7 @@
"description": "Stores and retrieves potentially large, immutable data objects.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/storage/docs/json_api/",
"etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/SMGMLKKvE-TZrla7d9TA_SDVTI0\"",
"etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/rMtY8UaM-kV8ZktjHEIiZrJaheU\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
"x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
Expand Down Expand Up @@ -1781,7 +1781,7 @@
"type": "string"
},
"kmsKeyName": {
"description": "Resource name of the Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the object. Overrides the object metadata's kms_key_name value, if any.",
"description": "Not currently supported. Specifying the parameter causes the request to fail with status code 400 - Bad Request.",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -3229,7 +3229,7 @@
}
}
},
"revision": "20200430",
"revision": "20200623",
"rootUrl": "https://storage.googleapis.com/",
"schemas": {
"Bucket": {
Expand Down
6 changes: 3 additions & 3 deletions src/apis/storage/v1.ts
Expand Up @@ -7168,7 +7168,7 @@ export namespace storage_v1 {
* ifGenerationMatch: 'placeholder-value',
* // Makes the operation conditional on whether the object's current metageneration matches the given value.
* ifMetagenerationMatch: 'placeholder-value',
* // Resource name of the Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the object. Overrides the object metadata's kms_key_name value, if any.
* // Not currently supported. Specifying the parameter causes the request to fail with status code 400 - Bad Request.
* kmsKeyName: 'placeholder-value',
* // The project to be billed for this request if the target bucket is requester-pays bucket.
* provisionalUserProject: 'placeholder-value',
Expand Down Expand Up @@ -7238,7 +7238,7 @@ export namespace storage_v1 {
* @param {string=} params.destinationPredefinedAcl Apply a predefined set of access controls to the destination object.
* @param {string=} params.ifGenerationMatch Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
* @param {string=} params.ifMetagenerationMatch Makes the operation conditional on whether the object's current metageneration matches the given value.
* @param {string=} params.kmsKeyName Resource name of the Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the object. Overrides the object metadata's kms_key_name value, if any.
* @param {string=} params.kmsKeyName Not currently supported. Specifying the parameter causes the request to fail with status code 400 - Bad Request.
* @param {string=} params.provisionalUserProject The project to be billed for this request if the target bucket is requester-pays bucket.
* @param {string=} params.userProject The project to be billed for this request. Required for Requester Pays buckets.
* @param {().ComposeRequest} params.requestBody Request body data
Expand Down Expand Up @@ -9765,7 +9765,7 @@ export namespace storage_v1 {
*/
ifMetagenerationMatch?: string;
/**
* Resource name of the Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the object. Overrides the object metadata's kms_key_name value, if any.
* Not currently supported. Specifying the parameter causes the request to fail with status code 400 - Bad Request.
*/
kmsKeyName?: string;
/**
Expand Down

0 comments on commit 3c12d1a

Please sign in to comment.