操作
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
类型名称:Action
扩展 Event 或 Thing
名称 |
类型 |
说明 |
actionStatus |
ActionStatusType |
指示 Action 的当前处理方式。 |
代理 |
组织或个人 |
动作的直接表演者或推动者(动画或非动画)。例如,小明写了一本书。 |
endTime |
DateTime |
某内容的结束时间。对于预订的活动或服务(例如 FoodProvidementReservation),其预计结束时间。对于执行操作的一段时间(例如执行操作时),例如 John 从 1 月到 12 月写了一本书。 请注意,即使使用日期描述时间,Event 也会使用 startDate/endDate,而不是 startTime/endTime。我们将在日后的修订版本中对此进行澄清。 |
错误 |
Thing 的子类型 |
对于失败的操作,请详细了解失败的原因。 |
handler |
HttpActionHandler |
回复操作支持的处理程序。 |
乐器 |
Thing 的子类型 |
帮助客服人员执行操作的对象。例如,John 写了一本书,其中含有一支笔。 |
位置 |
Place 或 postalAddress |
活动、组织或操作的位置。 |
name |
文本 |
在与操作关联的界面元素上向用户显示的字符串。 |
对象 |
Thing 的子类型 |
完成操作时,相应对象会保持完好或发生变化。也称为语义角色“患者”、“受影响或受试者”(会改变其状态)或“主题”(不会改变),例如“约翰”读了一本书。 |
参与者 |
组织或个人 |
间接参与相应操作的其他共同客服人员。例如,John 和 Steve 一起写了一本书。 |
结果 |
Thing 的子类型 |
动作中产生的结果。例如,John 写了一本书。 |
startTime |
DateTime |
某些内容的开始时间。对于预订事件或服务(例如 FoodProvidementReservation),其预计开始时间。对于执行操作的一段时间(例如执行操作时),例如 John 在 1 月到 12 月期间写了一本书。 请注意,即使使用时间描述日期,Event 也会使用 startDate/endDate,而不是 startTime/endTime。我们将在日后的修订版本中对此进行澄清。 |
target |
入口点 |
指示操作的目标入口点。 |
网址 |
网址 |
要提取操作的目标目标网址。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# Action\n\nType name: [Action](/workspace/gmail/markup/reference/types/Action)\n\nExtends [Event](/workspace/gmail/markup/reference/types/Event) or [Thing](/workspace/gmail/markup/reference/types/Thing)\n\n| Name | Type | Description |\n|--------------|----------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| actionStatus | [ActionStatusType](/workspace/gmail/markup/reference/types/ActionStatusType) | Indicates the current disposition of the Action. |\n| agent | [Organization](/workspace/gmail/markup/reference/types/Organization) or [Person](/workspace/gmail/markup/reference/types/Person) | The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book. |\n| endTime | [DateTime](/workspace/gmail/markup/reference/types/DateTime) | The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to *December* . Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions. |\n| error | [Thing](/workspace/gmail/markup/reference/types/Thing) | For failed actions, more information on the cause of the failure. |\n| handler | [HttpActionHandler](/workspace/gmail/markup/reference/types/HttpActionHandler) | Handlers supported by RSVP action. |\n| instrument | [Thing](/workspace/gmail/markup/reference/types/Thing) | The object that helped the agent perform the action. e.g. John wrote a book with *a pen*. |\n| location | [Place](/workspace/gmail/markup/reference/types/Place) or [PostalAddress](/workspace/gmail/markup/reference/types/PostalAddress) | The location of the event, organization or action. |\n| name | [Text](/workspace/gmail/markup/reference/types/Text) | The string shown to the user on the UI element tied to the action. |\n| object | [Thing](/workspace/gmail/markup/reference/types/Thing) | The object upon the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*. |\n| participant | [Organization](/workspace/gmail/markup/reference/types/Organization) or [Person](/workspace/gmail/markup/reference/types/Person) | Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*. |\n| result | [Thing](/workspace/gmail/markup/reference/types/Thing) | The result produced in the action. e.g. John wrote *a book*. |\n| startTime | [DateTime](/workspace/gmail/markup/reference/types/DateTime) | The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. e.g. John wrote a book from *January* to December. Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions. |\n| target | [EntryPoint](/workspace/gmail/markup/reference/types/EntryPoint) | Indicates a target EntryPoint for an Action. |\n| url | [URL](/workspace/gmail/markup/reference/types/URL) | Target url to fetch in order to complete the action. |"]]