Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,15 @@
* <pre>
* <code>
* try (KeyManagementServiceClient keyManagementServiceClient = KeyManagementServiceClient.create()) {
* KeyRingName name = KeyRingName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]");
* KeyRing response = keyManagementServiceClient.getKeyRing(name);
* KeyRingName parent = KeyRingName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]");
* String importJobId = "my-import-job";
* ImportJob.ImportMethod importMethod = ImportJob.ImportMethod.RSA_OAEP_3072_SHA1_AES_256;
* ProtectionLevel protectionLevel = ProtectionLevel.HSM;
* ImportJob importJob = ImportJob.newBuilder()
* .setImportMethod(importMethod)
* .setProtectionLevel(protectionLevel)
* .build();
* ImportJob response = keyManagementServiceClient.createImportJob(parent, importJobId, importJob);
* }
* </code>
* </pre>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -76,21 +76,33 @@
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public abstract class KeyManagementServiceStub implements BackgroundResource {

public UnaryCallable<ListKeyRingsRequest, ListKeyRingsPagedResponse> listKeyRingsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listKeyRingsPagedCallable()");
public UnaryCallable<CreateImportJobRequest, ImportJob> createImportJobCallable() {
throw new UnsupportedOperationException("Not implemented: createImportJobCallable()");
}

public UnaryCallable<ListKeyRingsRequest, ListKeyRingsResponse> listKeyRingsCallable() {
throw new UnsupportedOperationException("Not implemented: listKeyRingsCallable()");
public UnaryCallable<CreateCryptoKeyRequest, CryptoKey> createCryptoKeyCallable() {
throw new UnsupportedOperationException("Not implemented: createCryptoKeyCallable()");
}

public UnaryCallable<ListImportJobsRequest, ListImportJobsPagedResponse>
listImportJobsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listImportJobsPagedCallable()");
public UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()");
}

public UnaryCallable<ListImportJobsRequest, ListImportJobsResponse> listImportJobsCallable() {
throw new UnsupportedOperationException("Not implemented: listImportJobsCallable()");
public UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()");
}

public UnaryCallable<TestIamPermissionsRequest, TestIamPermissionsResponse>
testIamPermissionsCallable() {
throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()");
}

public UnaryCallable<ListKeyRingsRequest, ListKeyRingsPagedResponse> listKeyRingsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listKeyRingsPagedCallable()");
}

public UnaryCallable<ListKeyRingsRequest, ListKeyRingsResponse> listKeyRingsCallable() {
throw new UnsupportedOperationException("Not implemented: listKeyRingsCallable()");
}

public UnaryCallable<ListCryptoKeysRequest, ListCryptoKeysPagedResponse>
Expand All @@ -113,12 +125,17 @@ public UnaryCallable<ListCryptoKeysRequest, ListCryptoKeysResponse> listCryptoKe
throw new UnsupportedOperationException("Not implemented: listCryptoKeyVersionsCallable()");
}

public UnaryCallable<GetKeyRingRequest, KeyRing> getKeyRingCallable() {
throw new UnsupportedOperationException("Not implemented: getKeyRingCallable()");
public UnaryCallable<ListImportJobsRequest, ListImportJobsPagedResponse>
listImportJobsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listImportJobsPagedCallable()");
}

public UnaryCallable<GetImportJobRequest, ImportJob> getImportJobCallable() {
throw new UnsupportedOperationException("Not implemented: getImportJobCallable()");
public UnaryCallable<ListImportJobsRequest, ListImportJobsResponse> listImportJobsCallable() {
throw new UnsupportedOperationException("Not implemented: listImportJobsCallable()");
}

public UnaryCallable<GetKeyRingRequest, KeyRing> getKeyRingCallable() {
throw new UnsupportedOperationException("Not implemented: getKeyRingCallable()");
}

public UnaryCallable<GetCryptoKeyRequest, CryptoKey> getCryptoKeyCallable() {
Expand All @@ -129,16 +146,16 @@ public UnaryCallable<GetCryptoKeyVersionRequest, CryptoKeyVersion> getCryptoKeyV
throw new UnsupportedOperationException("Not implemented: getCryptoKeyVersionCallable()");
}

public UnaryCallable<CreateKeyRingRequest, KeyRing> createKeyRingCallable() {
throw new UnsupportedOperationException("Not implemented: createKeyRingCallable()");
public UnaryCallable<GetPublicKeyRequest, PublicKey> getPublicKeyCallable() {
throw new UnsupportedOperationException("Not implemented: getPublicKeyCallable()");
}

public UnaryCallable<CreateImportJobRequest, ImportJob> createImportJobCallable() {
throw new UnsupportedOperationException("Not implemented: createImportJobCallable()");
public UnaryCallable<GetImportJobRequest, ImportJob> getImportJobCallable() {
throw new UnsupportedOperationException("Not implemented: getImportJobCallable()");
}

public UnaryCallable<CreateCryptoKeyRequest, CryptoKey> createCryptoKeyCallable() {
throw new UnsupportedOperationException("Not implemented: createCryptoKeyCallable()");
public UnaryCallable<CreateKeyRingRequest, KeyRing> createKeyRingCallable() {
throw new UnsupportedOperationException("Not implemented: createKeyRingCallable()");
}

public UnaryCallable<CreateCryptoKeyVersionRequest, CryptoKeyVersion>
Expand Down Expand Up @@ -168,6 +185,15 @@ public UnaryCallable<DecryptRequest, DecryptResponse> decryptCallable() {
throw new UnsupportedOperationException("Not implemented: decryptCallable()");
}

public UnaryCallable<AsymmetricSignRequest, AsymmetricSignResponse> asymmetricSignCallable() {
throw new UnsupportedOperationException("Not implemented: asymmetricSignCallable()");
}

public UnaryCallable<AsymmetricDecryptRequest, AsymmetricDecryptResponse>
asymmetricDecryptCallable() {
throw new UnsupportedOperationException("Not implemented: asymmetricDecryptCallable()");
}

public UnaryCallable<UpdateCryptoKeyPrimaryVersionRequest, CryptoKey>
updateCryptoKeyPrimaryVersionCallable() {
throw new UnsupportedOperationException(
Expand All @@ -184,32 +210,6 @@ public UnaryCallable<DecryptRequest, DecryptResponse> decryptCallable() {
throw new UnsupportedOperationException("Not implemented: restoreCryptoKeyVersionCallable()");
}

public UnaryCallable<GetPublicKeyRequest, PublicKey> getPublicKeyCallable() {
throw new UnsupportedOperationException("Not implemented: getPublicKeyCallable()");
}

public UnaryCallable<AsymmetricDecryptRequest, AsymmetricDecryptResponse>
asymmetricDecryptCallable() {
throw new UnsupportedOperationException("Not implemented: asymmetricDecryptCallable()");
}

public UnaryCallable<AsymmetricSignRequest, AsymmetricSignResponse> asymmetricSignCallable() {
throw new UnsupportedOperationException("Not implemented: asymmetricSignCallable()");
}

public UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()");
}

public UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()");
}

public UnaryCallable<TestIamPermissionsRequest, TestIamPermissionsResponse>
testIamPermissionsCallable() {
throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()");
}

@Override
public abstract void close();
}
Loading