REST Resource: organizations.settings.value
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:SettingValue
JSON 表示法 |
{
"name": string,
"value": {
object (Value )
},
"etag": string,
"readOnly": boolean,
"updateTime": string
} |
字段 |
name |
string
设置值的资源名称。必须采用以下任一形式:
projects/{project_number}/settings/{setting_name}/value
folders/{folder_id}/settings/{setting_name}/value
organizations/{organization_id}/settings/{setting_name}/value
例如“/projects/123/settings/gcp-enableMyFeature/value”
|
value |
object (Value )
设置的值。Value 的数据类型必须始终与父级设置定义的数据类型一致。
|
etag |
string
用于乐观并发的指纹。如需了解详情,请参阅 settings.updateValue 。
|
readOnly |
boolean
仅供输出。此标记表示此设置的值无法修改;但如果 DeleteSettingValueRequest.ignore_read_only 设为 true,则可以使用 settings.deleteValue 将其删除。使用此标志被视为确认无法重新创建设置值。此标志继承自上级设置,为方便起见。如需了解详情,请参阅 Setting.read_only 。
|
updateTime |
string (Timestamp format)
仅供输出。时间戳,用于指明上次更新设置值的时间。 时间戳采用 RFC3339 世界协调时间(UTC,即“祖鲁时”)格式,精确到纳秒。示例:"2014-10-02T15:01:23.045123456Z" 。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-05-25。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2023-05-25。"],[[["SettingValue represents an instance of a setting, containing the value and metadata like name, Etag, and update time."],["Each SettingValue is associated with a parent setting, inheriting properties like data type and read-only status."],["The value field within SettingValue adheres to a specific data type defined by its parent setting and can be modified unless marked read-only."],["You can create a new SettingValue using the provided API method, ensuring the value aligns with the parent setting's data type."],["SettingValues provide a structured way to manage and store configuration data for your resources, offering features like optimistic concurrency control through Etags."]]],["SettingValue represents a setting's instantiation, parented by its corresponding setting. Key information includes its `name`, a resource identifier; `value`, the setting's data, consistent with the parent setting's type; `etag`, for concurrency control; `readOnly`, a flag indicating modifiability; and `updateTime`, a timestamp. The `SettingValue` can be managed with a create `method`. Its JSON representation outlines these fields, with specified types and example formatting for `name` and `updateTime`.\n"]]