Data Types

PatchFolderStorageLayer

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

Can be one of the following types:


Object

This data type specifies the field must be updated.

Structure

{
"set": Boolean,
}

Example

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

Properties

set

This field is always true.

Type: Boolean

Value:

Required: Yes

value

The value to set into the field.

Type: StorageLayerUpdate | Null

Required: Yes


UnspecifiedFieldValue

This data type specifies no update is to be performed.

Type: UnspecifiedFieldValue


Used by

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: