public class CloudResourceManager.Organizations extends Object
Modifier and Type | Class and Description |
---|---|
class |
CloudResourceManager.Organizations.Get |
class |
CloudResourceManager.Organizations.GetIamPolicy |
class |
CloudResourceManager.Organizations.Search |
class |
CloudResourceManager.Organizations.SetIamPolicy |
class |
CloudResourceManager.Organizations.TestIamPermissions |
Constructor and Description |
---|
Organizations() |
Modifier and Type | Method and Description |
---|---|
CloudResourceManager.Organizations.Get |
get(String name)
Fetches an organization resource identified by the specified resource name.
|
CloudResourceManager.Organizations.GetIamPolicy |
getIamPolicy(String resource,
GetIamPolicyRequest content)
Gets the access control policy for an organization resource.
|
CloudResourceManager.Organizations.Search |
search()
Searches organization resources that are visible to the user and satisfy the specified filter.
|
CloudResourceManager.Organizations.SetIamPolicy |
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the access control policy on an organization resource.
|
CloudResourceManager.Organizations.TestIamPermissions |
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Returns the permissions that a caller has on the specified organization.
|
public CloudResourceManager.Organizations.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. 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".IOException
public 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 GetIamPolicyRequest
IOException
public CloudResourceManager.Organizations.Search search() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.IOException
public 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 SetIamPolicyRequest
IOException
public 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 TestIamPermissionsRequest
IOException
Copyright © 2011–2024 Google. All rights reserved.