Package google.storage.v1

Index

ServiceConstants

This type has no fields.

Shared constants.

Values

A collection of constant values meaningful to the Storage API.

Enums
VALUES_UNSPECIFIEDUnused. Proto3 requires first enum to be 0.
MAX_READ_CHUNK_BYTESThe maximum size chunk that can will be returned in a single ReadRequest. 2 MiB.
MAX_WRITE_CHUNK_BYTESThe maximum size chunk that can be sent in a single InsertObjectRequest. 2 MiB.
MAX_OBJECT_SIZE_MBThe maximum size of an object in MB - whether written in a single stream or composed from multiple other objects. 5 TiB.
MAX_CUSTOM_METADATA_FIELD_NAME_BYTESThe maximum length field name that can be sent in a single custom metadata field. 1 KiB.
MAX_CUSTOM_METADATA_FIELD_VALUE_BYTESThe maximum length field value that can be sent in a single custom_metadata field. 4 KiB.
MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTESThe maximum total bytes that can be populated into all field names and values of the custom_metadata for one object. 8 KiB.
MAX_BUCKET_METADATA_TOTAL_SIZE_BYTESThe maximum total bytes that can be populated into all bucket metadata fields. 20 KiB.
MAX_NOTIFICATION_CONFIGS_PER_BUCKETThe maximum number of NotificationConfigurations that can be registered for a given bucket.
MAX_LIFECYCLE_RULES_PER_BUCKETThe maximum number of LifecycleRules that can be registered for a given bucket.
MAX_NOTIFICATION_CUSTOM_ATTRIBUTESThe maximum number of custom attributes per NotificationConfig.
MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTHThe maximum length of a custom attribute key included in NotificationConfig.
MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTHThe maximum length of a custom attribute value included in a NotificationConfig.
MAX_LABELS_ENTRIES_COUNTThe maximum number of key/value entries per bucket label.
MAX_LABELS_KEY_VALUE_LENGTHThe maximum character length of the key or value in a bucket label map.
MAX_LABELS_KEY_VALUE_BYTESThe maximum byte size of the key or value in a bucket label map.
MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUESTThe maximum number of object IDs that can be included in a DeleteObjectsRequest.
SPLIT_TOKEN_MAX_VALID_DAYSThe maximum number of days for which a token returned by the GetListObjectsSplitPoints RPC is valid.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-03 UTC.