Principal class

Users/Service accounts which have access for DNS binding on the intranet VPC corresponding to the consumer project.

Principal can be a user or a service account. For example: For specifying user user@example.com use {"user": "user@example.com"} and for specifying service account service-account@gserviceaccount.com use {"serviceAccount": "service-account@gserviceaccount.com"}.

Constructors

Principal({String? serviceAccount, String? user})
Principal.fromJson(Map json_)

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceAccount ↔ String?
The service account which needs to be granted the permission.
getter/setter pair
user ↔ String?
The user who needs to be granted permission.
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