public class CloudResourceManager.Organizations
extends java.lang.Object
| Constructor and Description |
|---|
Organizations() |
| Modifier and Type | Method and Description |
|---|---|
CloudResourceManager.Organizations.ClearOrgPolicy |
clearOrgPolicy(java.lang.String resource,
ClearOrgPolicyRequest content)
Clears a `Policy` from a resource.
|
CloudResourceManager.Organizations.Get |
get(java.lang.String name)
Fetches an Organization resource identified by the specified resource name.
|
CloudResourceManager.Organizations.GetEffectiveOrgPolicy |
getEffectiveOrgPolicy(java.lang.String resource,
GetEffectiveOrgPolicyRequest content)
Gets the effective `Policy` on a resource.
|
CloudResourceManager.Organizations.GetIamPolicy |
getIamPolicy(java.lang.String resource,
GetIamPolicyRequest content)
Gets the access control policy for an Organization resource.
|
CloudResourceManager.Organizations.GetOrgPolicy |
getOrgPolicy(java.lang.String resource,
GetOrgPolicyRequest content)
Gets a `Policy` on a resource.
|
CloudResourceManager.Organizations.ListAvailableOrgPolicyConstraints |
listAvailableOrgPolicyConstraints(java.lang.String resource,
ListAvailableOrgPolicyConstraintsRequest content)
Lists `Constraints` that could be applied on the specified resource.
|
CloudResourceManager.Organizations.ListOrgPolicies |
listOrgPolicies(java.lang.String resource,
ListOrgPoliciesRequest content)
Lists all the `Policies` set for a particular resource.
|
CloudResourceManager.Organizations.Search |
search(SearchOrganizationsRequest content)
Searches 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.SetOrgPolicy |
setOrgPolicy(java.lang.String resource,
SetOrgPolicyRequest content)
Updates the specified `Policy` on the resource.
|
CloudResourceManager.Organizations.TestIamPermissions |
testIamPermissions(java.lang.String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified Organization.
|
public CloudResourceManager.Organizations.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 ClearOrgPolicyRequestjava.io.IOExceptionpublic CloudResourceManager.Organizations.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The resource name of the Organization to fetch. This is the organization's
relative path in the API,
formatted as "organizations/[organizationId]".
For example, "organizations/1234".java.io.IOExceptionpublic CloudResourceManager.Organizations.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 GetEffectiveOrgPolicyRequestjava.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.
See the operation documentation for
the appropriate value for this field.content - the GetIamPolicyRequestjava.io.IOExceptionpublic CloudResourceManager.Organizations.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 GetOrgPolicyRequestjava.io.IOExceptionpublic CloudResourceManager.Organizations.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 ListAvailableOrgPolicyConstraintsRequestjava.io.IOExceptionpublic CloudResourceManager.Organizations.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 ListOrgPoliciesRequestjava.io.IOExceptionpublic CloudResourceManager.Organizations.Search search(SearchOrganizationsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the SearchOrganizationsRequestjava.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.
See the operation documentation for
the appropriate value for this field.content - the SetIamPolicyRequestjava.io.IOExceptionpublic CloudResourceManager.Organizations.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 SetOrgPolicyRequestjava.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.
See the operation
documentation for the appropriate value for this field.content - the TestIamPermissionsRequestjava.io.IOException