Page Summary
-
SettingValue represents an instance of a setting, containing the value and metadata like name, etag, and readOnly status.
-
Each SettingValue is associated with a parent setting, inheriting properties like data type and readOnly restrictions.
-
The JSON representation of a SettingValue includes fields like name, value, etag, readOnly, and updateTime.
-
You can manage SettingValues programmatically through methods like create, allowing for dynamic configuration adjustments.
-
SettingValues offer a structured way to store and manage configuration data, ensuring consistency and control within a project, folder, or organization.
Resource: SettingValue
The instantiation of a setting. Every setting value is parented by its corresponding setting.
| JSON representation | |
|---|---|
{
"name"
:
string
,
"value"
:
{
object (
|
|
name
string
The resource name of the setting value. Must be in one of the following forms:
-
projects/{project_number}/settings/{setting_name}/value -
folders/{folder_id}/settings/{setting_name}/value -
organizations/{organization_id}/settings/{setting_name}/value
For example, "/projects/123/settings/gcp-enableMyFeature/value"
value
etag
string
A fingerprint used for optimistic concurrency. See settings.updateValue
for more details.
readOnly
boolean
Output only. A flag indicating that this setting value cannot be modified; however, it may be deleted using settings.deleteValue
if DeleteSettingValueRequest.ignore_read_only
is set to true. Using this flag is considered an acknowledgement that the setting value cannot be recreated. This flag is inherited from its parent setting and is for convenience purposes. See Setting.read_only
for more details.
updateTime
string (
Timestamp
format)
Output only. The timestamp indicating when the setting value was last updated.
A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z"
.
Methods |
|
|---|---|
|
Creates a setting value. |

