Search in sources :

Example 1 with ImportJobName

use of com.google.cloud.kms.v1.ImportJobName in project gapic-generator-java by googleapis.

the class SyncGetImportJobImportjobname method syncGetImportJobImportjobname.

public static void syncGetImportJobImportjobname() throws Exception {
    // It may require modifications to work in your environment.
    try (KeyManagementServiceClient keyManagementServiceClient = KeyManagementServiceClient.create()) {
        ImportJobName name = ImportJobName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[IMPORT_JOB]");
        ImportJob response = keyManagementServiceClient.getImportJob(name);
    }
}
Also used : ImportJobName(com.google.cloud.kms.v1.ImportJobName) ImportJob(com.google.cloud.kms.v1.ImportJob) KeyManagementServiceClient(com.google.cloud.kms.v1.KeyManagementServiceClient)

Aggregations

ImportJob (com.google.cloud.kms.v1.ImportJob)1 ImportJobName (com.google.cloud.kms.v1.ImportJobName)1 KeyManagementServiceClient (com.google.cloud.kms.v1.KeyManagementServiceClient)1