Struct google_storage1::Object [] [src]

pub struct Object {
    pub self_link: Option<String>,
    pub updated: Option<String>,
    pub content_type: Option<String>,
    pub time_created: Option<String>,
    pub generation: Option<String>,
    pub customer_encryption: Option<ObjectCustomerEncryption>,
    pub component_count: Option<i32>,
    pub time_storage_class_updated: Option<String>,
    pub metageneration: Option<String>,
    pub media_link: Option<String>,
    pub owner: Option<ObjectOwner>,
    pub cache_control: Option<String>,
    pub acl: Option<Vec<ObjectAccessControl>>,
    pub id: Option<String>,
    pub size: Option<String>,
    pub time_deleted: Option<String>,
    pub kind: Option<String>,
    pub content_language: Option<String>,
    pub name: Option<String>,
    pub md5_hash: Option<String>,
    pub bucket: Option<String>,
    pub content_encoding: Option<String>,
    pub crc32c: Option<String>,
    pub etag: Option<String>,
    pub storage_class: Option<String>,
    pub content_disposition: Option<String>,
    pub metadata: Option<HashMap<String, String>>,
}

An object.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

The link to this object.

The modification time of the object metadata in RFC 3339 format.

Content-Type of the object data. If contentType is not specified, object downloads will be served as application/octet-stream.

The creation time of the object in RFC 3339 format.

The content generation of this object. Used for object versioning.

Metadata of customer-supplied encryption key, if the object is encrypted by such a key.

Number of underlying components that make up this object. Components are accumulated by compose operations.

The time at which the object's storage class was last changed. When the object is initially created, it will be set to timeCreated.

The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.

Media download link.

The owner of the object. This will always be the uploader of the object.

Cache-Control directive for the object data. If omitted, and the object is accessible to all anonymous users, the default will be public, max-age=3600.

Access controls on the object.

The ID of the object.

Content-Length of the data in bytes.

The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.

The kind of item this is. For objects, this is always storage#object.

Content-Language of the object data.

The name of this object. Required if not specified by URL parameter.

MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.

The name of the bucket containing this object.

Content-Encoding of the object data.

CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices.

HTTP 1.1 Entity tag for the object.

Storage class of the object.

Content-Disposition of the object data.

User-provided metadata, in key/value pairs.

Trait Implementations

impl Debug for Object
[src]

Formats the value using the given formatter.

impl Clone for Object
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Object
[src]

Returns the "default value" for a type. Read more

impl RequestValue for Object
[src]

impl Resource for Object
[src]

impl ResponseResult for Object
[src]