動作
類型名稱:Action
擴充 Event 或 Tinging
名稱 |
類型 |
說明 |
動作狀態 |
ActionStatusType |
表示動作目前的處理。 |
服務專員 |
組織或人員 |
動作的直接執行者或駕駛人 (動畫或無害),例如「小明」撰寫了一本書。 |
endTime |
DateTime |
某活動的結束時間。預訂活動或服務 (例如 FoodBUILDmentReservation) 的預計結束時間。針對一段時間內的動作執行動作 (例如:李大明寫了一月到 12 月的一本書)。 請注意,即使以日期說明活動日期,活動仍會使用 startDate/endDate 而非 startTime/endTime。我們會在日後的修訂版本中說明這個情況。 |
錯誤 |
Thing 的子類型 |
如果是失敗的動作,請詳細說明失敗原因。 |
處理常式 |
HttpActionHandler |
RSVP 動作支援的處理常式。 |
樂器 |
Thing 的子類型 |
可協助服務專員執行操作的物件。例如,小明用筆撰寫書籍。 |
位置 |
Place 或 PostalAddress |
活動、機構或動作的所在位置。 |
名稱 |
Text |
與動作相關的 UI 元素上向使用者顯示的字串。 |
物件 |
Thing 的子類型 |
執行動作時,物件會保持不變或改變狀態。又稱為「受害者」的語意角色,會受到影響或受害者 (會改變狀態) 或主題 (不會改變)。例如,小明閱讀一本書。 |
參與者 |
組織或人員 |
參與間接活動的其他共同代理。例如,小明與 Steve 撰寫了一本書。 |
結果 |
Thing 的子類型 |
動作產生的結果,例如大明撰寫了一本書。 |
開始時間 |
DateTime |
某事物的開始時間。預訂活動或服務 (例如 FoodBUILDmentReservation),預計開始啟動的時間。針對在特定時間範圍內執行動作的動作,例如執行動作動作。例如,小明在 1 月至 12 月之間寫了一本書。 請注意,即使以日期說明活動時間,活動仍會使用 startDate/endDate 而非 startTime/endTime。我們會在日後的修訂版本中說明這個情況。 |
目標 |
進入點 |
表示動作的目標 EntryPoint。 |
網址 |
網址 |
完成擷取動作的目標網址。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-03 (世界標準時間)。
[null,null,["上次更新時間:2024-09-03 (世界標準時間)。"],[[["`Action` extends the `Event` or `Thing` type and describes activities or tasks performed."],["It includes properties like `actionStatus`, `agent`, `endTime`, `error`, and more to provide details about the action."],["`Action` can specify the involved parties, time, location, and outcome of an action."],["Properties like `object`, `instrument`, and `result` further elaborate on the action's context and effects."],["`Action` can also define a target URL or entry point for completing the action."]]],["The `Action` type details properties for describing actions, including their status, agent, and time frame. Key details involve the `actionStatus`, indicating the action's current state. The `agent` and `participant` identify performers and co-agents, while `startTime` and `endTime` mark the action's duration. Other relevant information include the `location`, `instrument`, the `object` acted upon, `result` and an `error` to specify a potential cause for failure. A `handler` is provided for the RSVP action, `target` EntryPoint, and the `url` to complete the action.\n"]]