Google\Cloud\Storage\Bucket::acl PHP Method

acl() public method

Example: $acl = $bucket->acl();
See also: https://cloud.google.com/storage/docs/access-control More about Access Control Lists
public acl ( ) : Acl
return Acl An ACL instance configured to handle the bucket's access control policies.
    public function acl()
    {
        return $this->acl;
    }

Usage Example

 public function testGetsAcl()
 {
     $bucket = new Bucket($this->connection->reveal(), 'bucket');
     $this->assertInstanceOf('Google\\Cloud\\Storage\\Acl', $bucket->acl());
 }