Request Objects
Description
Each time you call an API in an instance of ObsClient, you need to pass a request object (Object type) as the input. For a bucket-related API, the request object always contains the Bucket field to specify the bucket name. For an object-related API, the request object always contains the Bucket and Key fields to specify the bucket name and object name, respectively.
Parameter Description
| Field | Type | Optional or Mandatory | Description |
|---|---|---|---|
| Bucket | String | Mandatory | Bucket name |
| Key | String | Mandatory for object-related APIs | Object name |
| Others | For details, see chapters "Bucket-Related APIs" and "Object-Related APIs". | ||
Last Article: Initializing Logs
Next Article: SDK Common Result Objects
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.