Enum gapi_grpc::google::storage::v1::service_constants::Values[][src]

#[repr(i32)]pub enum Values {
    Unspecified,
    MaxReadChunkBytes,
    MaxObjectSizeMb,
    MaxCustomMetadataFieldNameBytes,
    MaxCustomMetadataFieldValueBytes,
    MaxCustomMetadataTotalSizeBytes,
    MaxBucketMetadataTotalSizeBytes,
    MaxNotificationConfigsPerBucket,
    MaxNotificationCustomAttributes,
    MaxNotificationCustomAttributeKeyLength,
    MaxLabelsEntriesCount,
    MaxLabelsKeyValueLength,
    MaxLabelsKeyValueBytes,
    MaxObjectIdsPerDeleteObjectsRequest,
    SplitTokenMaxValidDays,
}

A collection of constant values meaningful to the Storage API.

Variants

Unspecified

Unused. Proto3 requires first enum to be 0.

MaxReadChunkBytes

The maximum size chunk that can will be returned in a single ReadRequest. 2 MiB.

MaxObjectSizeMb

The maximum size of an object in MB - whether written in a single stream or composed from multiple other objects. 5 TiB.

MaxCustomMetadataFieldNameBytes

The maximum length field name that can be sent in a single custom metadata field. 1 KiB.

MaxCustomMetadataFieldValueBytes

The maximum length field value that can be sent in a single custom_metadata field. 4 KiB.

MaxCustomMetadataTotalSizeBytes

The maximum total bytes that can be populated into all field names and values of the custom_metadata for one object. 8 KiB.

MaxBucketMetadataTotalSizeBytes

The maximum total bytes that can be populated into all bucket metadata fields. 20 KiB.

MaxNotificationConfigsPerBucket

The maximum number of NotificationConfigurations that can be registered for a given bucket.

MaxNotificationCustomAttributes

The maximum number of custom attributes per NotificationConfig.

MaxNotificationCustomAttributeKeyLength

The maximum length of a custom attribute key included in NotificationConfig.

MaxLabelsEntriesCount

The maximum number of key/value entries per bucket label.

MaxLabelsKeyValueLength

The maximum character length of the key or value in a bucket label map.

MaxLabelsKeyValueBytes

The maximum byte size of the key or value in a bucket label map.

MaxObjectIdsPerDeleteObjectsRequest

The maximum number of object IDs that can be included in a DeleteObjectsRequest.

SplitTokenMaxValidDays

The maximum number of days for which a token returned by the GetListObjectsSplitPoints RPC is valid.

Implementations

impl Values[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of Values.

pub fn from_i32(value: i32) -> Option<Values>[src]

Converts an i32 to a Values, or None if value is not a valid variant.

Trait Implementations

impl Clone for Values[src]

impl Copy for Values[src]

impl Debug for Values[src]

impl Default for Values[src]

impl Eq for Values[src]

impl From<Values> for i32[src]

impl Hash for Values[src]

impl Ord for Values[src]

impl PartialEq<Values> for Values[src]

impl PartialOrd<Values> for Values[src]

impl StructuralEq for Values[src]

impl StructuralPartialEq for Values[src]

Auto Trait Implementations

impl RefUnwindSafe for Values

impl Send for Values

impl Sync for Values

impl Unpin for Values

impl UnwindSafe for Values

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]