Generated from protobuf messagegoogle.logging.v2.GetCmekSettingsRequest
Namespace
Google \ Cloud \ Logging \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The resource for which to retrieve CMEK settings. "projects/[PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.
getName
Required. The resource for which to retrieve CMEK settings.
"projects/[PROJECT_ID]/cmekSettings"
"organizations/[ORGANIZATION_ID]/cmekSettings"
"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
"folders/[FOLDER_ID]/cmekSettings"
For example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router can be configured for Google Cloud projects,
folders, organizations and billing accounts. Once configured for an
organization, it applies to all projects and folders in the Google Cloud
organization.
Returns
Type
Description
string
setName
Required. The resource for which to retrieve CMEK settings.
"projects/[PROJECT_ID]/cmekSettings"
"organizations/[ORGANIZATION_ID]/cmekSettings"
"billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
"folders/[FOLDER_ID]/cmekSettings"
For example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router can be configured for Google Cloud projects,
folders, organizations and billing accounts. Once configured for an
organization, it applies to all projects and folders in the Google Cloud
organization.
[[["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,["# Stackdriver Logging V2 Client - Class GetCmekSettingsRequest (1.32.3)\n\nVersion latestkeyboard_arrow_down\n\n- [1.32.3 (latest)](/php/docs/reference/cloud-logging/latest/V2.GetCmekSettingsRequest)\n- [1.32.2](/php/docs/reference/cloud-logging/1.32.2/V2.GetCmekSettingsRequest)\n- [1.31.3](/php/docs/reference/cloud-logging/1.31.3/V2.GetCmekSettingsRequest)\n- [1.30.3](/php/docs/reference/cloud-logging/1.30.3/V2.GetCmekSettingsRequest)\n- [1.29.0](/php/docs/reference/cloud-logging/1.29.0/V2.GetCmekSettingsRequest)\n- [1.28.5](/php/docs/reference/cloud-logging/1.28.5/V2.GetCmekSettingsRequest)\n- [1.27.1](/php/docs/reference/cloud-logging/1.27.1/V2.GetCmekSettingsRequest)\n- [1.26.0](/php/docs/reference/cloud-logging/1.26.0/V2.GetCmekSettingsRequest)\n- [1.25.5](/php/docs/reference/cloud-logging/1.25.5/V2.GetCmekSettingsRequest)\n- [1.24.10](/php/docs/reference/cloud-logging/1.24.10/V2.GetCmekSettingsRequest) \nReference documentation and code samples for the Stackdriver Logging V2 Client class GetCmekSettingsRequest.\n\nThe parameters to\nGetCmekSettings.\n\nSee [Enabling CMEK for Log\nRouter](https://cloud.google.com/logging/docs/routing/managed-encryption) for\nmore information.\n\nGenerated from protobuf message `google.logging.v2.GetCmekSettingsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Logging \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The resource for which to retrieve CMEK settings.\n\n\"projects/\\[PROJECT_ID\\]/cmekSettings\"\n\"organizations/\\[ORGANIZATION_ID\\]/cmekSettings\"\n\"billingAccounts/\\[BILLING_ACCOUNT_ID\\]/cmekSettings\"\n\"folders/\\[FOLDER_ID\\]/cmekSettings\"\nFor example:\n`\"organizations/12345/cmekSettings\"`\nNote: CMEK for the Log Router can be configured for Google Cloud projects,\nfolders, organizations and billing accounts. Once configured for an\norganization, it applies to all projects and folders in the Google Cloud\norganization.\n\n### setName\n\nRequired. The resource for which to retrieve CMEK settings.\n\n\"projects/\\[PROJECT_ID\\]/cmekSettings\"\n\"organizations/\\[ORGANIZATION_ID\\]/cmekSettings\"\n\"billingAccounts/\\[BILLING_ACCOUNT_ID\\]/cmekSettings\"\n\"folders/\\[FOLDER_ID\\]/cmekSettings\"\nFor example:\n`\"organizations/12345/cmekSettings\"`\nNote: CMEK for the Log Router can be configured for Google Cloud projects,\nfolders, organizations and billing accounts. Once configured for an\norganization, it applies to all projects and folders in the Google Cloud\norganization."]]