GetProjectResult class
Result data returned by getProject.
Constructors
-
GetProjectResult({required String createTime, required Map<
String, String> labels, required String lifecycleState, required String name, required ResourceIdResponse parent, required String projectId, required String projectNumber}) -
Creates a new GetProjectResult.
createTimeCreation time. Read-only.labelsThe labels associated with this Project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}. Label values must be between 0 and 63 characters long and must conform to the regular expressiona-z0-9_-{0,63}. A label value can be empty. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write.lifecycleStateThe Project lifecycle state. Read-only.nameThe optional user-assigned display name of the Project. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example:My ProjectRead-write.parentAn optional reference to a parent Resource. Supported parent types include "organization" and "folder". Once set, the parent cannot be cleared. Theparentcan be set on creation or using theUpdateProjectmethod; the end user must have theresourcemanager.projects.createpermission on the parent.projectIdThe unique, user-assigned ID of the Project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example:tokyo-rain-123Read-only after creation.projectNumberThe number uniquely identifying the project. Example:415104041262Read-only.const -
GetProjectResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- createTime → String
-
Creation time. Read-only.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Map<
String, String> -
The labels associated with this Project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}. Label values must be between 0 and 63 characters long and must conform to the regular expression
a-z0-9_-{0,63}. A label value can be empty. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write.final - lifecycleState → String
-
The Project lifecycle state. Read-only.
final
- name → String
-
The optional user-assigned display name of the Project. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example:
My ProjectRead-write.final - parent → ResourceIdResponse
-
An optional reference to a parent Resource. Supported parent types include "organization" and "folder". Once set, the parent cannot be cleared. The
parentcan be set on creation or using theUpdateProjectmethod; the end user must have theresourcemanager.projects.createpermission on the parent.final - projectId → String
-
The unique, user-assigned ID of the Project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example:
tokyo-rain-123Read-only after creation.final - projectNumber → String
-
The number uniquely identifying the project. Example:
415104041262Read-only.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