Class RenderVideoRequest
- Namespace
- GoogleMapsApi.Entities.AerialView.Request
- Assembly
- GoogleMapsApi.dll
Request for the Aerial View API renderVideo endpoint
(POST https://aerialview.googleapis.com/v1/videos:renderVideo).
Enqueues rendering of a cinematic flyover video for a US postal address.
public sealed class RenderVideoRequest : MapsBaseRequest
- Inheritance
-
RenderVideoRequest
- Inherited Members
Remarks
Rendering is asynchronous and can take a long time (up to a few hours). The response carries a Processing state plus a video id; poll LookupVideoRequest by that id until the state becomes Active (use exponential backoff). If a video already exists for the address, this returns immediately. The render endpoint itself is not billed.
Properties
Address
The US postal address to render a flyover for. Required.
public string Address { get; set; }
Property Value
Methods
GetRequestBody()
Builds the body to send with this request, or null for endpoints that use GET with
query-string parameters only. Derived requests that target POST-based endpoints (for example,
Address Validation) override this to return a JSON HttpContent; when the engine
sees a non-null body it issues a POST instead of a GET.
protected override HttpContent? GetRequestBody()
Returns
- HttpContent
The HTTP content to send, or
nullfor a GET request.
GetUri()
Builds the absolute request URI, including scheme, base URL, and serialized query-string parameters.
public override Uri GetUri()
Returns
- Uri
The fully composed URI to send to the Google Maps API.