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: src/Models/AppendObjectRequest.php
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,14 @@ final class AppendObjectRequest extends RequestModel
39
39
*/
40
40
public ?string$acl;
41
41
42
+
/**
43
+
* The access control list (ACL) of the object. Default value: default. Valid values:- default: The ACL of the object is the same as that of the bucket in which the object is stored. - private: The ACL of the object is private. Only the owner of the object and authorized users can read and write this object. - public-read: The ACL of the object is public-read. Only the owner of the object and authorized users can read and write this object. Other users can only read the object. Exercise caution when you set the object ACL to this value. - public-read-write: The ACL of the object is public-read-write. All users can read and write this object. Exercise caution when you set the object ACL to this value. For more information about the ACL, see [ACL](~~100676~~).
44
+
* Sees ObjectACLType for supported values.
45
+
* It is the normalized name of x-oss-object-acl.
46
+
* @var string|null
47
+
*/
48
+
public ?string$objectAcl;
49
+
42
50
/**
43
51
* The storage class of the object that you want to upload. Valid values:- Standard- IA- ArchiveIf you specify the object storage class when you upload an object, the storage class of the uploaded object is the specified value regardless of the storage class of the bucket to which the object is uploaded. If you set x-oss-storage-class to Standard when you upload an object to an IA bucket, the object is stored as a Standard object. For more information about storage classes, see the "Overview" topic in Developer Guide. notice The value that you specify takes effect only when you call the AppendObject operation on an object for the first time.
44
52
* Sees StorageClassType for supported values.
@@ -178,6 +186,7 @@ final class AppendObjectRequest extends RequestModel
178
186
* @param \Psr\Http\Message\StreamInterface|null $body The request body.
179
187
* @param callable|null $progressFn Progress callback function
180
188
* @param array|null $options
189
+
* @param string|null $objectAcl The access control list (ACL) of the object.
Copy file name to clipboardExpand all lines: src/Models/CopyObjectRequest.php
+62-1Lines changed: 62 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -49,31 +49,67 @@ final class CopyObjectRequest extends RequestModel
49
49
*/
50
50
public ?string$ifMatch;
51
51
52
+
/**
53
+
* The object copy condition. If the ETag value of the source object is the same as the ETag value that you specify in the request, OSS copies the object and returns 200 OK. By default, this header is left empty.
54
+
* It is the normalized name of x-oss-copy-source-if-match.
55
+
* @var string|null
56
+
*/
57
+
public ?string$copySourceIfMatch;
58
+
52
59
/**
53
60
* The object transfer condition. If the input ETag value does not match the ETag value of the object, the system transfers the object normally and returns 200 OK. Otherwise, OSS returns 304 Not Modified.brDefault value: null
54
61
* @var string|null
55
62
*/
56
63
public ?string$ifNoneMatch;
57
64
65
+
/**
66
+
* The object copy condition. If the ETag value of the source object is different from the ETag value that you specify in the request, OSS copies the object and returns 200 OK. By default, this header is left empty.
67
+
* It is the normalized name of x-oss-copy-source-if-none-match.
68
+
* @var string|null
69
+
*/
70
+
public ?string$copySourceIfNoneMatch;
71
+
58
72
/**
59
73
* The object transfer condition. If the specified time is earlier than the actual modified time of the object, the system transfers the object normally and returns 200 OK. Otherwise, OSS returns 304 Not Modified.brDefault value: nullbrTime format: ddd, dd MMM yyyy HH:mm:ss GMT. Example: Fri, 13 Nov 2015 14:47:53 GMT.
60
74
* @var string|null
61
75
*/
62
76
public ?string$ifModifiedSince;
63
77
78
+
/**
79
+
* If the source object is modified after the time that you specify in the request, OSS copies the object. By default, this header is left empty.
80
+
* It is the normalized name of x-oss-copy-source-if-modified-since.
81
+
* @var string|null
82
+
*/
83
+
public ?string$copySourceIfModifiedSince;
84
+
64
85
/**
65
86
* The object transfer condition. If the specified time is the same as or later than the actual modified time of the object, OSS transfers the object normally and returns 200 OK. Otherwise, OSS returns 412 Precondition Failed.brDefault value: null
66
87
* @var string|null
67
88
*/
68
89
public ?string$ifUnmodifiedSince;
69
90
91
+
/**
92
+
* The object copy condition. If the time that you specify in the request is the same as or later than the modification time of the object, OSS copies the object and returns 200 OK. By default, this header is left empty.
93
+
* It is the normalized name of x-oss-copy-source-if-unmodified-since.
94
+
* @var string|null
95
+
*/
96
+
public ?string$copySourceIfUnmodifiedSince;
97
+
70
98
/**
71
99
* The access control list (ACL) of the destination object when the object is created. Default value: default.Valid values:* default: The ACL of the object is the same as the ACL of the bucket in which the object is stored.* private: The ACL of the object is private. Only the owner of the object and authorized users have read and write permissions on the object. Other users do not have permissions on the object.* public-read: The ACL of the object is public-read. Only the owner of the object and authorized users have read and write permissions on the object. Other users have only read permissions on the object. Exercise caution when you set the ACL of the bucket to this value.* public-read-write: The ACL of the object is public-read-write. All users have read and write permissions on the object. Exercise caution when you set the ACL of the bucket to this value.For more information about ACLs, see [Object ACL](~~100676~~).
72
100
* Sees ObjectACLType for supported values.
73
101
* @var string|null
74
102
*/
75
103
public ?string$acl;
76
104
105
+
/**
106
+
* The access control list (ACL) of the object. Default value: default. Valid values:- default: The ACL of the object is the same as that of the bucket in which the object is stored. - private: The ACL of the object is private. Only the owner of the object and authorized users can read and write this object. - public-read: The ACL of the object is public-read. Only the owner of the object and authorized users can read and write this object. Other users can only read the object. Exercise caution when you set the object ACL to this value. - public-read-write: The ACL of the object is public-read-write. All users can read and write this object. Exercise caution when you set the object ACL to this value. For more information about the ACL, see [ACL](~~100676~~).
107
+
* Sees ObjectACLType for supported values.
108
+
* It is the normalized name of x-oss-object-acl.
109
+
* @var string|null
110
+
*/
111
+
public ?string$objectAcl;
112
+
77
113
/**
78
114
* The storage class of the object that you want to upload. Default value: Standard. If you specify a storage class when you upload the object, the storage class applies regardless of the storage class of the bucket to which you upload the object. For example, if you set **x-oss-storage-class** to Standard when you upload an object to an IA bucket, the storage class of the uploaded object is Standard.Valid values:* Standard* IA* Archive* ColdArchiveFor more information about storage classes, see [Overview](~~51374~~).
79
115
* Sees StorageClassType for supported values.
@@ -221,6 +257,11 @@ final class CopyObjectRequest extends RequestModel
221
257
* @param string|null $requestPayer To indicate that the requester is aware that the request and data download will incur costs.
222
258
* @param callable|null $progressFn Progress callback function, it works in Copier.Copy only.
223
259
* @param array|null $options
260
+
* @param string|null $objectAcl The access control list (ACL) of the object.
261
+
* @param string|null $copySourceIfMatch The object copy condition.
262
+
* @param string|null $copySourceIfNoneMatch The object copy condition.
263
+
* @param string|null $copySourceIfModifiedSince The object copy condition.
264
+
* @param string|null $copySourceIfUnmodifiedSince If the source object is modified after the time that you specify in the request, OSS copies the object.
Copy file name to clipboardExpand all lines: src/Models/PutObjectAclRequest.php
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,14 @@ final class PutObjectAclRequest extends RequestModel
32
32
*/
33
33
public ?string$acl;
34
34
35
+
/**
36
+
* The access control list (ACL) of the object. Default value: default. Valid values:- default: The ACL of the object is the same as that of the bucket in which the object is stored. - private: The ACL of the object is private. Only the owner of the object and authorized users can read and write this object. - public-read: The ACL of the object is public-read. Only the owner of the object and authorized users can read and write this object. Other users can only read the object. Exercise caution when you set the object ACL to this value. - public-read-write: The ACL of the object is public-read-write. All users can read and write this object. Exercise caution when you set the object ACL to this value. For more information about the ACL, see [ACL](~~100676~~).
37
+
* Sees ObjectACLType for supported values.
38
+
* It is the normalized name of x-oss-object-acl.
39
+
* @var string|null
40
+
*/
41
+
public ?string$objectAcl;
42
+
35
43
/**
36
44
* The version id of the object.
37
45
* @var string|null
@@ -52,14 +60,16 @@ final class PutObjectAclRequest extends RequestModel
52
60
* @param string|null $versionId The version id of the object.
53
61
* @param string|null $requestPayer To indicate that the requester is aware that the request and data download will incur costs.
54
62
* @param array|null $options
63
+
* @param string|null $objectAcl The access control list (ACL) of the object.
Copy file name to clipboardExpand all lines: src/Models/PutObjectRequest.php
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,14 @@ final class PutObjectRequest extends RequestModel
32
32
*/
33
33
public ?string$acl;
34
34
35
+
/**
36
+
* The access control list (ACL) of the object. Default value: default. Valid values:- default: The ACL of the object is the same as that of the bucket in which the object is stored. - private: The ACL of the object is private. Only the owner of the object and authorized users can read and write this object. - public-read: The ACL of the object is public-read. Only the owner of the object and authorized users can read and write this object. Other users can only read the object. Exercise caution when you set the object ACL to this value. - public-read-write: The ACL of the object is public-read-write. All users can read and write this object. Exercise caution when you set the object ACL to this value. For more information about the ACL, see [ACL](~~100676~~).
37
+
* Sees ObjectACLType for supported values.
38
+
* It is the normalized name of x-oss-object-acl.
39
+
* @var string|null
40
+
*/
41
+
public ?string$objectAcl;
42
+
35
43
/**
36
44
* The storage class of the object. Default value: Standard. Valid values:- Standard- IA- Archive- ColdArchive
37
45
* Sees StorageClassType for supported values.
@@ -195,6 +203,7 @@ final class PutObjectRequest extends RequestModel
Copy file name to clipboardExpand all lines: src/Models/PutSymlinkRequest.php
+29-1Lines changed: 29 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,13 +34,31 @@ final class PutSymlinkRequest extends RequestModel
34
34
*/
35
35
public ?string$target;
36
36
37
+
/**
38
+
* The target object to which the symbolic link points.
39
+
* The naming conventions for target objects are the same as those for objects.
40
+
* - Similar to ObjectName, TargetObjectName must be URL-encoded.
41
+
* - The target object to which a symbolic link points cannot be a symbolic link.
42
+
* It is the normalized name of x-oss-symlink-target.
43
+
* @var string|null
44
+
*/
45
+
public ?string$symlinkTarget;
46
+
37
47
/**
38
48
* The access control list (ACL) of the object. Default value: default. Valid values:- default: The ACL of the object is the same as that of the bucket in which the object is stored. - private: The ACL of the object is private. Only the owner of the object and authorized users can read and write this object. - public-read: The ACL of the object is public-read. Only the owner of the object and authorized users can read and write this object. Other users can only read the object. Exercise caution when you set the object ACL to this value. - public-read-write: The ACL of the object is public-read-write. All users can read and write this object. Exercise caution when you set the object ACL to this value. For more information about the ACL, see [ACL](~~100676~~).
39
49
* Sees ObjectACLType for supported values.
40
50
* @var string|null
41
51
*/
42
52
public ?string$acl;
43
53
54
+
/**
55
+
* The access control list (ACL) of the object. Default value: default. Valid values:- default: The ACL of the object is the same as that of the bucket in which the object is stored. - private: The ACL of the object is private. Only the owner of the object and authorized users can read and write this object. - public-read: The ACL of the object is public-read. Only the owner of the object and authorized users can read and write this object. Other users can only read the object. Exercise caution when you set the object ACL to this value. - public-read-write: The ACL of the object is public-read-write. All users can read and write this object. Exercise caution when you set the object ACL to this value. For more information about the ACL, see [ACL](~~100676~~).
56
+
* Sees ObjectACLType for supported values.
57
+
* It is the normalized name of x-oss-object-acl.
58
+
* @var string|null
59
+
*/
60
+
public ?string$objectAcl;
61
+
44
62
/**
45
63
* The storage class of the bucket. Default value: Standard. Valid values:- Standard- IA- Archive- ColdArchive
46
64
* Sees StorageClassType for supported values.
@@ -77,6 +95,8 @@ final class PutSymlinkRequest extends RequestModel
77
95
* @param bool|null $forbidOverwrite Specifies whether the PutSymlink operation overwrites the object that has the same name as that of the symbolic link you want to create.
78
96
* @param string|null $requestPayer To indicate that the requester is aware that the request and data download will incur costs.
79
97
* @param array|null $options
98
+
* @param string|null $objectAcl The ACL of the object.
99
+
* @param string|null $symlinkTarget The target object to which the symbolic link points.
0 commit comments