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
-
clearOrgPolicy(ClearOrgPolicyRequest request, String resource, {String? $fields})
→ Future<Empty>
-
Clears a
Policy
from a resource.
-
create(Project request, {String? $fields})
→ Future<Operation>
-
Request that a new Project be created.
-
delete(String projectId, {String? $fields})
→ Future<Empty>
-
Marks the Project identified by the specified
project_id
(for example,
my-project-123
) for deletion.
-
get(String projectId, {String? $fields})
→ Future<Project>
-
Retrieves the Project identified by the specified
project_id
(for
example, my-project-123
).
-
getAncestry(GetAncestryRequest request, String projectId, {String? $fields})
→ Future<GetAncestryResponse>
-
Gets a list of ancestors in the resource hierarchy for the Project
identified by the specified
project_id
(for example, my-project-123
).
-
getEffectiveOrgPolicy(GetEffectiveOrgPolicyRequest request, String resource, {String? $fields})
→ Future<OrgPolicy>
-
Gets the effective
Policy
on a resource.
-
getIamPolicy(GetIamPolicyRequest request, String resource, {String? $fields})
→ Future<Policy>
-
Returns the IAM access control policy for the specified Project.
-
getOrgPolicy(GetOrgPolicyRequest request, String resource, {String? $fields})
→ Future<OrgPolicy>
-
Gets a
Policy
on a resource.
-
list({String? filter, int? pageSize, String? pageToken, String? $fields})
→ Future<ListProjectsResponse>
-
Lists Projects that the caller has the
resourcemanager.projects.get
permission on and satisfy the specified filter.
-
listAvailableOrgPolicyConstraints(ListAvailableOrgPolicyConstraintsRequest request, String resource, {String? $fields})
→ Future<ListAvailableOrgPolicyConstraintsResponse>
-
Lists
Constraints
that could be applied on the specified resource.
-
listOrgPolicies(ListOrgPoliciesRequest request, String resource, {String? $fields})
→ Future<ListOrgPoliciesResponse>
-
Lists all the
Policies
set for a particular resource.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields})
→ Future<Policy>
-
Sets the IAM access control policy for the specified Project.
-
setOrgPolicy(SetOrgPolicyRequest request, String resource, {String? $fields})
→ Future<OrgPolicy>
-
Updates the specified
Policy
on the resource.
-
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields})
→ Future<TestIamPermissionsResponse>
-
Returns permissions that a caller has on the specified Project.
-
toString()
→ String
-
A string representation of this object.
inherited
-
undelete(UndeleteProjectRequest request, String projectId, {String? $fields})
→ Future<Empty>
-
Restores the Project identified by the specified
project_id
(for
example, my-project-123
).
-
update(Project request, String projectId, {String? $fields})
→ Future<Project>
-
Updates the attributes of the Project identified by the specified
project_id
(for example, my-project-123
).