RequestMask
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
已弃用(请改用 personFields
)
说明要在响应中返回哪些人员字段。
JSON 表示法 |
{
"includeField": string
} |
字段 |
includeField |
string (FieldMask format)
必需。要包含在响应中的人员字段列表(以英文逗号分隔)。每个路径都应以 person. 开头:例如 person.names 或 person.photos 。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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`. |"]]