AI-generated Key Takeaways
- 
          
This document describes the
Settingresource, which defines the schema for setting values within Cloud resources. - 
          
Settings have properties like name, display name, description, data type, and a default value.
 - 
          
A setting can have at most one value associated with it at a given Cloud resource.
 - 
          
Several methods are available to interact with settings and their values, including getting, setting, listing, searching, and deleting.
 - 
          
The
Settingresource allows for configuring and managing various aspects of Cloud resources using a structured approach. 
Resource: Setting
The schema for setting values. At a given Cloud resource, a setting can parent at most one setting value.
| JSON representation | |
|---|---|
{ "name": string, "displayName": string, "description": string, "readOnly": boolean, "dataType": enum (  | 
              |
| Fields | |
|---|---|
name | 
                
                   
 The resource name of the setting. Must be in one of the following forms: 
 For example, "/projects/123/settings/gcp-enableMyFeature"  | 
              
displayName | 
                
                   
 The human readable name for this setting.  | 
              
description | 
                
                   
 A detailed description of what this setting does.  | 
              
readOnly | 
                
                   
 A flag indicating that values of this setting cannot be modified (see documentation of the specific setting for updates and reasons); however, it may be deleted using   | 
              
dataType | 
                
                   
 The data type for this setting.  | 
              
defaultValue | 
                
                   
 The value received by  Note: not all settings have a default value.  | 
              
Methods | 
            |
|---|---|
                
 | 
              Deletes a setting value. | 
                
 | 
              Gets a setting value. | 
                
 | 
              
                Lists all the settings that are available on the Cloud resource parent. | 
            
                
 | 
              
                Computes the effective setting value of a setting at the Cloud resource parent. | 
            
                
 | 
              
                Searches for all setting values that exist on the resource parent. | 
            
                
 | 
              Updates a setting value. |