Interface CryptoKeyConfigOrBuilder (1.58.0)

publicinterface CryptoKeyConfigOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getKeyReference()

publicabstractStringgetKeyReference()

The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of projects/*/locations/*/keyRings/*/cryptoKeys/*.

string key_reference = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The keyReference.

getKeyReferenceBytes()

publicabstractByteStringgetKeyReferenceBytes()

The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of projects/*/locations/*/keyRings/*/cryptoKeys/*.

string key_reference = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for keyReference.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.