Method: networks.lines.list
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
GET https://middlemileoptimization.googleapis.com/v1/{parent=networks/*}/lines
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
parent |
string
必要欄位。擁有此行集合的父項。格式:「networks/{network}」
|
查詢參數
參數 |
pageSize |
integer
選用設定。要傳回的行數上限。服務傳回的產品數量可能會少於這個值。如未指定,最多會傳回 50 行。值的數量上限是 1000;超過 1000 個值會強制轉換為 1000。
|
pageToken |
string
選用設定。屬於接收自前一個 lines.list 呼叫的網頁權杖。提供此項目即可擷取後續網頁。 進行分頁時,提供至 lines.list 的所有其他參數須與提供網頁權杖的呼叫相符。
|
回應主體
lines.list
方法的回應訊息。
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
{
"lines": [
{
object (Line )
}
],
"nextPageToken": string
} |
欄位 |
lines[] |
object (Line )
指定網路的行。
|
nextPageToken |
string
可做為 pageToken 傳送的權杖,用於擷取後續網頁。如果省略這個欄位,就不會有後續頁面。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-23 (世界標準時間)。
[[["容易理解","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"]],["上次更新時間:2024-08-23 (世界標準時間)。"],[[["This page details the process for listing the lines within a specific network using the `lines.list` method."],["The request requires specifying the parent network and allows for optional pagination using `pageSize` and `pageToken` parameters."],["The response includes an array of `Line` objects representing the lines within the network and a token for retrieving subsequent pages if available."]]],["The HTTP `GET` request retrieves a list of lines within a specified network using the URL `https://middlemileoptimization.googleapis.com/v1/{parent=networks/*}/lines`. The `parent` parameter is required. Optional query parameters include `pageSize` (default 50, max 1000) for the number of lines to return and `pageToken` for pagination. The response body contains an array of `lines` and a `nextPageToken` for retrieving subsequent pages. The request body is empty.\n"]]