GetObjectIamPolicyResult class
Result data returned by getObjectIamPolicy.
Constructors
-
GetObjectIamPolicyResult({required List<
ObjectIamPolicyBindingsItemResponse> bindings, required String etag, required String kind, required String resourceId, required int version}) -
Creates a new GetObjectIamPolicyResult.
bindingsAn association between a role, which comes with a set of permissions, and members who may assume that role.etagHTTP 1.1 Entity tag for the policy.kindThe kind of item this is. For policies, this is always storage#policy. This field is ignored on input.resourceIdThe ID of the resource to which this policy belongs. Will be of the form projects//buckets/bucket for buckets, projects//buckets/bucket/objects/object for objects, and projects//buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects//buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.versionThe IAM policy format version.const -
GetObjectIamPolicyResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
bindings
→ List<
ObjectIamPolicyBindingsItemResponse> -
An association between a role, which comes with a set of permissions, and members who may assume that role.
final
- etag → String
-
HTTP 1.1 Entity tag for the policy.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
final
- resourceId → String
-
The ID of the resource to which this policy belongs. Will be of the form projects//buckets/bucket for buckets, projects//buckets/bucket/objects/object for objects, and projects//buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects//buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → int
-
The IAM policy format version.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited