Uri
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מזהה משאב אוניברסלי שמפנה למשאב ש-Route Optimization API יכול לקרוא ולכתוב בו.
ייצוג ב-JSON |
{
"uri": string
} |
שדות |
uri |
string
ה-URI של המשאב. יכול להיות שהמשאב עדיין לא קיים. תוכן המשאב מקודד כ-JSON או כ-textproto. יש תמיכה רק במשאבים של Google Cloud Storage. אם המשאב מקודד כ-JSON, צריך להוסיף לסיומת של שם המשאב את הערך .json . אם המשאב מקודד כ-textproto, צריך להוסיף לסיומת של שם המשאב את הערך .txtpb . לדוגמה, מזהה URI של Google Cloud Storage לקובץ עם קידוד JSON יכול להיראות כך: gs://bucket/path/input/object.json .
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-31 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-31 (שעון UTC)."],[],[],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`. |"]]