Property | Type | Description | |
---|---|---|---|
$connection | Google\Cloud\Iam\IamConnectionInterface |
Method | Description | |
---|---|---|
__construct ( Google\Cloud\Iam\IamConnectionInterface $connection, string $resource ) | ||
policy ( array $options = [] ) : array | Get the existing IAM policy for this resource. | |
reload ( array $options = [] ) : array | Refresh the IAM policy for this resource. | |
setPolicy ( array $policy, array $options = [] ) : array | Set the IAM policy for this resource. | |
testPermissions ( array $permissions, array $options = [] ) : array | Test if the current user has the given permissions on this resource. |
public __construct ( Google\Cloud\Iam\IamConnectionInterface $connection, string $resource ) | ||
$connection | Google\Cloud\Iam\IamConnectionInterface | |
$resource | string |