Class BuildingInsightsResource.FindClosestRequest
Locates the closest building to a query point. Returns an error with code NOT_FOUND
if there are no
buildings within approximately 50m of the query point.
Inheritance
Inherited Members
Namespace: Google.Apis.Solar.v1
Assembly: Google.Apis.Solar.v1.dll
Syntax
public class BuildingInsightsResource.FindClosestRequest : SolarBaseServiceRequest<BuildingInsights>, IClientServiceRequest<BuildingInsights>, IClientServiceRequest
Constructors
FindClosestRequest(IClientService)
Constructs a new FindClosest request.
Declaration
public FindClosestRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Experiments
Optional. Specifies the pre-GA features to enable.
Declaration
[RequestParameter("experiments", RequestParameterType.Query)]
public virtual BuildingInsightsResource.FindClosestRequest.ExperimentsEnum? Experiments { get; set; }
Property Value
Type | Description |
---|---|
BuildingInsightsResource.FindClosestRequest.ExperimentsEnum? |
Remarks
Use this property to set a single value for the parameter, or ExperimentsList to set multiple values. Do not set both properties.
ExperimentsList
Optional. Specifies the pre-GA features to enable.
Declaration
[RequestParameter("experiments", RequestParameterType.Query)]
public virtual Repeatable<BuildingInsightsResource.FindClosestRequest.ExperimentsEnum> ExperimentsList { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<BuildingInsightsResource.FindClosestRequest.ExperimentsEnum> |
Remarks
Use this property to set one or more values for the parameter. Do not set both this property and Experiments.
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
LocationLatitude
The latitude in degrees. It must be in the range [-90.0, +90.0].
Declaration
[RequestParameter("location.latitude", RequestParameterType.Query)]
public virtual double? LocationLatitude { get; set; }
Property Value
Type | Description |
---|---|
double? |
LocationLongitude
The longitude in degrees. It must be in the range [-180.0, +180.0].
Declaration
[RequestParameter("location.longitude", RequestParameterType.Query)]
public virtual double? LocationLongitude { get; set; }
Property Value
Type | Description |
---|---|
double? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RequiredQuality
Optional. The minimum quality level allowed in the results. No result with lower quality than this will be returned. Not specifying this is equivalent to restricting to HIGH quality only.
Declaration
[RequestParameter("requiredQuality", RequestParameterType.Query)]
public virtual BuildingInsightsResource.FindClosestRequest.RequiredQualityEnum? RequiredQuality { get; set; }
Property Value
Type | Description |
---|---|
BuildingInsightsResource.FindClosestRequest.RequiredQualityEnum? |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes FindClosest parameter list.
Declaration
protected override void InitParameters()