Reference documentation and code samples for the Google Cloud Dataproc Metastore V1beta Client class EncryptionConfig.
Encryption settings for the service.
Generated from protobuf message google.cloud.metastore.v1beta.EncryptionConfig
Namespace
Google \ Cloud \ Metastore \ V1beta
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ kms_key
string
The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form: projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}.
getKmsKey
The fully qualified customer provided Cloud KMS key name to use for
customer data encryption, in the following form:
projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}.
Returns
Type
Description
string
setKmsKey
The fully qualified customer provided Cloud KMS key name to use for
customer data encryption, in the following form:
projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataproc Metastore V1beta Client - Class EncryptionConfig (1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/php/docs/reference/cloud-dataproc-metastore/latest/V1beta.EncryptionConfig)\n- [1.1.0](/php/docs/reference/cloud-dataproc-metastore/1.1.0/V1beta.EncryptionConfig)\n- [1.0.4](/php/docs/reference/cloud-dataproc-metastore/1.0.4/V1beta.EncryptionConfig)\n- [0.11.5](/php/docs/reference/cloud-dataproc-metastore/0.11.5/V1beta.EncryptionConfig)\n- [0.10.2](/php/docs/reference/cloud-dataproc-metastore/0.10.2/V1beta.EncryptionConfig)\n- [0.9.0](/php/docs/reference/cloud-dataproc-metastore/0.9.0/V1beta.EncryptionConfig)\n- [0.8.1](/php/docs/reference/cloud-dataproc-metastore/0.8.1/V1beta.EncryptionConfig)\n- [0.7.0](/php/docs/reference/cloud-dataproc-metastore/0.7.0/V1beta.EncryptionConfig)\n- [0.6.1](/php/docs/reference/cloud-dataproc-metastore/0.6.1/V1beta.EncryptionConfig)\n- [0.5.1](/php/docs/reference/cloud-dataproc-metastore/0.5.1/V1beta.EncryptionConfig)\n- [0.4.1](/php/docs/reference/cloud-dataproc-metastore/0.4.1/V1beta.EncryptionConfig) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Dataproc Metastore V1beta Client class EncryptionConfig.\n\nEncryption settings for the service.\n\nGenerated from protobuf message `google.cloud.metastore.v1beta.EncryptionConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Metastore \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getKmsKey\n\nThe fully qualified customer provided Cloud KMS key name to use for\ncustomer data encryption, in the following form:\n`projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}`.\n\n### setKmsKey\n\nThe fully qualified customer provided Cloud KMS key name to use for\ncustomer data encryption, in the following form:\n`projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}`."]]