Buckets
Returns information for buckets. Buckets are used to store objects, which consist of data and its metadata.
Columns
| Name | Type | References | Description |
| Id [KEY] | String | The ID of the bucket. For buckets, the id and name properties are the same. | |
| Name | String | The name of the bucket. | |
| ProjectNumber | Long | The project number of the project the bucket belongs to. | |
| MetaGeneration | Long | The metadata generation of this bucket. | |
| Location | String | The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. | |
| StorageClass | String | The bucket's default storage class, used whenever no storageClass is specified for a newly-created object. | |
| ETag | String | HTTP 1.1 Entity tag for the bucket. | |
| DefaultEventBasedHold | Boolean | Whether or not to automatically apply an eventBasedHold to new objects added to the bucket. | |
| TimeCreated | Datetime | The creation time of the bucket in RFC 3339 format. | |
| Updated | Datetime | The modification time of the bucket in RFC 3339 format. | |
| BucketPolicyOnlyEnabled | Boolean | Whether or not the bucket uses uniform bucket-level access. If set, access checks only use bucket-level IAM policies or above. | |
| UniformBucketLevelAccessEnabled | Boolean | Whether or not the bucket uses uniform bucket-level access. If set, access checks only use bucket-level IAM policies or above. | |
| LocationType | String | The type of location that the bucket resides in, as determined by the location property. | |
| RetentionPolicyPeriod | Long | The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or made noncurrent. The value must be greater than 0 seconds and less than 3,155,760,000 seconds. | |
| RetentionPolicyEffectiveTime | Datetime | The time from which the retentionPolicy was effective, in RFC 3339 format. | |
| RetentionPolicyIsLocked | Boolean | Whether or not the retentionPolicy is locked. If true, the retentionPolicy cannot be removed and the retention period cannot be reduced. | |
| EncryptionDefaultKmsKeyName | String | A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified. | |
| OwnerEntity | String | The entity, in the form project-owner-projectId. | |
| OwnerEntityId | String | The ID for the entity. | |
| WebsiteMainPageSuffix | String | If the requested object path is missing, the service will ensure the path has a trailing '/', append this suffix, and attempt to retrieve the resulting object. This allows the creation of index.html objects to represent directory pages. | |
| WebsiteNotFoundPage | String | If the requested object path is missing, and any mainPageSuffix object is missing, if applicable, the service will return the named object from this bucket as the content for a 404 Not Found result. | |
| LogBucket | String | The destination bucket where the current bucket's logs should be placed. | |
| LogObjectPrefix | String | A prefix for log object names. The default prefix is the bucket name. | |
| VersioningEnabled | Boolean | While set to true, versioning is fully enabled for this bucket. | |
| BillingRequesterPays | Boolean | When set to true, Requester Pays is enabled for this bucket. | |
| ObjectRetention | String | The bucket's object retention mode. When set to Enabled, retention configurations can be set on objects in the bucket. | |
| HierarchicalNamespaceEnabled | Boolean | Whether hierarchical namespace is enabled for this bucket. Required for managed folders support. Cannot be disabled once enabled. |