AI-generated Key Takeaways
- 
          Updates to a brand are made using a PATCH request to the specified URL containing the brand name. 
- 
          The brand name is a required path parameter in the format accounts/{account_id}/brands/{brandId}. 
- 
          The updateMaskquery parameter is required to specify which fields to update, limited todisplayNamesandicon.
- 
          The request body should contain an instance of Brand with the updated information. 
- 
          A successful update returns an instance of Brand in the response body. 
- 
          The request requires the https://www.googleapis.com/auth/travelpartnerOAuth scope for authorization.
Updates a brand.
HTTP request
PATCH https://travelpartner.googleapis.com/v3/{brand.name=accounts/*/brands/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| brand.name | 
 Output only. The resource name for the brand in the format  A default brand is applied to properties that do not have a brand. The  | 
Query parameters
| Parameters | |
|---|---|
| updateMask | 
 Required. The field to update. Only the  Example request URI and request body: The information above is sufficient for forming the URI and request body. The sentence below is auto-generated, supplemental information about the  This is a comma-separated list of fully qualified names of fields. Example:  | 
| allowMissing | 
 When true, and the Brand is not found, a new Brand will be created. In this situation,  | 
Request body
The request body contains an instance of Brand.
Response body
If successful, the response body contains an instance of Brand.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/travelpartner
For more information, see the OAuth 2.0 Overview.