NAME

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

VERSION

version v0.1.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.

media

A hashref containing sundry information about the file itself - check out the docs.

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.