Data Types

PatchFolderStorageLayer

Specifies the storage layer to use when creating or updating a folder.

This type must be one of the following types:


This data type specifies the field must be updated.

{
"set": true,
"value": {
"bucket": {
"bucketName": "my-bucket",
"bucketRegion": "nyc3",
"objectKeyPrefix": "an/example/key"
},
"credentials": {
"spacesAccessKey": "AKIAIOSFODNN7EXAMPLE",
"spacesSecretKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
},
"type": "DigitalOceanSpace",
"useAbsolutePaths": true
}
}

This field is always true. Indicates the property will be updated as part of the request, and the property's new value will be value.

Type: Boolean

Value: true

The value to set into the field.

Type: StorageLayerUpdate


This data type specifies no update is to be performed.

Type: UnspecifiedFieldValue


Was this section helpful? Yes No

You are using an outdated browser.

This website requires a modern web browser -- the latest versions of these browsers are supported: