Interface WorkstationConfig.CustomerEncryptionKeyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkstationConfig.CustomerEncryptionKey
,WorkstationConfig.CustomerEncryptionKey.Builder
- Enclosing class:
- WorkstationConfig
public static interface WorkstationConfig.CustomerEncryptionKeyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getKmsKey()
Immutable.com.google.protobuf.ByteString
getKmsKeyBytes()
Immutable.String
getKmsKeyServiceAccount()
Immutable.com.google.protobuf.ByteString
getKmsKeyServiceAccountBytes()
Immutable.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKmsKey
String getKmsKey()
Immutable. The name of the Google Cloud KMS encryption key. For example, `"projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME"`. The key must be in the same region as the workstation configuration.
string kms_key = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The kmsKey.
-
getKmsKeyBytes
com.google.protobuf.ByteString getKmsKeyBytes()
Immutable. The name of the Google Cloud KMS encryption key. For example, `"projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME"`. The key must be in the same region as the workstation configuration.
string kms_key = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The bytes for kmsKey.
-
getKmsKeyServiceAccount
String getKmsKeyServiceAccount()
Immutable. The service account to use with the specified KMS key. We recommend that you use a separate service account and follow KMS best practices. For more information, see [Separation of duties](https://cloud.google.com/kms/docs/separation-of-duties) and `gcloud kms keys add-iam-policy-binding` [`--member`](https://cloud.google.com/sdk/gcloud/reference/kms/keys/add-iam-policy-binding#--member).
string kms_key_service_account = 2 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The kmsKeyServiceAccount.
-
getKmsKeyServiceAccountBytes
com.google.protobuf.ByteString getKmsKeyServiceAccountBytes()
Immutable. The service account to use with the specified KMS key. We recommend that you use a separate service account and follow KMS best practices. For more information, see [Separation of duties](https://cloud.google.com/kms/docs/separation-of-duties) and `gcloud kms keys add-iam-policy-binding` [`--member`](https://cloud.google.com/sdk/gcloud/reference/kms/keys/add-iam-policy-binding#--member).
string kms_key_service_account = 2 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The bytes for kmsKeyServiceAccount.
-
-