PolicyValue
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
JSON 表示法 |
{
"policySchema": string,
"value": {
object
}
} |
欄位 |
policySchema |
string
與這項政策相關聯的政策結構定義完整名稱。
|
value |
object (Struct format)
與相關聯的結構定義相容的政策值。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003ePolicy values are stored alongside their schema for clear association.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003epolicySchema\u003c/code\u003e field identifies the specific policy governing the value.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003evalue\u003c/code\u003e holds the actual policy data, structured according to its schema, and represented in \u003ccode\u003eStruct\u003c/code\u003e format.\u003c/p\u003e\n"]]],[],null,["# PolicyValue\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nA particular value for a policy managed by the service.\n\n| JSON representation |\n|---------------------------------------------------------|\n| ``` { \"policySchema\": string, \"value\": { object } } ``` |\n\n| Fields ||\n|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `policySchema` | `string` The fully qualified name of the policy schema associated with this policy. |\n| `value` | `object (`[Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct)` format)` The value of the policy that is compatible with the schema that it is associated with. |"]]