RequestMask
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
已淘汰 (請改用 personFields
)
說明要在回應中傳回哪些人員欄位。
JSON 表示法 |
{
"includeField": string
} |
欄位 |
includeField |
string (FieldMask format)
必要欄位。要加入回應的使用者欄位清單 (以半形逗號分隔)。每個路徑都應以 person. 開頭:例如 person.names 或 person.photos 。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eThis item is deprecated and users should utilize \u003ccode\u003epersonFields\u003c/code\u003e instead.\u003c/p\u003e\n"],["\u003cp\u003eIt describes which person fields to return in the response using a JSON representation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eincludeField\u003c/code\u003e requires a FieldMask format to specify desired fields.\u003c/p\u003e\n"],["\u003cp\u003eUsers must provide a comma-separated list of person fields, prefixed with \u003ccode\u003eperson.\u003c/code\u003e, to be included in the response.\u003c/p\u003e\n"]]],["The deprecated item describes the `includeField` for specifying which person fields to return in a response. It is represented in JSON as `{\"includeField\": string}`. The `includeField` is a required string containing a comma-separated list of person fields, formatted as `person.field`, using the FieldMask format. This has been deprecated in favor of `personFields`.\n"],null,["# RequestMask\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\n| This item is deprecated!\n**DEPRECATED** (Please use `personFields` instead)\n\nDescribes which person fields to return in the response.\n\n| JSON representation |\n|------------------------------------|\n| ``` { \"includeField\": string } ``` |\n\n| Fields ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `includeField` | `string (`[FieldMask](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask)` format)` Required. Comma-separated list of person fields to be included in the response. Each path should start with `person.`: for example, `person.names` or `person.photos`. |"]]