You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/resources/object.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -31,8 +31,9 @@ The following arguments are supported:
31
31
32
32
*`bucket` - (Required) The name of the bucket.
33
33
*`key` - (Required) The path of the object.
34
-
*`file` - (Optional) The name of the file to upload, defaults to an empty file. Only one of `file` or `content` can be defined.
35
-
*`content` - (Optional) The content of the file to upload. Only one of `file` or `content` can be defined.
34
+
*`file` - (Optional) The name of the file to upload, defaults to an empty file. Only one of `file`, `content` or `content_base64` can be defined.
35
+
*`content` - (Optional) The content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
36
+
*`content_base64` - (Optional) The base64-encoded content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
36
37
*`hash` - (Optional) Hash of the file, used to trigger upload on file change
37
38
*`storage_class` - (Optional) Specifies the Scaleway [storage class](https://www.scaleway.com/en/docs/storage/object/concepts/#storage-class)`STANDARD`, `GLACIER`, `ONEZONE_IA` used to store the object.
38
39
*`visibility` - (Optional) Visibility of the object, `public-read` or `private`
0 commit comments