Google_StorageObject
The Google Pagespeed Insights Google StorageObject class.
Defined (1)
The class is defined in the following location(s).
- /google-api/src/contrib/Google_StorageService.php
- class Google_StorageObject extends Google_Model {
- public $kind;
- public $name;
- protected $__mediaType = 'Google_StorageObjectMedia';
- protected $__mediaDataType = '';
- public $media;
- public $bucket;
- public $contentEncoding;
- public $selfLink;
- protected $__ownerType = 'Google_StorageObjectOwner';
- protected $__ownerDataType = '';
- public $owner;
- public $cacheControl;
- protected $__aclType = 'Google_ObjectAccessControl';
- protected $__aclDataType = 'array';
- public $acl;
- public $id;
- public $contentDisposition;
- public $metadata;
- public function setKind($kind) {
- $this->kind = $kind;
- }
- public function getKind() {
- return $this->kind;
- }
- public function setName($name) {
- $this->name = $name;
- }
- public function getName() {
- return $this->name;
- }
- public function setMedia(Google_StorageObjectMedia $media) {
- $this->media = $media;
- }
- public function getMedia() {
- return $this->media;
- }
- public function setBucket($bucket) {
- $this->bucket = $bucket;
- }
- public function getBucket() {
- return $this->bucket;
- }
- public function setContentEncoding($contentEncoding) {
- $this->contentEncoding = $contentEncoding;
- }
- public function getContentEncoding() {
- return $this->contentEncoding;
- }
- public function setSelfLink($selfLink) {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink() {
- return $this->selfLink;
- }
- public function setOwner(Google_StorageObjectOwner $owner) {
- $this->owner = $owner;
- }
- public function getOwner() {
- return $this->owner;
- }
- public function setCacheControl($cacheControl) {
- $this->cacheControl = $cacheControl;
- }
- public function getCacheControl() {
- return $this->cacheControl;
- }
- public function setAcl(/** array(Google_ObjectAccessControl) */ $acl) {
- $this->assertIsArray($acl, 'Google_ObjectAccessControl', __METHOD__);
- $this->acl = $acl;
- }
- public function getAcl() {
- return $this->acl;
- }
- public function setId($id) {
- $this->id = $id;
- }
- public function getId() {
- return $this->id;
- }
- public function setContentDisposition($contentDisposition) {
- $this->contentDisposition = $contentDisposition;
- }
- public function getContentDisposition() {
- return $this->contentDisposition;
- }
- public function setMetadata($metadata) {
- $this->metadata = $metadata;
- }
- public function getMetadata() {
- return $this->metadata;
- }
- }