Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::TimeWindow.
A time window specified by its start_time
and end_time
.
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) — End time of the time window (inclusive). If not specified, the current timestamp is used instead.
#end_time=
def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — End time of the time window (inclusive). If not specified, the current timestamp is used instead.
Returns
- (::Google::Protobuf::Timestamp) — End time of the time window (inclusive). If not specified, the current timestamp is used instead.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Start time of the time window (exclusive).
#start_time=
def start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Start time of the time window (exclusive).
Returns
- (::Google::Protobuf::Timestamp) — Start time of the time window (exclusive).