public class CloudKMS.Projects.Locations.KeyRings extends 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.ImportJobs
The "importJobs" collection of methods.
|
class |
CloudKMS.Projects.Locations.KeyRings.List |
class |
CloudKMS.Projects.Locations.KeyRings.SetIamPolicy |
class |
CloudKMS.Projects.Locations.KeyRings.TestIamPermissions |
| Constructor and Description |
|---|
KeyRings() |
| Modifier and Type | Method and Description |
|---|---|
CloudKMS.Projects.Locations.KeyRings.Create |
create(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(String name)
Returns metadata for a given KeyRing.
|
CloudKMS.Projects.Locations.KeyRings.GetIamPolicy |
getIamPolicy(String resource)
Gets the access control policy for a resource.
|
CloudKMS.Projects.Locations.KeyRings.ImportJobs |
importJobs()
An accessor for creating requests from the ImportJobs collection.
|
CloudKMS.Projects.Locations.KeyRings.List |
list(String parent)
Lists KeyRings.
|
CloudKMS.Projects.Locations.KeyRings.SetIamPolicy |
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the access control policy on the specified resource.
|
CloudKMS.Projects.Locations.KeyRings.TestIamPermissions |
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public CloudKMS.Projects.Locations.KeyRings.Create create(String parent, KeyRing content) throws 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 KeyRingIOExceptionpublic CloudKMS.Projects.Locations.KeyRings.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the KeyRing to get.IOExceptionpublic CloudKMS.Projects.Locations.KeyRings.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.KeyRings.List list(String parent) throws 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`.IOExceptionpublic CloudKMS.Projects.Locations.KeyRings.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.KeyRings.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 CloudKMS.Projects.Locations.KeyRings.CryptoKeys cryptoKeys()
The typical use is:
CloudKMS cloudkms = new CloudKMS(...);CloudKMS.CryptoKeys.List request = cloudkms.cryptoKeys().list(parameters ...)
public CloudKMS.Projects.Locations.KeyRings.ImportJobs importJobs()
The typical use is:
CloudKMS cloudkms = new CloudKMS(...);CloudKMS.ImportJobs.List request = cloudkms.importJobs().list(parameters ...)
Copyright © 2011–2022 Google. All rights reserved.