Uri
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
通用資源 ID,指向 Route Optimization API 可讀取及寫入的資源。
JSON 表示法 |
{
"uri": string
} |
欄位 |
uri |
string
資源的 URI。資源可能尚未存在。 資源內容會以 JSON 或 textproto 編碼。僅支援 Google Cloud Storage 資源。如果資源是以 JSON 編碼,資源名稱的後置字串必須為 .json 。如果資源已編碼為 textproto,資源名稱必須加上 .txtpb 做為後置字串。舉例來說,JSON 編碼檔案的 Google Cloud Storage URI 可能會長這樣:gs://bucket/path/input/object.json 。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[],[],null,["# Uri\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nA Universal Resource Identifier that points to a resource that can be read and written by the Route Optimization API.\n\n| JSON representation |\n|---------------------------|\n| ``` { \"uri\": string } ``` |\n\n| Fields ||\n|-------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `uri` | `string` The URI of the resource. The resource may not yet exist. The contents of the resource are encoded as either JSON or textproto. Only Google Cloud Storage resources are supported. If the resource is encoded as JSON, the resource name must be suffixed with `.json`. If the resource is encoded as textproto, the resource name must be suffixed with `.txtpb`. For example, a Google Cloud Storage URI to a JSON encoded file might look like: `gs://bucket/path/input/object.json`. |"]]