Interface BucketMetadata (7.13.0)

Inheritance

BaseMetadata > BucketMetadata

Package

@google-cloud/storage

Properties

acl

acl?: AclMetadata[] | null;

autoclass

autoclass?: {
        enabled?: boolean;
        toggleTime?: string;
        terminalStorageClass?: string;
        terminalStorageClassUpdateTime?: string;
    };

billing

billing?: {
        requesterPays?: boolean;
    };

cors

cors?: Cors[];

customPlacementConfig

customPlacementConfig?: {
        dataLocations?: string[];
    };

defaultEventBasedHold

defaultEventBasedHold?: boolean;

defaultObjectAcl

defaultObjectAcl?: AclMetadata[];

encryption

encryption?: {
        defaultKmsKeyName?: string;
    } | null;

hierarchicalNamespace

hierarchicalNamespace?: {
        enabled?: boolean;
    };

iamConfiguration

iamConfiguration?: {
        publicAccessPrevention?: string;
        uniformBucketLevelAccess?: {
            enabled?: boolean;
            lockedTime?: string;
        };
    };

labels

labels?: {
        [key: string]: string | null;
    };

lifecycle

lifecycle?: {
        rule?: LifecycleRule[];
    } | null;

location

location?: string;

locationType

locationType?: string;

logging

logging?: {
        logBucket?: string;
        logObjectPrefix?: string;
    };

metageneration

metageneration?: string;

name

name?: string;

objectRetention

objectRetention?: {
        mode?: string;
    };

owner

owner?: {
        entity?: string;
        entityId?: string;
    };

projectNumber

projectNumber?: string | number;

retentionPolicy

retentionPolicy?: {
        effectiveTime?: string;
        isLocked?: boolean;
        retentionPeriod?: string | number;
    } | null;

rpo

rpo?: string;

softDeletePolicy

softDeletePolicy?: {
        retentionDurationSeconds?: string | number;
        readonly effectiveTime?: string;
    };

storageClass

storageClass?: string;

timeCreated

timeCreated?: string;

updated

updated?: string;

versioning

versioning?: {
        enabled?: boolean;
    };

website

website?: {
        mainPageSuffix?: string;
        notFoundPage?: string;
    };