REST Resource: chains
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
משאב: שרשרת
רשת היא מותג שאפשר לשייך אליו את מיקומי העסק.
ייצוג JSON |
{
"name": string,
"chainNames": [
{
object (ChainName )
}
],
"websites": [
{
object (ChainUrl )
}
],
"locationCount": integer
} |
שדות |
name |
string
שם המשאב של השרשרת, בפורמט chains/{chain_place_id} .
|
chainNames[] |
object (ChainName )
שמות השרשרת.
|
websites[] |
object (ChainUrl )
אתרים של הרשת.
|
locationCount |
integer
מספר המיקומים שהם חלק מהרשת הזו.
|
ChainName
ייצוג JSON |
{
"displayName": string,
"languageCode": string
} |
שדות |
displayName |
string
השם המוצג של הרשת הזו.
|
languageCode |
string
קוד השפה של השם ב-BCP 47.
|
ChainUrl
כתובת ה-URL שתשמש להצגת הרשת.
ייצוג JSON |
{
"url": string
} |
שדות |
url |
string
כתובת ה-URL של הרשת הזו.
|
שיטות |
|
הפונקציה מקבלת את השרשרת שצוינה. |
|
חיפוש הרשת לפי שם הרשת. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-20 (שעון UTC).
[[["התוכן קל להבנה","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-20 (שעון UTC)."],[[["A `Chain` represents a brand with multiple business locations, containing information like name, websites, and location count."],["`Chain` data includes `ChainName` for display purposes and `ChainUrl` for website links."],["You can programmatically access chain data using the `get` and `search` methods provided."],["The `Chain` resource uses JSON for data representation and includes fields for identifying the chain and related information."]]],["The content describes the \"Chain\" resource, representing a brand that businesses can affiliate with. Key components include: a chain's `name`, `chainNames` (display names and language codes), `websites` (URLs), and `locationCount`. The `ChainName` provides a `displayName` and `languageCode`. `ChainUrl` contains a simple `url`. Two main methods are detailed, `get` to retrieve a specific chain, and `search` to find a chain by its name.\n"]]