Generated from protobuf messagegoogle.logging.v2.GetSettingsRequest
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 settings. "projects/[PROJECT_ID]/settings" "organizations/[ORGANIZATION_ID]/settings" "billingAccounts/[BILLING_ACCOUNT_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings"Note: Settings for the Log Router can be get for Google Cloud projects, folders, organizations and billing accounts. Currently it can only be configured for organizations. 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 settings.
"projects/[PROJECT_ID]/settings"
"organizations/[ORGANIZATION_ID]/settings"
"billingAccounts/[BILLING_ACCOUNT_ID]/settings"
"folders/[FOLDER_ID]/settings"
For example:"organizations/12345/settings"Note: Settings for the Log Router can be get for Google Cloud projects,
folders, organizations and billing accounts. Currently it can only be
configured for organizations. 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 settings.
"projects/[PROJECT_ID]/settings"
"organizations/[ORGANIZATION_ID]/settings"
"billingAccounts/[BILLING_ACCOUNT_ID]/settings"
"folders/[FOLDER_ID]/settings"
For example:"organizations/12345/settings"Note: Settings for the Log Router can be get for Google Cloud projects,
folders, organizations and billing accounts. Currently it can only be
configured for organizations. Once configured for an organization, it
applies to all projects and folders in the Google Cloud organization.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The resource for which to retrieve settings.
Note: Settings for the Log Router can be get for Google Cloud projects,
folders, organizations and billing accounts. Currently it can only be
configured for organizations. Once configured for an organization, it
applies to all projects and folders in the Google Cloud organization. Please seeConfigServiceV2Client::settingsName()for help formatting this field.
[[["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 GetSettingsRequest (1.32.3)\n\nVersion latestkeyboard_arrow_down\n\n- [1.32.3 (latest)](/php/docs/reference/cloud-logging/latest/V2.GetSettingsRequest)\n- [1.32.2](/php/docs/reference/cloud-logging/1.32.2/V2.GetSettingsRequest)\n- [1.31.3](/php/docs/reference/cloud-logging/1.31.3/V2.GetSettingsRequest)\n- [1.30.3](/php/docs/reference/cloud-logging/1.30.3/V2.GetSettingsRequest)\n- [1.29.0](/php/docs/reference/cloud-logging/1.29.0/V2.GetSettingsRequest)\n- [1.28.5](/php/docs/reference/cloud-logging/1.28.5/V2.GetSettingsRequest)\n- [1.27.1](/php/docs/reference/cloud-logging/1.27.1/V2.GetSettingsRequest)\n- [1.26.0](/php/docs/reference/cloud-logging/1.26.0/V2.GetSettingsRequest)\n- [1.25.5](/php/docs/reference/cloud-logging/1.25.5/V2.GetSettingsRequest)\n- [1.24.10](/php/docs/reference/cloud-logging/1.24.10/V2.GetSettingsRequest) \nReference documentation and code samples for the Stackdriver Logging V2 Client class GetSettingsRequest.\n\nThe parameters to\nGetSettings.\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.GetSettingsRequest`\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 settings.\n\n\"projects/\\[PROJECT_ID\\]/settings\"\n\"organizations/\\[ORGANIZATION_ID\\]/settings\"\n\"billingAccounts/\\[BILLING_ACCOUNT_ID\\]/settings\"\n\"folders/\\[FOLDER_ID\\]/settings\"\nFor example:\n`\"organizations/12345/settings\"`\nNote: Settings for the Log Router can be get for Google Cloud projects,\nfolders, organizations and billing accounts. Currently it can only be\nconfigured for organizations. Once configured for an organization, it\napplies to all projects and folders in the Google Cloud organization.\n\n### setName\n\nRequired. The resource for which to retrieve settings.\n\n\"projects/\\[PROJECT_ID\\]/settings\"\n\"organizations/\\[ORGANIZATION_ID\\]/settings\"\n\"billingAccounts/\\[BILLING_ACCOUNT_ID\\]/settings\"\n\"folders/\\[FOLDER_ID\\]/settings\"\nFor example:\n`\"organizations/12345/settings\"`\nNote: Settings for the Log Router can be get for Google Cloud projects,\nfolders, organizations and billing accounts. Currently it can only be\nconfigured for organizations. Once configured for an organization, it\napplies to all projects and folders in the Google Cloud organization.\n\n### static::build"]]