Method: videos.renderVideo
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Добавляет адрес в очередь средства визуализации, если видео еще не было обработано. В противном случае возвращает метаданные о видео.
HTTP-запрос
POST https://aerialview.googleapis.com/v1/videos:renderVideo
URL-адрес использует синтаксис транскодирования gRPC .
Тело запроса
Тело запроса содержит данные следующей структуры:
JSON-представление |
---|
{
"address": string
} |
Поля |
---|
address | string Необходимый. Почтовый адрес США для места, которое будет отображаться в видео. |
Тело ответа
Ответное сообщение для AerialView.RenderVideo
.
В случае успеха тело ответа содержит данные следующей структуры:
Поля |
---|
state | enum ( State ) Текущее состояние запроса на рендеринг. |
metadata | object ( VideoMetadata ) Содержит метаданные видео, устанавливаются только в том случае, если состояние ACTIVE . |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-08-29 UTC.
[null,null,["Последнее обновление: 2025-08-29 UTC."],[[["\u003cp\u003eSends a POST request to render a video of a US postal address using the Aerial View API.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires a JSON object with a mandatory "address" field containing the US postal address.\u003c/p\u003e\n"],["\u003cp\u003eThe response indicates the render request status and, if successful, includes video metadata in the response body.\u003c/p\u003e\n"],["\u003cp\u003eIf a video for the given address has already been rendered, the response returns metadata directly without initiating a new render.\u003c/p\u003e\n"]]],[],null,["# Method: videos.renderVideo\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.RenderVideoResponse.SCHEMA_REPRESENTATION)\n\nAdds an address to the renderer's queue if a video hasn't already been rendered. Otherwise, returns metadata about the video.\n\n### HTTP request\n\n`POST https://aerialview.googleapis.com/v1/videos:renderVideo`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------|\n| ``` { \"address\": string } ``` |\n\n| Fields ||\n|-----------|--------------------------------------------------------------------------------------|\n| `address` | `string` Required. A US postal address for the location to be rendered in the video. |\n\n### Response body\n\nResponse message for `AerialView.RenderVideo`.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"state\": enum (/maps/documentation/aerial-view/reference/rest/v1/State), \"metadata\": { object (/maps/documentation/aerial-view/reference/rest/v1/VideoMetadata) } } ``` |\n\n| Fields ||\n|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `state` | `enum (`[State](/maps/documentation/aerial-view/reference/rest/v1/State)`)` Current state of the render request. |\n| `metadata` | `object (`[VideoMetadata](/maps/documentation/aerial-view/reference/rest/v1/VideoMetadata)`)` Contains the video's metadata, only set if the state is `ACTIVE`. |"]]