PredefinedAcl class
Definition of predefined ACLs.
There is a convenient way of referring to number of predefined ACLs. These predefined ACLs have explicit names, and can only be used to set an ACL, when either creating or updating a bucket or object. This set of predefined ACLs are expanded on the server to their actual list of AclEntry objects. When information is retrieved on a bucket or object, this expanded list will be present. For a description of these predefined ACLs see: https://cloud.google.com/storage/docs/accesscontrol#extension.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- authenticatedRead → const PredefinedAcl
- Predefined ACL for the 'authenticated-read' ACL. Applies to both buckets and objects.
- bucketOwnerFullControl → const PredefinedAcl
- Predefined ACL for the 'bucket-owner-full-control' ACL. Applies only to objects.
- bucketOwnerRead → const PredefinedAcl
- Predefined ACL for the 'bucket-owner-read' ACL. Applies only to objects.
- private → const PredefinedAcl
- Predefined ACL for the 'private' ACL. Applies to both buckets and objects.
- projectPrivate → const PredefinedAcl
- Predefined ACL for the 'project-private' ACL. Applies to both buckets and objects.
- publicRead → const PredefinedAcl
- Predefined ACL for the 'public-read' ACL. Applies to both buckets and objects.
- publicReadWrite → const PredefinedAcl
- Predefined ACL for the 'public-read-write' ACL. Applies only to buckets.