class Google::Apis::CloudassetV1beta1::TimeWindow

A time window specified by its `start_time` and `end_time`.

Attributes

end_time[RW]

End time of the time window (inclusive). If not specified, the current timestamp is used instead. Corresponds to the JSON property `endTime` @return [String]

start_time[RW]

Start time of the time window (exclusive). Corresponds to the JSON property `startTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudasset_v1beta1/classes.rb, line 2217
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudasset_v1beta1/classes.rb, line 2222
def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @start_time = args[:start_time] if args.key?(:start_time)
end