# Assured Workloads for Government V1 API - Class Google::Cloud::AssuredWorkloads::V1::TimeWindow (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 Reference documentation and code samples for the Assured Workloads for Government V1 API class Google::Cloud::AssuredWorkloads::V1::TimeWindow.

Interval defining a time window.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #end_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-assured_workloads-v1/latest/Google-Protobuf-Timestamp)) --- The end of the time window.

### #end_time=

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

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-assured_workloads-v1/latest/Google-Protobuf-Timestamp)) --- The end of the time window.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-assured_workloads-v1/latest/Google-Protobuf-Timestamp)) --- The end of the time window.

### #start_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-assured_workloads-v1/latest/Google-Protobuf-Timestamp)) --- The start of the time window.

### #start_time=

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

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-assured_workloads-v1/latest/Google-Protobuf-Timestamp)) --- The start of the time window.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-assured_workloads-v1/latest/Google-Protobuf-Timestamp)) --- The start of the time window.