Show / Hide Table of Contents

Class BuildingInsightsResource.FindClosestRequest

Locates the building whose centroid is closest to a query point. Returns an error with code NOT_FOUND if there are no buildings within approximately 50m of the query point.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<BuildingInsights>
SolarBaseServiceRequest<BuildingInsights>
BuildingInsightsResource.FindClosestRequest
Implements
IClientServiceRequest<BuildingInsights>
IClientServiceRequest
Inherited Members
SolarBaseServiceRequest<BuildingInsights>.Xgafv
SolarBaseServiceRequest<BuildingInsights>.AccessToken
SolarBaseServiceRequest<BuildingInsights>.Alt
SolarBaseServiceRequest<BuildingInsights>.Callback
SolarBaseServiceRequest<BuildingInsights>.Fields
SolarBaseServiceRequest<BuildingInsights>.Key
SolarBaseServiceRequest<BuildingInsights>.OauthToken
SolarBaseServiceRequest<BuildingInsights>.PrettyPrint
SolarBaseServiceRequest<BuildingInsights>.QuotaUser
SolarBaseServiceRequest<BuildingInsights>.UploadType
SolarBaseServiceRequest<BuildingInsights>.UploadProtocol
ClientServiceRequest<BuildingInsights>.Execute()
ClientServiceRequest<BuildingInsights>.ExecuteAsStream()
ClientServiceRequest<BuildingInsights>.ExecuteAsync()
ClientServiceRequest<BuildingInsights>.ExecuteAsync(CancellationToken)
ClientServiceRequest<BuildingInsights>.ExecuteAsStreamAsync()
ClientServiceRequest<BuildingInsights>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<BuildingInsights>.CreateRequest(bool?)
ClientServiceRequest<BuildingInsights>.GenerateRequestUri()
ClientServiceRequest<BuildingInsights>.GetBody()
ClientServiceRequest<BuildingInsights>.GetDefaultETagAction(string)
ClientServiceRequest<BuildingInsights>.ETagAction
ClientServiceRequest<BuildingInsights>.ModifyRequest
ClientServiceRequest<BuildingInsights>.ValidateParameters
ClientServiceRequest<BuildingInsights>.ApiVersion
ClientServiceRequest<BuildingInsights>.RequestParameters
ClientServiceRequest<BuildingInsights>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<BuildingInsights>.HttpMethod

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
ClientServiceRequest<BuildingInsights>.MethodName

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
ClientServiceRequest<BuildingInsights>.RestPath

Methods

InitParameters()

Initializes FindClosest parameter list.

Declaration
protected override void InitParameters()
Overrides
SolarBaseServiceRequest<BuildingInsights>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX