Send feedback
Method: accounts.accountLinks.patch
Stay organized with collections
Save and categorize content based on your preferences.
Updates the account link target of an account link.
HTTP request
PATCH https://travelpartner.googleapis.com/v3/{accountLink.name=accounts/*/accountLinks/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters
accountLink.name
string
The resource name for the account link in the format accounts/{account_id}/accountLinks/{account_link_id}
.
Query parameters
Parameters
updateMask
string (FieldMask
format)
Required. The field to update. Only the accountLinkTarget
field can be updated. Use the syntax shown in the example URL below and provide the new value in the request body.
Example request URL and request body:
PATCH https://travelpartner.googleapis.com/v3/accounts/123456789/
accountLinks/0123456789?updateMask=accountLink.account_link_target
{
"accountLinkTarget": {
"hotelList": {
"partnerHotelIds": ["1234", "4321"]
}
}
}
The response body will only include the name
field of an AccountLink
.
The information above is sufficient for forming the URL and request body. The sentence below is auto-generated, supplemental information about the FieldMask
format in general.
This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo"
.
Request body
The request body contains an instance of AccountLink
.
Response body
If successful, the response body contains an instance of AccountLink
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/travelpartner
For more information, see the OAuth 2.0 Overview .
Send feedback
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-18 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."]]