发布用户信息
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源表示法
{
"kind": "blogger#postUserInfo",
"post": posts Resource,
"post_user_info": {
"kind": "blogger#postPerUserInfo",
"userId": string,
"blogId": string,
"postId": string,
"hasEditAccess": boolean
}
}
属性名称 |
价值 |
说明 |
备注 |
kind |
string |
此实体的种类。始终为 blogger#postUserInfo |
|
post |
nested object |
“帖子”资源。 |
|
post_user_info |
nested object |
帖子用户的相关信息。 |
|
post_user_info.kind |
string |
此实体的种类。始终为 blogger#postPerUserInfo |
|
post_user_info.userId |
string |
用户的 ID。 |
|
post_user_info.blogId |
string |
帖子资源所属的博客的 ID。 |
|
post_user_info.postId |
string |
帖子资源的 ID。 |
|
post_user_info.hasEditAccess |
boolean |
如果用户对博文具有“作者”级别的访问权限,则为“true”。 |
|
方法
- get
- 通过 postId 和 userId 获取一个帖子和用户信息对。
- list
- 检索帖子和帖子用户信息对列表,可能是过滤后的。帖子用户信息包含特定于该帖子的每个用户信息,例如访问权限等。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-06-26。
[null,null,["最后更新时间 (UTC):2024-06-26。"],[[["\u003cp\u003eThe \u003ccode\u003ezelos.RenderInfo.getDesiredRowWidth_()\u003c/code\u003e method calculates and returns the desired width of a specific row within a rendered block.\u003c/p\u003e\n"],["\u003cp\u003eThis method accepts a \u003ccode\u003eRow\u003c/code\u003e object as input, representing the row for which the width is being determined.\u003c/p\u003e\n"],["\u003cp\u003eThe output is a numerical value indicating the calculated width of the given row.\u003c/p\u003e\n"]]],[],null,["# PostUserInfos\n\n\u003cbr /\u003e\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\n\u003cbr /\u003e\n\n```scdoc\n{\n \"kind\": \"blogger#postUserInfo\",\n \"post\": posts Resource,\n \"post_user_info\": {\n \"kind\": \"blogger#postPerUserInfo\",\n \"userId\": string,\n \"blogId\": string,\n \"postId\": string,\n \"hasEditAccess\": boolean\n }\n}\n```\n\n| Property name | Value | Description | Notes |\n|--------------------------------|-----------------|-----------------------------------------------------------|-------|\n| `kind` | `string` | The kind of this entity. Always `blogger#postUserInfo` | |\n| `post` | `nested object` | The Post resource. | |\n| `post_user_info` | `nested object` | Information about a User for the Post. | |\n| post_user_info.`kind` | `string` | The kind of this entity. Always `blogger#postPerUserInfo` | |\n| post_user_info.`userId` | `string` | ID of the User. | |\n| post_user_info.`blogId` | `string` | ID of the Blog that the post resource belongs to. | |\n| post_user_info.`postId` | `string` | ID of the Post resource. | |\n| post_user_info.`hasEditAccess` | `boolean` | True if the user has Author level access to the post. | |\n\nMethods\n-------\n\n[get](/blogger/docs/3.0/reference/postUserInfos/get)\n: Gets one post and user info pair by \u003cvar class=\"apiparam\" translate=\"no\"\u003epostId\u003c/var\u003e and \u003cvar class=\"apiparam\" translate=\"no\"\u003euserId\u003c/var\u003e.\n\n[list](/blogger/docs/3.0/reference/postUserInfos/list)\n: Retrieves a list of post and post user info pairs, possibly filtered. The post user info contains per-user information about the post, such as access rights, specific to the user."]]