Package com.google.genai.types
Class EncryptionSpec.Builder
java.lang.Object
com.google.genai.types.EncryptionSpec.Builder
- Enclosing class:
- EncryptionSpec
Builder for EncryptionSpec.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract EncryptionSpec
build()
abstract EncryptionSpec.Builder
kmsKeyName
(String kmsKeyName) Setter for kmsKeyName.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyName
Setter for kmsKeyName.kmsKeyName: Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. The key needs to be in the same region as where the compute resource is created.
-
build
-