Google\Cloud\Storage\Bucket::defaultAcl PHP 메소드

defaultAcl() 공개 메소드

Example: $acl = $bucket->defaultAcl();
또한 보기: https://cloud.google.com/storage/docs/access-control More about Access Control Lists
public defaultAcl ( ) : Acl
리턴 Acl An ACL instance configured to handle the bucket's default object access control policies.
    public function defaultAcl()
    {
        return $this->defaultAcl;
    }

Usage Example

예제 #1
0
 public function testGetsDefaultAcl()
 {
     $bucket = new Bucket($this->connection->reveal(), 'bucket');
     $this->assertInstanceOf('Google\\Cloud\\Storage\\Acl', $bucket->defaultAcl());
 }