Class EncryptionInfo (2.14.0)

public final class EncryptionInfo

Encryption information for a given resource.

If this resource is protected with customer managed encryption, the in-use Google Cloud Key Management Service (KMS) key versions will be specified along with their status.

Inheritance

Object > EncryptionInfo

Static Methods

fromProto(EncryptionInfo proto)

public static EncryptionInfo fromProto(EncryptionInfo proto)
Parameter
NameDescription
protoEncryptionInfo
Returns
TypeDescription
EncryptionInfo

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getKmsKeyVersion()

public String getKmsKeyVersion()
Returns
TypeDescription
String

getStatus()

public Status getStatus()
Returns
TypeDescription
Status

getType()

public EncryptionInfo.Type getType()
Returns
TypeDescription
EncryptionInfo.Type

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides