# Vision AI V1 API - Class Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult (v1.5.0)

1.5.0 (latest) 1.4.1 1.3.1 1.2.0 1.1.1 1.0.1 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult.

The prediction result proto for occupancy counting.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #current_time

    def current_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Timestamp)) --- Current timestamp.

### #current_time=

    def current_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Timestamp)) --- Current timestamp.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Timestamp)) --- Current timestamp.

### #dwell_time_info

    def dwell_time_info() -> ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::DwellTimeInfo>

**Returns**

- (::Array\<[::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::DwellTimeInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-OccupancyCountingPredictionResult-DwellTimeInfo)\>) --- Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

### #dwell_time_info=

    def dwell_time_info=(value) -> ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::DwellTimeInfo>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::DwellTimeInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-OccupancyCountingPredictionResult-DwellTimeInfo)\>) --- Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp
**Returns**

- (::Array\<[::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::DwellTimeInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-OccupancyCountingPredictionResult-DwellTimeInfo)\>) --- Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

### #identified_boxes

    def identified_boxes() -> ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox>

**Returns**

- (::Array\<[::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-OccupancyCountingPredictionResult-IdentifiedBox)\>) --- A list of identified boxes.

### #identified_boxes=

    def identified_boxes=(value) -> ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-OccupancyCountingPredictionResult-IdentifiedBox)\>) --- A list of identified boxes.
**Returns**

- (::Array\<[::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-OccupancyCountingPredictionResult-IdentifiedBox)\>) --- A list of identified boxes.

### #pts

    def pts() -> ::Integer

**Returns**

- (::Integer) --- The presentation timestamp of the frame.

### #pts=

    def pts=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The presentation timestamp of the frame.
**Returns**

- (::Integer) --- The presentation timestamp of the frame.

### #stats

    def stats() -> ::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats

**Returns**

- ([::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-OccupancyCountingPredictionResult-Stats)) --- Detection statistics.

### #stats=

    def stats=(value) -> ::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats

**Parameter**

- **value** ([::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-OccupancyCountingPredictionResult-Stats)) --- Detection statistics.
**Returns**

- ([::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Stats](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-OccupancyCountingPredictionResult-Stats)) --- Detection statistics.

### #track_info

    def track_info() -> ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::TrackInfo>

**Returns**

- (::Array\<[::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::TrackInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-OccupancyCountingPredictionResult-TrackInfo)\>) --- Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

### #track_info=

    def track_info=(value) -> ::Array<::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::TrackInfo>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::TrackInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-OccupancyCountingPredictionResult-TrackInfo)\>) --- Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.
**Returns**

- (::Array\<[::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::TrackInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-OccupancyCountingPredictionResult-TrackInfo)\>) --- Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.