資產:search
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
搜尋使用者的 Looker Studio 資產。
要求
HTTP 要求
GET https://datastudio.googleapis.com/v1/assets:search
參數
參數名稱 |
類型 |
說明 |
assetTypes |
陣列<AssetType> |
必填。要搜尋的素材資源類型。必須指定一個素材資源類型。 |
title |
字串 |
資產的標題。 |
includeTrashed |
布林值 |
預設值為 false 。- 當此參數設為
true 時,系統只會納入垃圾桶中的資產。 - 當此參數設為
false 時,系統只會納入不在垃圾桶中的素材資源。
|
擁有者 |
字串 |
資產擁有者的電子郵件地址。 |
orderBy |
字串 |
結果的排序順序。您可以依據下列欄位排序:
title
last_viewed_by_me
create_time
last_accessed_time
id
|
pageSize |
數字 |
每頁要納入的結果數量。預設值為 1000。 |
pageToken |
字串 |
用來識別要傳回的結果頁面的符記。如要分頁顯示結果,請使用其他要求的 nextPageToken 值或 previousPageToken 值。 |
授權
這項要求需要至少具備下列其中一個範圍的授權:
範圍 |
https://www.googleapis.com/auth/datastudio.readonly |
https://www.googleapis.com/auth/datastudio |
要求主體
請勿透過此方法提供要求主體。
回應
如果成功的話,這個方法會傳回回應內文,其結構如下:
{
"assets": [Asset],
"nextPageToken": string
}
屬性名稱 |
類型 |
說明 |
資產 |
陣列<Asset> |
資產清單。 |
nextPageToken |
字串 |
用來擷取下一頁結果的符記。只有在結果數量大於請求 pageSize 時,這個屬性才會出現。如果 nextPageToken 為空白,表示沒有其他結果可傳回。 |
previousPageToken |
字串 |
用來擷取上一頁結果的符記。空白的 previousPageToken 表示結果集的開頭。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-06-16 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-06-16 (世界標準時間)。"],[[["Search for specific Looker Studio assets using parameters like asset type, title, owner, and more."],["Filter search results to include or exclude trashed assets."],["Order results by title and control the number of results per page using pagination."],["Requires authorization with specific scopes for data access."],["The API response includes a list of matching assets and a token for retrieving subsequent pages."]]],[]]