All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.cloudkms.v1.CloudKMS.Projects.Locations.KeyHandles.html Maven / Gradle / Ivy

There is a newer version: v1-rev20241111-2.0.0
Show newest version






<span class="http"><span class="http"><span class="scala"><span class="hljs-type">CloudKMS</span>.<span class="hljs-type">Projects</span>.<span class="hljs-type">Locations</span>.<span class="hljs-type">KeyHandles</span> (<span class="hljs-type">Cloud</span> <span class="hljs-type">Key</span> <span class="hljs-type">Management</span> <span class="hljs-type">Service</span> (<span class="hljs-type">KMS</span>) <span class="hljs-type">API</span> v1-rev20240801<span class="hljs-number">-2.0</span><span class="hljs-number">.0</span>)</span></span></span>












com.google.api.services.cloudkms.v1

Class CloudKMS.Projects.Locations.KeyHandles

  • java.lang.Object
    • com.google.api.services.cloudkms.v1.CloudKMS.Projects.Locations.KeyHandles
    • Constructor Detail

      • KeyHandles

        public KeyHandles()
    • Method Detail

      • create

        public CloudKMS.Projects.Locations.KeyHandles.Create create(String parent,
                                                                    KeyHandle content)
                                                             throws IOException
        Creates a new KeyHandle, triggering the provisioning of a new CryptoKey for CMEK use with the given resource type in the configured key project and the same location. GetOperation should be used to resolve the resulting long-running operation and get the resulting KeyHandle and CryptoKey. Create a request for the method "keyHandles.create". This request holds the parameters needed by the cloudkms server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. Name of the resource project and location to create the KeyHandle in, e.g. `projects/{PROJECT_ID}/locations/{LOCATION}`.
        content - the KeyHandle
        Returns:
        the request
        Throws:
        IOException
      • get

        public CloudKMS.Projects.Locations.KeyHandles.Get get(String name)
                                                       throws IOException
        Returns the KeyHandle. Create a request for the method "keyHandles.get". This request holds the parameters needed by the cloudkms server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. Name of the KeyHandle resource, e.g. `projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}`.
        Returns:
        the request
        Throws:
        IOException
      • list

        public CloudKMS.Projects.Locations.KeyHandles.List list(String parent)
                                                         throws IOException
        Lists KeyHandles. Create a request for the method "keyHandles.list". This request holds the parameters needed by the cloudkms server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. Name of the resource project and location from which to list KeyHandles, e.g. `projects/{PROJECT_ID}/locations/{LOCATION}`.
        Returns:
        the request
        Throws:
        IOException

Copyright © 20112024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy