Interface SecretOrBuilder (0.57.0)

public interface SecretOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCipherText()

public abstract String getCipherText()

The value of the cipherText response from the encrypt method. This field is intentionally unaudited.

string cipher_text = 2;

Returns
Type Description
String

The cipherText.

getCipherTextBytes()

public abstract ByteString getCipherTextBytes()

The value of the cipherText response from the encrypt method. This field is intentionally unaudited.

string cipher_text = 2;

Returns
Type Description
ByteString

The bytes for cipherText.

getKeyName()

public abstract String getKeyName()

The name of the Cloud KMS key that will be used to decrypt the secret value. The VM service account must have the required permissions and authentication scopes to invoke the decrypt method on the specified key.

string key_name = 1;

Returns
Type Description
String

The keyName.

getKeyNameBytes()

public abstract ByteString getKeyNameBytes()

The name of the Cloud KMS key that will be used to decrypt the secret value. The VM service account must have the required permissions and authentication scopes to invoke the decrypt method on the specified key.

string key_name = 1;

Returns
Type Description
ByteString

The bytes for keyName.