public class AccessContextManager.AccessPolicies extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
AccessContextManager.AccessPolicies.AccessLevels
The "accessLevels" collection of methods.
|
class |
AccessContextManager.AccessPolicies.AuthorizedOrgsDescs
The "authorizedOrgsDescs" collection of methods.
|
class |
AccessContextManager.AccessPolicies.Create |
class |
AccessContextManager.AccessPolicies.Delete |
class |
AccessContextManager.AccessPolicies.Get |
class |
AccessContextManager.AccessPolicies.GetIamPolicy |
class |
AccessContextManager.AccessPolicies.List |
class |
AccessContextManager.AccessPolicies.Patch |
class |
AccessContextManager.AccessPolicies.ServicePerimeters
The "servicePerimeters" collection of methods.
|
class |
AccessContextManager.AccessPolicies.SetIamPolicy |
class |
AccessContextManager.AccessPolicies.TestIamPermissions |
| Constructor and Description |
|---|
AccessPolicies() |
| Modifier and Type | Method and Description |
|---|---|
AccessContextManager.AccessPolicies.AccessLevels |
accessLevels()
An accessor for creating requests from the AccessLevels collection.
|
AccessContextManager.AccessPolicies.AuthorizedOrgsDescs |
authorizedOrgsDescs()
An accessor for creating requests from the AuthorizedOrgsDescs collection.
|
AccessContextManager.AccessPolicies.Create |
create(AccessPolicy content)
Creates an access policy.
|
AccessContextManager.AccessPolicies.Delete |
delete(String name)
Deletes an access policy based on the resource name.
|
AccessContextManager.AccessPolicies.Get |
get(String name)
Returns an access policy based on the name.
|
AccessContextManager.AccessPolicies.GetIamPolicy |
getIamPolicy(String resource,
GetIamPolicyRequest content)
Gets the IAM policy for the specified Access Context Manager access policy.
|
AccessContextManager.AccessPolicies.List |
list()
Lists all access policies in an organization.
|
AccessContextManager.AccessPolicies.Patch |
patch(String name,
AccessPolicy content)
Updates an access policy.
|
AccessContextManager.AccessPolicies.ServicePerimeters |
servicePerimeters()
An accessor for creating requests from the ServicePerimeters collection.
|
AccessContextManager.AccessPolicies.SetIamPolicy |
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the IAM policy for the specified Access Context Manager access policy.
|
AccessContextManager.AccessPolicies.TestIamPermissions |
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Returns the IAM permissions that the caller has on the specified Access Context Manager resource.
|
public AccessContextManager.AccessPolicies.Create create(AccessPolicy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the AccessPolicyIOExceptionpublic AccessContextManager.AccessPolicies.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name for the access policy to delete. Format `accessPolicies/{policy_id}`IOExceptionpublic AccessContextManager.AccessPolicies.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name for the access policy to get. Format `accessPolicies/{policy_id}`IOExceptionpublic AccessContextManager.AccessPolicies.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 AccessContextManager.AccessPolicies.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic AccessContextManager.AccessPolicies.Patch patch(String name, AccessPolicy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`content - the AccessPolicyIOExceptionpublic AccessContextManager.AccessPolicies.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 AccessContextManager.AccessPolicies.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 TestIamPermissionsRequestIOExceptionpublic AccessContextManager.AccessPolicies.AccessLevels accessLevels()
The typical use is:
AccessContextManager accesscontextmanager = new AccessContextManager(...);AccessContextManager.AccessLevels.List request = accesscontextmanager.accessLevels().list(parameters ...)
public AccessContextManager.AccessPolicies.AuthorizedOrgsDescs authorizedOrgsDescs()
The typical use is:
AccessContextManager accesscontextmanager = new AccessContextManager(...);AccessContextManager.AuthorizedOrgsDescs.List request = accesscontextmanager.authorizedOrgsDescs().list(parameters ...)
public AccessContextManager.AccessPolicies.ServicePerimeters servicePerimeters()
The typical use is:
AccessContextManager accesscontextmanager = new AccessContextManager(...);AccessContextManager.ServicePerimeters.List request = accesscontextmanager.servicePerimeters().list(parameters ...)
Copyright © 2011–2024 Google. All rights reserved.