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.GetIamPolicy |
class |
Cloudresourcemanager.Projects.List |
class |
Cloudresourcemanager.Projects.SetIamPolicy |
class |
Cloudresourcemanager.Projects.TestIamPermissions |
class |
Cloudresourcemanager.Projects.Undelete |
class |
Cloudresourcemanager.Projects.Update |
| Constructor and Description |
|---|
Cloudresourcemanager.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.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)
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 Projectjava.io.IOExceptionpublic 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.IOExceptionpublic 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.IOExceptionpublic 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. `resource` is usually specified as a
path, such as `projectsprojectzoneszonedisksdisk*`. The format for the path specified in
this value is resource specific and is specified in the `getIamPolicy` documentation.content - the GetIamPolicyRequestjava.io.IOExceptionpublic Cloudresourcemanager.Projects.List list() throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.java.io.IOExceptionpublic 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. `resource` is usually specified as a
path, such as `projectsprojectzoneszonedisksdisk*`. The format for the path specified in
this value is resource specific and is specified in the `setIamPolicy` documentation.content - the SetIamPolicyRequestjava.io.IOExceptionpublic 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. `resource` is usually
specified as a path, such as `projectsprojectzoneszonedisksdisk*`. The format for the path
specified in this value is resource specific and is specified in the `testIamPermissions`
documentation.content - the TestIamPermissionsRequestjava.io.IOExceptionpublic Cloudresourcemanager.Projects.Undelete undelete(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.IOExceptionpublic 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 Projectjava.io.IOException