Oracle Cloud Infrastructure · JSON Structure

Object Storage Update Bucket Details Structure

Details for updating a bucket.

Type: object Properties: 7
Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service

UpdateBucketDetails is a JSON Structure definition published by Oracle Cloud Infrastructure, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name namespace compartmentId publicAccessType objectEventsEnabled versioning freeformTags

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/oracle-cloud/refs/heads/main/json-structure/object-storage-update-bucket-details-structure.json",
  "name": "UpdateBucketDetails",
  "description": "Details for updating a bucket.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the bucket.",
      "example": "example-value"
    },
    "namespace": {
      "type": "string",
      "description": "The Object Storage namespace.",
      "example": "oci_computeagent"
    },
    "compartmentId": {
      "type": "string",
      "description": "The OCID of the compartment.",
      "example": "ocid1.resource.oc1.iad.abcdefg123456"
    },
    "publicAccessType": {
      "type": "string",
      "enum": "['NoPublicAccess', 'ObjectRead', 'ObjectReadWithoutList']",
      "example": "NoPublicAccess"
    },
    "objectEventsEnabled": {
      "type": "boolean",
      "example": true
    },
    "versioning": {
      "type": "string",
      "enum": "['Enabled', 'Suspended']",
      "example": "Enabled"
    },
    "freeformTags": {
      "type": "object",
      "example": {
        "key1": "value1"
      }
    }
  }
}