class Google::Apis::PolicyanalyzerV1::GoogleCloudPolicyanalyzerV1ObservationPeriod

Represents data observation period.

Attributes

end_time[RW]

The observation end time. The time in this timestamp is always `07:00:00Z`. Corresponds to the JSON property `endTime` @return [String]

start_time[RW]

The observation start time. The time in this timestamp is always `07:00:00Z`. Corresponds to the JSON property `startTime` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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