1.0.0 (latest) 1.0.0-beta01

    public sealed class PersonVehicleDetectionConfig : IMessage<PersonVehicleDetectionConfig>, IEquatable<PersonVehicleDetectionConfig>, IDeepCloneable<PersonVehicleDetectionConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Vision AI v1 API class PersonVehicleDetectionConfig.

Message describing PersonVehicleDetectionConfig.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> PersonVehicleDetectionConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PersonVehicleDetectionConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.PersonVehicleDetectionConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PersonVehicleDetectionConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.PersonVehicleDetectionConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PersonVehicleDetectionConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.PersonVehicleDetectionConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.VisionAI.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1)

## Assembly

Google.Cloud.VisionAI.V1.dll

## Constructors

### PersonVehicleDetectionConfig()

    public PersonVehicleDetectionConfig()

### PersonVehicleDetectionConfig(PersonVehicleDetectionConfig)

    public PersonVehicleDetectionConfig(PersonVehicleDetectionConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.PersonVehicleDetectionConfig` |

## Properties

### EnablePeopleCounting

    public bool EnablePeopleCounting { get; set; }

At least one of enable_people_counting and enable_vehicle_counting fields must be set to true. Whether to count the appearances of people, output counts have 'people' as the key.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### EnableVehicleCounting

    public bool EnableVehicleCounting { get; set; }

Whether to count the appearances of vehicles, output counts will have 'vehicle' as the key.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |