Skip to content

Commit

Permalink
feat(storagetransfer): update the API
Browse files Browse the repository at this point in the history
#### storagetransfer:v1

The following keys were added:
- schemas.GcsData.properties.managedFolderTransferEnabled.description
- schemas.GcsData.properties.managedFolderTransferEnabled.type
  • Loading branch information
yoshi-automation authored and bcoe committed Feb 2, 2024
1 parent 5bc62e5 commit 43173f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion discovery/storagetransfer-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@
}
}
},
"revision": "20231214",
"revision": "20240126",
"rootUrl": "https://storagetransfer.googleapis.com/",
"schemas": {
"AgentPool": {
Expand Down Expand Up @@ -936,6 +936,10 @@
"description": "Required. Cloud Storage bucket name. Must meet [Bucket Name Requirements](/storage/docs/naming#requirements).",
"type": "string"
},
"managedFolderTransferEnabled": {
"description": "Transfer managed folders is in public preview. This option is only applicable to the Cloud Storage source bucket. If set to true: - The source managed folder will be transferred to the destination bucket - The destination managed folder will always be overwritten, other OVERWRITE options will not be supported",
"type": "boolean"
},
"path": {
"description": "Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'. The root path value must meet [Object Name Requirements](/storage/docs/naming#objectnames).",
"type": "string"
Expand Down
4 changes: 4 additions & 0 deletions src/apis/storagetransfer/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,10 @@ export namespace storagetransfer_v1 {
* Required. Cloud Storage bucket name. Must meet [Bucket Name Requirements](/storage/docs/naming#requirements).
*/
bucketName?: string | null;
/**
* Transfer managed folders is in public preview. This option is only applicable to the Cloud Storage source bucket. If set to true: - The source managed folder will be transferred to the destination bucket - The destination managed folder will always be overwritten, other OVERWRITE options will not be supported
*/
managedFolderTransferEnabled?: boolean | null;
/**
* Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'. The root path value must meet [Object Name Requirements](/storage/docs/naming#objectnames).
*/
Expand Down

0 comments on commit 43173f6

Please sign in to comment.