public class Cloudresourcemanager.Organizations
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Cloudresourcemanager.Organizations.Get |
class |
Cloudresourcemanager.Organizations.GetIamPolicy |
class |
Cloudresourcemanager.Organizations.List |
class |
Cloudresourcemanager.Organizations.SetIamPolicy |
class |
Cloudresourcemanager.Organizations.TestIamPermissions |
class |
Cloudresourcemanager.Organizations.Update |
| Constructor and Description |
|---|
Cloudresourcemanager.Organizations() |
| Modifier and Type | Method and Description |
|---|---|
Cloudresourcemanager.Organizations.Get |
get(java.lang.String organizationId)
Fetches an Organization resource identified by the specified `organization_id`.
|
Cloudresourcemanager.Organizations.GetIamPolicy |
getIamPolicy(java.lang.String resource,
GetIamPolicyRequest content)
Gets the access control policy for an Organization resource.
|
Cloudresourcemanager.Organizations.List |
list()
Lists Organization resources that are visible to the user and satisfy the specified filter.
|
Cloudresourcemanager.Organizations.SetIamPolicy |
setIamPolicy(java.lang.String resource,
SetIamPolicyRequest content)
Sets the access control policy on an Organization resource.
|
Cloudresourcemanager.Organizations.TestIamPermissions |
testIamPermissions(java.lang.String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified Organization.
|
Cloudresourcemanager.Organizations.Update |
update(java.lang.String organizationId,
Organization content)
Updates an Organization resource identified by the specified `organization_id`.
|
public Cloudresourcemanager.Organizations.Get get(java.lang.String organizationId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.organizationId - The id of the Organization resource to fetch.java.io.IOExceptionpublic Cloudresourcemanager.Organizations.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.Organizations.List list() throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.java.io.IOExceptionpublic Cloudresourcemanager.Organizations.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.Organizations.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.Organizations.Update update(java.lang.String organizationId, Organization content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.organizationId - An immutable id for the Organization that is assigned on creation. This should be omitted when
creating a new Organization. This field is read-only.content - the Organizationjava.io.IOException