GetLienResult class
Result data returned by getLien.
Constructors
-
GetLienResult({required String createTime, required String name, required String origin, required String parent, required String reason, required List<
String> restrictions}) -
Creates a new GetLienResult.
createTimeThe creation time of this Lien.nameA system-generated unique identifier for this Lien. Example:liens/1234abcdoriginA stable, user-visible/meaningful string identifying the origin of the Lien, intended to be inspected programmatically. Maximum length of 200 characters. Example: 'compute.googleapis.com'parentA reference to the resource this Lien is attached to. The server will validate the parent against those for which Liens are supported. Example:projects/1234reasonConcise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. Example: 'Holds production API key'restrictionsThe types of operations which should be blocked as a result of this Lien. Each value should correspond to an IAM permission. The server will validate the permissions against those for which Liens are supported. An empty list is meaningless and will be rejected. Example:'resourcemanager.projects.delete'const -
GetLienResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- createTime → String
-
The creation time of this Lien.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
A system-generated unique identifier for this Lien. Example:
liens/1234abcdfinal - origin → String
-
A stable, user-visible/meaningful string identifying the origin of the Lien, intended to be inspected programmatically. Maximum length of 200 characters. Example: 'compute.googleapis.com'
final
- parent → String
-
A reference to the resource this Lien is attached to. The server will validate the parent against those for which Liens are supported. Example:
projects/1234final - reason → String
-
Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. Example: 'Holds production API key'
final
-
restrictions
→ List<
String> -
The types of operations which should be blocked as a result of this Lien. Each value should correspond to an IAM permission. The server will validate the permissions against those for which Liens are supported. An empty list is meaningless and will be rejected. Example:
'resourcemanager.projects.delete'final - 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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited