class Google::Apis::ScriptV1::Metrics
Resource containing usage stats for a given script, based on the supplied filter and mask present in the request.
Attributes
active_users[RW]
Number of active users. Corresponds to the JSON property `activeUsers` @return [Array<Google::Apis::ScriptV1::MetricsValue>]
failed_executions[RW]
Number of failed executions. Corresponds to the JSON property `failedExecutions` @return [Array<Google::Apis::ScriptV1::MetricsValue>]
total_executions[RW]
Number of total executions. Corresponds to the JSON property `totalExecutions` @return [Array<Google::Apis::ScriptV1::MetricsValue>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/script_v1/classes.rb, line 818 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 823 def update!(**args) @active_users = args[:active_users] if args.key?(:active_users) @failed_executions = args[:failed_executions] if args.key?(:failed_executions) @total_executions = args[:total_executions] if args.key?(:total_executions) end