public class CloudResourceManager.Projects
extends java.lang.Object
Constructor and Description |
---|
Projects() |
Modifier and Type | Method and Description |
---|---|
CloudResourceManager.Projects.ClearOrgPolicy |
clearOrgPolicy(java.lang.String resource,
ClearOrgPolicyRequest content)
Clears a `Policy` from a resource.
|
CloudResourceManager.Projects.Create |
create(Project content)
Request that a new Project be created.
|
CloudResourceManager.Projects.Delete |
delete(java.lang.String projectId)
Marks the Project identified by the specified `project_id` (for example, `my-project-123`) for
deletion.
|
CloudResourceManager.Projects.Get |
get(java.lang.String projectId)
Retrieves the Project identified by the specified `project_id` (for example, `my-project-123`).
|
CloudResourceManager.Projects.GetAncestry |
getAncestry(java.lang.String projectId,
GetAncestryRequest content)
Gets a list of ancestors in the resource hierarchy for the Project identified by the specified
`project_id` (for example, `my-project-123`).
|
CloudResourceManager.Projects.GetEffectiveOrgPolicy |
getEffectiveOrgPolicy(java.lang.String resource,
GetEffectiveOrgPolicyRequest content)
Gets the effective `Policy` on a resource.
|
CloudResourceManager.Projects.GetIamPolicy |
getIamPolicy(java.lang.String resource,
GetIamPolicyRequest content)
Returns the IAM access control policy for the specified Project.
|
CloudResourceManager.Projects.GetOrgPolicy |
getOrgPolicy(java.lang.String resource,
GetOrgPolicyRequest content)
Gets a `Policy` on a resource.
|
CloudResourceManager.Projects.List |
list()
Lists Projects that the caller has the `resourcemanager.projects.get` permission on and satisfy
the specified filter.
|
CloudResourceManager.Projects.ListAvailableOrgPolicyConstraints |
listAvailableOrgPolicyConstraints(java.lang.String resource,
ListAvailableOrgPolicyConstraintsRequest content)
Lists `Constraints` that could be applied on the specified resource.
|
CloudResourceManager.Projects.ListOrgPolicies |
listOrgPolicies(java.lang.String resource,
ListOrgPoliciesRequest content)
Lists all the `Policies` set for a particular resource.
|
CloudResourceManager.Projects.SetIamPolicy |
setIamPolicy(java.lang.String resource,
SetIamPolicyRequest content)
Sets the IAM access control policy for the specified Project.
|
CloudResourceManager.Projects.SetOrgPolicy |
setOrgPolicy(java.lang.String resource,
SetOrgPolicyRequest content)
Updates the specified `Policy` on the resource.
|
CloudResourceManager.Projects.TestIamPermissions |
testIamPermissions(java.lang.String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified Project.
|
CloudResourceManager.Projects.Undelete |
undelete(java.lang.String projectId,
UndeleteProjectRequest content)
Restores the Project identified by the specified `project_id` (for example, `my-project-123`).
|
CloudResourceManager.Projects.Update |
update(java.lang.String projectId,
Project content)
Updates the attributes of the Project identified by the specified `project_id` (for example, `my-
project-123`).
|
public CloudResourceManager.Projects.ClearOrgPolicy clearOrgPolicy(java.lang.String resource, ClearOrgPolicyRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- Name of the resource for the `Policy` to clear.content
- the ClearOrgPolicyRequest
java.io.IOException
public CloudResourceManager.Projects.Create create(Project content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the Project
java.io.IOException
public CloudResourceManager.Projects.Delete delete(java.lang.String projectId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- The Project ID (for example, `foo-bar-123`).
Required.java.io.IOException
public CloudResourceManager.Projects.Get get(java.lang.String projectId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- The Project ID (for example, `my-project-123`).
Required.java.io.IOException
public CloudResourceManager.Projects.GetAncestry getAncestry(java.lang.String projectId, GetAncestryRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.projectId
- The Project ID (for example, `my-project-123`).
Required.content
- the GetAncestryRequest
java.io.IOException
public CloudResourceManager.Projects.GetEffectiveOrgPolicy getEffectiveOrgPolicy(java.lang.String resource, GetEffectiveOrgPolicyRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- The name of the resource to start computing the effective `Policy`.content
- the GetEffectiveOrgPolicyRequest
java.io.IOException
public CloudResourceManager.Projects.GetIamPolicy getIamPolicy(java.lang.String resource, GetIamPolicyRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- REQUIRED: The resource for which the policy is being requested.
See the operation documentation for
the appropriate value for this field.content
- the GetIamPolicyRequest
java.io.IOException
public CloudResourceManager.Projects.GetOrgPolicy getOrgPolicy(java.lang.String resource, GetOrgPolicyRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- Name of the resource the `Policy` is set on.content
- the GetOrgPolicyRequest
java.io.IOException
public CloudResourceManager.Projects.List list() throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.java.io.IOException
public CloudResourceManager.Projects.ListAvailableOrgPolicyConstraints listAvailableOrgPolicyConstraints(java.lang.String resource, ListAvailableOrgPolicyConstraintsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to
invoke the remote operation.resource
- Name of the resource to list `Constraints` for.content
- the ListAvailableOrgPolicyConstraintsRequest
java.io.IOException
public CloudResourceManager.Projects.ListOrgPolicies listOrgPolicies(java.lang.String resource, ListOrgPoliciesRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- Name of the resource to list Policies for.content
- the ListOrgPoliciesRequest
java.io.IOException
public CloudResourceManager.Projects.SetIamPolicy setIamPolicy(java.lang.String resource, SetIamPolicyRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- REQUIRED: The resource for which the policy is being specified.
See the operation documentation for
the appropriate value for this field.content
- the SetIamPolicyRequest
java.io.IOException
public CloudResourceManager.Projects.SetOrgPolicy setOrgPolicy(java.lang.String resource, SetOrgPolicyRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- Resource name of the resource to attach the `Policy`.content
- the SetOrgPolicyRequest
java.io.IOException
public CloudResourceManager.Projects.TestIamPermissions testIamPermissions(java.lang.String resource, TestIamPermissionsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- REQUIRED: The resource for which the policy detail is being requested.
See the operation
documentation for the appropriate value for this field.content
- the TestIamPermissionsRequest
java.io.IOException
public CloudResourceManager.Projects.Undelete undelete(java.lang.String projectId, UndeleteProjectRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- The project ID (for example, `foo-bar-123`).
Required.content
- the UndeleteProjectRequest
java.io.IOException
public CloudResourceManager.Projects.Update update(java.lang.String projectId, Project content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- The project ID (for example, `my-project-123`).
Required.content
- the Project
java.io.IOException