ProjectsResource class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(Project request, {String? $fields})
→ Future<Operation>
-
Request that a new project be created.
-
delete(String name, {String? $fields})
→ Future<Operation>
-
Marks the project identified by the specified
name
(for example,
projects/415104041262
) for deletion.
-
get(String name, {String? $fields})
→ Future<Project>
-
Retrieves the project identified by the specified
name
(for example,
projects/415104041262
).
-
getIamPolicy(GetIamPolicyRequest request, String resource, {String? $fields})
→ Future<Policy>
-
Returns the IAM access control policy for the specified project, in the
format
projects/{ProjectIdOrNumber}
e.g. projects/123.
-
list({int? pageSize, String? pageToken, String? parent, bool? showDeleted, String? $fields})
→ Future<ListProjectsResponse>
-
Lists projects that are direct children of the specified folder or
organization resource.
-
move(MoveProjectRequest request, String name, {String? $fields})
→ Future<Operation>
-
Move a project to another place in your resource hierarchy, under a new
resource parent.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(Project request, String name, {String? updateMask, String? $fields})
→ Future<Operation>
-
Updates the
display_name
and labels of the project identified by the
specified name
(for example, projects/415104041262
).
-
search({int? pageSize, String? pageToken, String? query, String? $fields})
→ Future<SearchProjectsResponse>
-
Search for projects that the caller has the
resourcemanager.projects.get
permission on, and also satisfy the specified query.
-
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields})
→ Future<Policy>
-
Sets the IAM access control policy for the specified project, in the
format
projects/{ProjectIdOrNumber}
e.g. projects/123.
-
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields})
→ Future<TestIamPermissionsResponse>
-
Returns permissions that a caller has on the specified project, in the
format
projects/{ProjectIdOrNumber}
e.g. projects/123..
-
toString()
→ String
-
A string representation of this object.
inherited
-
undelete(UndeleteProjectRequest request, String name, {String? $fields})
→ Future<Operation>
-
Restores the project identified by the specified
name
(for example,
projects/415104041262
).