Skip to content

Commit

Permalink
feat(storage): update the API
Browse files Browse the repository at this point in the history
#### storage:v1
The following keys were added:
- schemas.Bucket.properties.iamConfiguration.properties.publicAccessPrevention.description
- schemas.Bucket.properties.iamConfiguration.properties.publicAccessPrevention.type
  • Loading branch information
yoshi-automation authored and bcoe committed Nov 17, 2020
1 parent d697bd9 commit f5477a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions discovery/storage-v1.json
Original file line number Diff line number Diff line change
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": "\"343633363836393231343833333835333032\"",
"etag": "\"32313837343738383335383432353737343034\"",
"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 @@ -3230,7 +3230,7 @@
}
}
},
"revision": "20201106",
"revision": "20201112",
"rootUrl": "https://storage.googleapis.com/",
"schemas": {
"Bucket": {
Expand Down Expand Up @@ -3337,6 +3337,10 @@
},
"type": "object"
},
"publicAccessPrevention": {
"description": "The bucket's Public Access Prevention configuration. Currently, 'unspecified' and 'enforced' are supported.",
"type": "string"
},
"uniformBucketLevelAccess": {
"description": "The bucket's uniform bucket-level access configuration.",
"properties": {
Expand Down
1 change: 1 addition & 0 deletions src/apis/storage/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ export namespace storage_v1 {
*/
iamConfiguration?: {
bucketPolicyOnly?: {enabled?: boolean; lockedTime?: string};
publicAccessPrevention?: string;
uniformBucketLevelAccess?: {enabled?: boolean; lockedTime?: string};
} | null;
/**
Expand Down

0 comments on commit f5477a6

Please sign in to comment.