@Generated(value="by GAPIC") @BetaApi public final class CustomerEncryptionKey extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
CustomerEncryptionKey.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
static CustomerEncryptionKey |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getKmsKeyName()
The name of the encryption key that is stored in Google Cloud KMS.
|
String |
getRawKey()
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either
encrypt or decrypt this resource.
|
String |
getSha256()
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key
that protects this resource.
|
int |
hashCode() |
static CustomerEncryptionKey.Builder |
newBuilder() |
static CustomerEncryptionKey.Builder |
newBuilder(CustomerEncryptionKey prototype) |
CustomerEncryptionKey.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public String getKmsKeyName()
public String getRawKey()
public String getSha256()
public static CustomerEncryptionKey.Builder newBuilder()
public static CustomerEncryptionKey.Builder newBuilder(CustomerEncryptionKey prototype)
public CustomerEncryptionKey.Builder toBuilder()
public static CustomerEncryptionKey getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.