Method: accounts.brands.get
מחזירה את המופע Brand
המשויך לשם משאב המותג URI של הבקשה.
בקשת HTTP
GET https://travelpartner.googleapis.com/v3/{name=accounts/*/brands/*}
כתובת ה-URL כוללת תחביר gRPC קידוד מחדש.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. שם המשאב של המותג. הפורמט הוא accounts/{account_id}/brands/{brandId} .
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התגובה
אם התגובה מוצלחת, גוף התגובה מכיל מופע של Brand
.
היקפי הרשאה
יש צורך בהיקף OAuth הבא:
https://www.googleapis.com/auth/travelpartner
למידע נוסף, אפשר לעיין בסקירה הכללית על OAuth 2.0.
כל הזכויות שמורות. Java הוא סימן מסחרי רשום של Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2022-08-23 (שעון UTC).
[null,null,["עדכון אחרון: 2022-08-23 (שעון UTC)."],[[["This document describes how to retrieve a `Brand` instance using the Travel Partner API."],["The request is a `GET` request sent to the specified URL with the brand's resource name as a path parameter."],["The request body should be empty, and a successful response will contain a `Brand` object."],["Authorization is required using the `https://www.googleapis.com/auth/travelpartner` OAuth scope."]]],[]]