public class CloudKMS.Projects.Locations.EkmConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudKMS.Projects.Locations.EkmConfig.GetIamPolicy |
class |
CloudKMS.Projects.Locations.EkmConfig.SetIamPolicy |
class |
CloudKMS.Projects.Locations.EkmConfig.TestIamPermissions |
| Constructor and Description |
|---|
EkmConfig() |
| Modifier and Type | Method and Description |
|---|---|
CloudKMS.Projects.Locations.EkmConfig.GetIamPolicy |
getIamPolicy(String resource)
Gets the access control policy for a resource.
|
CloudKMS.Projects.Locations.EkmConfig.SetIamPolicy |
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the access control policy on the specified resource.
|
CloudKMS.Projects.Locations.EkmConfig.TestIamPermissions |
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public CloudKMS.Projects.Locations.EkmConfig.GetIamPolicy getIamPolicy(String resource) 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.IOExceptionpublic CloudKMS.Projects.Locations.EkmConfig.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 CloudKMS.Projects.Locations.EkmConfig.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–2022 Google. All rights reserved.