Policy class

A bucket/object IAM policy.

Constructors

Policy({List<PolicyBindings>? bindings, String? etag, String? kind, String? resourceId, int? version})
Policy.fromJson(Map json_)

Properties

bindings List<PolicyBindings>?
An association between a role, which comes with a set of permissions, and members who may assume that role.
getter/setter pair
etag String?
HTTP 1.1 Entity tag for the policy.
getter/setter pair
etagAsBytes List<int>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String?
The kind of item this is.
getter/setter pair
resourceId String?
The ID of the resource to which this policy belongs.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version int?
The IAM policy format version.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited