public class CloudKMS.Projects.Locations.KeyRings
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudKMS.Projects.Locations.KeyRings.Create |
class |
CloudKMS.Projects.Locations.KeyRings.CryptoKeys
The "cryptoKeys" collection of methods.
|
class |
CloudKMS.Projects.Locations.KeyRings.Get |
class |
CloudKMS.Projects.Locations.KeyRings.GetIamPolicy |
class |
CloudKMS.Projects.Locations.KeyRings.List |
class |
CloudKMS.Projects.Locations.KeyRings.SetIamPolicy |
class |
CloudKMS.Projects.Locations.KeyRings.TestIamPermissions |
| Constructor and Description |
|---|
CloudKMS.Projects.Locations.KeyRings() |
| Modifier and Type | Method and Description |
|---|---|
CloudKMS.Projects.Locations.KeyRings.Create |
create(java.lang.String parent,
KeyRing content)
Create a new KeyRing in a given Project and Location.
|
CloudKMS.Projects.Locations.KeyRings.CryptoKeys |
cryptoKeys()
An accessor for creating requests from the CryptoKeys collection.
|
CloudKMS.Projects.Locations.KeyRings.Get |
get(java.lang.String name)
Returns metadata for a given KeyRing.
|
CloudKMS.Projects.Locations.KeyRings.GetIamPolicy |
getIamPolicy(java.lang.String resource)
Gets the access control policy for a resource.
|
CloudKMS.Projects.Locations.KeyRings.List |
list(java.lang.String parent)
Lists KeyRings.
|
CloudKMS.Projects.Locations.KeyRings.SetIamPolicy |
setIamPolicy(java.lang.String resource,
SetIamPolicyRequest content)
Sets the access control policy on the specified resource.
|
CloudKMS.Projects.Locations.KeyRings.TestIamPermissions |
testIamPermissions(java.lang.String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public CloudKMS.Projects.Locations.KeyRings()
public CloudKMS.Projects.Locations.KeyRings.Create create(java.lang.String parent, KeyRing content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The resource name of the location associated with the
KeyRings, in the format
`projects/locations`.content - the KeyRingjava.io.IOExceptionpublic CloudKMS.Projects.Locations.KeyRings.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the KeyRing to get.java.io.IOExceptionpublic CloudKMS.Projects.Locations.KeyRings.GetIamPolicy getIamPolicy(java.lang.String resource) 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.java.io.IOExceptionpublic CloudKMS.Projects.Locations.KeyRings.List list(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The resource name of the location associated with the
KeyRings, in the format
`projects/locations`.java.io.IOExceptionpublic CloudKMS.Projects.Locations.KeyRings.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 CloudKMS.Projects.Locations.KeyRings.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.IOExceptionpublic CloudKMS.Projects.Locations.KeyRings.CryptoKeys cryptoKeys()
The typical use is:
CloudKMS cloudkms = new CloudKMS(...);CloudKMS.CryptoKeys.List request = cloudkms.cryptoKeys().list(parameters ...)