class Google::Apis::ScriptV1::MetricsValue

Metrics value that holds number of executions counted.

Attributes

end_time[RW]

Required field indicating the end time of the interval. Corresponds to the JSON property `endTime` @return [String]

start_time[RW]

Required field indicating the start time of the interval. Corresponds to the JSON property `startTime` @return [String]

value[RW]

Indicates the number of executions counted. Corresponds to the JSON property `value` @return [Fixnum]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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