0.9.0 (latest) 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Chronicle V1 API class Google::Cloud::Chronicle::V1::DashboardQuery::Input.

Input to the query like time window.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #relative_time

    def relative_time() -> ::Google::Cloud::Chronicle::V1::DashboardQuery::Input::RelativeTime

**Returns**

- ([::Google::Cloud::Chronicle::V1::DashboardQuery::Input::RelativeTime](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Cloud-Chronicle-V1-DashboardQuery-Input-RelativeTime)) --- time range for last x units.


  Note: The following fields are mutually exclusive: `relative_time`, `time_window`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #relative_time=

    def relative_time=(value) -> ::Google::Cloud::Chronicle::V1::DashboardQuery::Input::RelativeTime

**Parameter**

- **value** ([::Google::Cloud::Chronicle::V1::DashboardQuery::Input::RelativeTime](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Cloud-Chronicle-V1-DashboardQuery-Input-RelativeTime)) --- time range for last x units.


  Note: The following fields are mutually exclusive: `relative_time`, `time_window`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Chronicle::V1::DashboardQuery::Input::RelativeTime](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Cloud-Chronicle-V1-DashboardQuery-Input-RelativeTime)) --- time range for last x units.


  Note: The following fields are mutually exclusive: `relative_time`, `time_window`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #time_window

    def time_window() -> ::Google::Type::Interval

**Returns**

- ([::Google::Type::Interval](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Type-Interval)) --- time range to fetch the data for.


  Note: The following fields are mutually exclusive: `time_window`, `relative_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #time_window=

    def time_window=(value) -> ::Google::Type::Interval

**Parameter**

- **value** ([::Google::Type::Interval](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Type-Interval)) --- time range to fetch the data for.


  Note: The following fields are mutually exclusive: `time_window`, `relative_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Type::Interval](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Type-Interval)) --- time range to fetch the data for.


  Note: The following fields are mutually exclusive: `time_window`, `relative_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.