Reference documentation and code samples for the BigQuery Migration V2 API class Google::Cloud::Bigquery::Migration::V2::TimeInterval.
A time interval extending just after a start time through an end time. If the start time is the same as the end time, then the interval represents a single point in 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) — Required. The end of the time interval.
#end_time=
def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Required. The end of the time interval.
Returns
- (::Google::Protobuf::Timestamp) — Required. The end of the time interval.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.
#start_time=
def start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.
Returns
- (::Google::Protobuf::Timestamp) — Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.