public class CloudResourceManager.Projects
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
CloudResourceManager.Projects.Create |
class |
CloudResourceManager.Projects.Delete |
class |
CloudResourceManager.Projects.Get |
class |
CloudResourceManager.Projects.GetAncestry |
class |
CloudResourceManager.Projects.GetIamPolicy |
class |
CloudResourceManager.Projects.List |
class |
CloudResourceManager.Projects.SetIamPolicy |
class |
CloudResourceManager.Projects.TestIamPermissions |
class |
CloudResourceManager.Projects.Undelete |
class |
CloudResourceManager.Projects.Update |
Constructor and Description |
---|
Projects() |
Modifier and Type | Method and Description |
---|---|
CloudResourceManager.Projects.Create |
create(Project content)
Creates a Project resource.
|
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.GetIamPolicy |
getIamPolicy(java.lang.String resource,
GetIamPolicyRequest content)
Returns the IAM access control policy for the specified Project.
|
CloudResourceManager.Projects.List |
list()
Lists Projects that are visible to the user and satisfy the specified filter.
|
CloudResourceManager.Projects.SetIamPolicy |
setIamPolicy(java.lang.String resource,
SetIamPolicyRequest content)
Sets the IAM access control policy for the specified Project.
|
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.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.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.List list() throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.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