Interface BucketMetadata (7.3.1)

Inheritance

BaseMetadata > BucketMetadata

Package

@google-cloud/storage

Properties

acl

acl?: AclMetadata[] | null;

autoclass

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

billing

billing?: {
        requesterPays?: boolean;
    };

cors

cors?: Cors[];

customPlacementConfig

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

defaultEventBasedHold

defaultEventBasedHold?: boolean;

defaultObjectAcl

defaultObjectAcl?: AclMetadata[];

encryption

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

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;

owner

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

projectNumber

projectNumber?: string | number;

retentionPolicy

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

rpo

rpo?: string;

storageClass

storageClass?: string;

timeCreated

timeCreated?: string;

updated

updated?: string;

versioning

versioning?: {
        enabled?: boolean;
    };

website

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