Note: CMEK for the Log Router can currently only be configured for Google
Cloud organizations. Once configured, it applies to all projects and
folders in the Google Cloud organization.
#name=
defname=(value)->::String
Parameter
value (::String) — Required. The resource name for the CMEK settings to update.
Note: CMEK for the Log Router can currently only be configured for Google
Cloud organizations. Once configured, it applies to all projects and
folders in the Google Cloud organization.
Returns
(::String) — Required. The resource name for the CMEK settings to update.
Note: CMEK for the Log Router can currently only be configured for Google
Cloud organizations. Once configured, it applies to all projects and
folders in the Google Cloud organization.
#update_mask
defupdate_mask()->::Google::Protobuf::FieldMask
Returns
(::Google::Protobuf::FieldMask) — Optional. Field mask identifying which fields from cmek_settings should
be updated. A field will be overwritten if and only if it is in the update
mask. Output only fields cannot be updated.
value (::Google::Protobuf::FieldMask) — Optional. Field mask identifying which fields from cmek_settings should
be updated. A field will be overwritten if and only if it is in the update
mask. Output only fields cannot be updated.
(::Google::Protobuf::FieldMask) — Optional. Field mask identifying which fields from cmek_settings should
be updated. A field will be overwritten if and only if it is in the update
mask. Output only fields cannot be updated.
[[["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-08-28 UTC."],[],[],null,["# Cloud Logging V2 API - Class Google::Cloud::Logging::V2::UpdateCmekSettingsRequest (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Cloud-Logging-V2-UpdateCmekSettingsRequest)\n- [1.2.1](/ruby/docs/reference/google-cloud-logging-v2/1.2.1/Google-Cloud-Logging-V2-UpdateCmekSettingsRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-logging-v2/1.1.0/Google-Cloud-Logging-V2-UpdateCmekSettingsRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-logging-v2/1.0.1/Google-Cloud-Logging-V2-UpdateCmekSettingsRequest)\n- [0.13.0](/ruby/docs/reference/google-cloud-logging-v2/0.13.0/Google-Cloud-Logging-V2-UpdateCmekSettingsRequest)\n- [0.12.2](/ruby/docs/reference/google-cloud-logging-v2/0.12.2/Google-Cloud-Logging-V2-UpdateCmekSettingsRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-logging-v2/0.11.0/Google-Cloud-Logging-V2-UpdateCmekSettingsRequest)\n- [0.10.1](/ruby/docs/reference/google-cloud-logging-v2/0.10.1/Google-Cloud-Logging-V2-UpdateCmekSettingsRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-logging-v2/0.9.0/Google-Cloud-Logging-V2-UpdateCmekSettingsRequest)\n- [0.8.1](/ruby/docs/reference/google-cloud-logging-v2/0.8.1/Google-Cloud-Logging-V2-UpdateCmekSettingsRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-logging-v2/0.7.0/Google-Cloud-Logging-V2-UpdateCmekSettingsRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-logging-v2/0.6.0/Google-Cloud-Logging-V2-UpdateCmekSettingsRequest)\n- [0.5.6](/ruby/docs/reference/google-cloud-logging-v2/0.5.6/Google-Cloud-Logging-V2-UpdateCmekSettingsRequest) \nReference documentation and code samples for the Cloud Logging V2 API class Google::Cloud::Logging::V2::UpdateCmekSettingsRequest.\n\nThe parameters to\n[UpdateCmekSettings](/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Cloud-Logging-V2-ConfigService-Client#Google__Cloud__Logging__V2__ConfigService__Client_update_cmek_settings_instance_ \"Google::Cloud::Logging::V2::ConfigService::Client#update_cmek_settings (method)\").\n\n\n\u003cbr /\u003e\n\nSee [Enabling CMEK for Log\nRouter](https://cloud.google.com/logging/docs/routing/managed-encryption) for\nmore information. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #cmek_settings\n\n def cmek_settings() -\u003e ::Google::Cloud::Logging::V2::CmekSettings\n\n**Returns**\n\n- ([::Google::Cloud::Logging::V2::CmekSettings](./Google-Cloud-Logging-V2-CmekSettings)) --- Required. The CMEK settings to update.\n\n\n See [Enabling CMEK for Log\n Router](https://cloud.google.com/logging/docs/routing/managed-encryption)\n for more information.\n\n### #cmek_settings=\n\n def cmek_settings=(value) -\u003e ::Google::Cloud::Logging::V2::CmekSettings\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Logging::V2::CmekSettings](./Google-Cloud-Logging-V2-CmekSettings)) --- Required. The CMEK settings to update.\n\n\n See [Enabling CMEK for Log\n Router](https://cloud.google.com/logging/docs/routing/managed-encryption)\nfor more information. \n**Returns**\n\n- ([::Google::Cloud::Logging::V2::CmekSettings](./Google-Cloud-Logging-V2-CmekSettings)) --- Required. The CMEK settings to update.\n\n\n See [Enabling CMEK for Log\n Router](https://cloud.google.com/logging/docs/routing/managed-encryption)\n for more information.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The resource name for the CMEK settings to update.\n\n \"projects/[PROJECT_ID]/cmekSettings\"\n \"organizations/[ORGANIZATION_ID]/cmekSettings\"\n \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\"\n \"folders/[FOLDER_ID]/cmekSettings\"\n\n For example:\n\n `\"organizations/12345/cmekSettings\"`\n\n Note: CMEK for the Log Router can currently only be configured for Google\n Cloud organizations. Once configured, it applies to all projects and\n folders in the Google Cloud organization.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The resource name for the CMEK settings to update.\n\n\n \"projects/[PROJECT_ID]/cmekSettings\"\n \"organizations/[ORGANIZATION_ID]/cmekSettings\"\n \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\"\n \"folders/[FOLDER_ID]/cmekSettings\"\n\n For example:\n\n `\"organizations/12345/cmekSettings\"`\n\n Note: CMEK for the Log Router can currently only be configured for Google\n Cloud organizations. Once configured, it applies to all projects and\nfolders in the Google Cloud organization. \n**Returns**\n\n- (::String) --- Required. The resource name for the CMEK settings to update.\n\n \"projects/[PROJECT_ID]/cmekSettings\"\n \"organizations/[ORGANIZATION_ID]/cmekSettings\"\n \"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings\"\n \"folders/[FOLDER_ID]/cmekSettings\"\n\n For example:\n\n `\"organizations/12345/cmekSettings\"`\n\n Note: CMEK for the Log Router can currently only be configured for Google\n Cloud organizations. Once configured, it applies to all projects and\n folders in the Google Cloud organization.\n\n### #update_mask\n\n def update_mask() -\u003e ::Google::Protobuf::FieldMask\n\n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Optional. Field mask identifying which fields from `cmek_settings` should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.\n\n\n See [FieldMask](/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Protobuf-FieldMask \"Google::Protobuf::FieldMask (class)\") for more information.\n\n For example: `\"updateMask=kmsKeyName\"`\n\n### #update_mask=\n\n def update_mask=(value) -\u003e ::Google::Protobuf::FieldMask\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Optional. Field mask identifying which fields from `cmek_settings` should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.\n\n\n See [FieldMask](/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Protobuf-FieldMask \"Google::Protobuf::FieldMask (class)\") for more information.\n\nFor example: `\"updateMask=kmsKeyName\"` \n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Optional. Field mask identifying which fields from `cmek_settings` should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.\n\n\n See [FieldMask](/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Protobuf-FieldMask \"Google::Protobuf::FieldMask (class)\") for more information.\n\n For example: `\"updateMask=kmsKeyName\"`"]]