The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Google::Storage::Object - Interface for a Google Storage Object

VERSION

version 0.2.0

DESCRIPTION

Object for storing the data of an object, slightly cut down from https://developers.google.com/storage/docs/json_api/v1/objects#resource.

Generally Net::Google::Storage::Object objects are acquired from a get_object, list_objects, or insert_object call on a Net::Google::Storage object.

ATTRIBUTES

id

The id of the object. Essentially the concatenation of the bucket name and the object's name.

The url of this object.

name

The name of the object within the bucket. This is what you want to adjust, not the id.

bucket

The name of the bucket the object resides within.

timeCreated

The creation timestamp of the object

md5Hash

A base64 encoded checksum of the object's data

contentEncoding

The content encoding of the object's data.

contentDisposition

The content disposition of the object's data.

cacheControl

Cache-Control directive for the object data.

metadata

Hashref containing user-defined metadata for the object.

owner

Hashref containing details for the object's owner.

AUTHOR

Glenn Fowler <cebjyre@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Glenn Fowler.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.