REST Resource: projects.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 setting's value and metadata."],["Each SettingValue is associated with a parent setting and inherits properties like data type and read-only status."],["The JSON representation of a SettingValue includes fields like name, value, etag, readOnly, and updateTime."],["SettingValues can be managed using methods like create, allowing for the instantiation and modification of setting values within a project, folder, or organization."]]],["SettingValue represents a setting's instantiation, linked to a parent setting. Its JSON representation includes `name`, `value`, `etag`, `readOnly`, and `updateTime`. Key actions include creating a setting value. `name` specifies the resource's path, `value` holds the setting's data, `etag` is used for concurrency control, `readOnly` indicates if it is immutable, and `updateTime` displays the last update timestamp. A `create` method is available to instantiate the setting value.\n"]]