public class CloudResourceManager.Organizations extends Object
| Constructor and Description |
|---|
Organizations() |
public CloudResourceManager.Organizations.ClearOrgPolicy clearOrgPolicy(String resource, ClearOrgPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.resource - Name of the resource for the `Policy` to clear.content - the ClearOrgPolicyRequestIOExceptionpublic CloudResourceManager.Organizations.Get get(String name) throws 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".IOExceptionpublic CloudResourceManager.Organizations.GetEffectiveOrgPolicy getEffectiveOrgPolicy(String resource, GetEffectiveOrgPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.resource - The name of the resource to start computing the effective `Policy`.content - the GetEffectiveOrgPolicyRequestIOExceptionpublic CloudResourceManager.Organizations.GetIamPolicy getIamPolicy(String resource, GetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.resource - REQUIRED: The resource for which the policy is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content - the GetIamPolicyRequestIOExceptionpublic CloudResourceManager.Organizations.GetOrgPolicy getOrgPolicy(String resource, GetOrgPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.resource - Name of the resource the `Policy` is set on.content - the GetOrgPolicyRequestIOExceptionpublic CloudResourceManager.Organizations.ListAvailableOrgPolicyConstraints listAvailableOrgPolicyConstraints(String resource, ListAvailableOrgPolicyConstraintsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to
invoke the remote operation.resource - Name of the resource to list `Constraints` for.content - the ListAvailableOrgPolicyConstraintsRequestIOExceptionpublic CloudResourceManager.Organizations.ListOrgPolicies listOrgPolicies(String resource, ListOrgPoliciesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.resource - Name of the resource to list Policies for.content - the ListOrgPoliciesRequestIOExceptionpublic CloudResourceManager.Organizations.Search search(SearchOrganizationsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the SearchOrganizationsRequestIOExceptionpublic CloudResourceManager.Organizations.SetIamPolicy setIamPolicy(String resource, SetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.resource - REQUIRED: The resource for which the policy is being specified. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content - the SetIamPolicyRequestIOExceptionpublic CloudResourceManager.Organizations.SetOrgPolicy setOrgPolicy(String resource, SetOrgPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.resource - Resource name of the resource to attach the `Policy`.content - the SetOrgPolicyRequestIOExceptionpublic CloudResourceManager.Organizations.TestIamPermissions testIamPermissions(String resource, TestIamPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.resource - REQUIRED: The resource for which the policy detail is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content - the TestIamPermissionsRequestIOExceptionCopyright © 2011–2024 Google. All rights reserved.