Method: customers.nodes.patch
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Обновляет существующий node
.
HTTP-запрос
PATCH https://sasportal.googleapis.com/v1alpha1/{node.name=customers/*/nodes/*}
URL использует синтаксис перекодировки gRPC .
Параметры пути
Параметры |
---|
node.name | string Только вывод. Имя ресурса. |
Параметры запроса
Параметры |
---|
updateMask | string ( FieldMask format) Поля, которые необходимо обновить. Список полных имён полей, разделённых запятыми. Пример: "user.displayName,photo" . |
Текст запроса
Тело запроса содержит экземпляр Node
.
Тело ответа
В случае успеха тело ответа содержит экземпляр Node
.
Области авторизации
Требуется следующая область OAuth:
-
https://www.googleapis.com/auth/userinfo.email
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-25 UTC.
[null,null,["Последнее обновление: 2025-07-25 UTC."],[[["\u003cp\u003eUpdates an existing node using an HTTP PATCH request to a specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request should include path and query parameters, with the body containing an instance of "Node".\u003c/p\u003e\n"],["\u003cp\u003eA successful response will return an updated "Node" instance in the response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/userinfo.email\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This document outlines the process for updating a node via a `PATCH` request to a specific URL using gRPC Transcoding syntax. The URL includes the node's resource name as a path parameter (`node.name`). Updates are controlled by the `updateMask` query parameter, which specifies the fields to modify. The request body contains the new node data, and a successful response returns the updated node. The operation requires OAuth scope `https://www.googleapis.com/auth/userinfo.email`.\n"],null,["# Method: customers.nodes.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nUpdates an existing [node](/spectrum-access-system/reference/rest/customers.nodes#Node).\n\n### HTTP request\n\n`PATCH https://sasportal.googleapis.com/v1alpha1/{node.name=customers/*/nodes/*}`\n\nThe URL uses [gRPC Transcoding](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-------------|--------------------------------------|\n| `node.name` | `string` Output only. Resource name. |\n\n### Query parameters\n\n| Parameters ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask)` format)` Fields to be updated. A comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. \u003cbr /\u003e |\n\n### Request body\n\nThe request body contains an instance of [Node](/spectrum-access-system/reference/rest/customers.nodes#Node).\n\n### Response body\n\nIf successful, the response body contains an instance of [Node](/spectrum-access-system/reference/rest/customers.nodes#Node).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/userinfo.email`"]]