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.html Maven / Gradle / Ivy

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






CloudKMS.Projects.Locations (Cloud Key Management Service (KMS) API v1-rev20240801-2.0.0)












com.google.api.services.cloudkms.v1

Class CloudKMS.Projects.Locations

  • java.lang.Object
    • com.google.api.services.cloudkms.v1.CloudKMS.Projects.Locations
  • Enclosing class:
    CloudKMS.Projects


    public class CloudKMS.Projects.Locations
    extends Object
    The "locations" collection of methods.
    • Constructor Detail

      • Locations

        public Locations()
    • Method Detail

      • generateRandomBytes

        public CloudKMS.Projects.Locations.GenerateRandomBytes generateRandomBytes(String location,
                                                                                   GenerateRandomBytesRequest content)
                                                                            throws IOException
        Generate random bytes using the Cloud KMS randomness source in the provided location. Create a request for the method "locations.generateRandomBytes". 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:
        location - The project-specific location in which to generate random bytes. For example, "projects/my- project/locations/us-central1".
        content - the GenerateRandomBytesRequest
        Returns:
        the request
        Throws:
        IOException
      • get

        public CloudKMS.Projects.Locations.Get get(String name)
                                            throws IOException
        Gets information about a location. Create a request for the method "locations.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 - Resource name for the location.
        Returns:
        the request
        Throws:
        IOException
      • getEkmConfig

        public CloudKMS.Projects.Locations.GetEkmConfig getEkmConfig(String name)
                                                              throws IOException
        Returns the EkmConfig singleton resource for a given project and location. Create a request for the method "locations.getEkmConfig". 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. The name of the EkmConfig to get.
        Returns:
        the request
        Throws:
        IOException
      • list

        public CloudKMS.Projects.Locations.List list(String name)
                                              throws IOException
        Lists information about the supported locations for this service. Create a request for the method "locations.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:
        name - The resource that owns the locations collection, if applicable.
        Returns:
        the request
        Throws:
        IOException
      • updateEkmConfig

        public CloudKMS.Projects.Locations.UpdateEkmConfig updateEkmConfig(String name,
                                                                           EkmConfig content)
                                                                    throws IOException
        Updates the EkmConfig singleton resource for a given project and location. Create a request for the method "locations.updateEkmConfig". 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 - Output only. The resource name for the EkmConfig in the format `projects/locations/ekmConfig`.
        content - the EkmConfig
        Returns:
        the request
        Throws:
        IOException
      • ekmConfig

        public CloudKMS.Projects.Locations.EkmConfig ekmConfig()
        An accessor for creating requests from the EkmConfig collection.

        The typical use is:

            CloudKMS cloudkms = new CloudKMS(...);
            CloudKMS.EkmConfig.List request = cloudkms.ekmConfig().list(parameters ...)
         
        Returns:
        the resource collection
      • ekmConnections

        public CloudKMS.Projects.Locations.EkmConnections ekmConnections()
        An accessor for creating requests from the EkmConnections collection.

        The typical use is:

            CloudKMS cloudkms = new CloudKMS(...);
            CloudKMS.EkmConnections.List request = cloudkms.ekmConnections().list(parameters ...)
         
        Returns:
        the resource collection
      • keyHandles

        public CloudKMS.Projects.Locations.KeyHandles keyHandles()
        An accessor for creating requests from the KeyHandles collection.

        The typical use is:

            CloudKMS cloudkms = new CloudKMS(...);
            CloudKMS.KeyHandles.List request = cloudkms.keyHandles().list(parameters ...)
         
        Returns:
        the resource collection
      • keyRings

        public CloudKMS.Projects.Locations.KeyRings keyRings()
        An accessor for creating requests from the KeyRings collection.

        The typical use is:

            CloudKMS cloudkms = new CloudKMS(...);
            CloudKMS.KeyRings.List request = cloudkms.keyRings().list(parameters ...)
         
        Returns:
        the resource collection
      • operations

        public CloudKMS.Projects.Locations.Operations operations()
        An accessor for creating requests from the Operations collection.

        The typical use is:

            CloudKMS cloudkms = new CloudKMS(...);
            CloudKMS.Operations.List request = cloudkms.operations().list(parameters ...)
         
        Returns:
        the resource collection

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy