Свойство | Type | Description | |
---|---|---|---|
$connection | Represents a connection to Cloud Storage. |
Méthode | Description | |
---|---|---|
__construct ( Google\Cloud\Storage\Connection\ConnectionInterface $connection, string $type, array $identity ) | ||
add ( string $entity, string $role, array $options = [] ) : array | Add access controls on a {@see Google\Cloud\Storage\Bucket} or {@see Google\Cloud\Storage\StorageObject}. | |
delete ( string $entity, array $options = [] ) : void | Delete access controls on a {@see Google\Cloud\Storage\Bucket} or {@see Google\Cloud\Storage\StorageObject} for a specified entity. | |
get ( array $options = [] ) : array | Get access controls on a {@see Google\Cloud\Storage\Bucket} or {@see Google\Cloud\Storage\StorageObject}. By default this will return all available access controls. You may optionally specify a single entity to return details for as well. | |
update ( string $entity, string $role, array $options = [] ) : array | Update access controls on a {@see Google\Cloud\Storage\Bucket} or {@see Google\Cloud\Storage\StorageObject}. |
public __construct ( Google\Cloud\Storage\Connection\ConnectionInterface $connection, string $type, array $identity ) | ||
$connection | Google\Cloud\Storage\Connection\ConnectionInterface | Represents a connection to Cloud Storage. |
$type | string | The type of access control this instance applies to. |
$identity | array | Represents which bucket, file, or generation this instance applies to. |
public update ( string $entity, string $role, array $options = [] ) : array | ||
$entity | string | The entity to update access controls for. |
$role | string | The permissions to update for the specified entity. May be one of 'OWNER', 'READER', or 'WRITER'. |
$options | array | [optional] Configuration Options. |
Résultat | array |