Class: Google::Apis::ToolresultsV1::PerformedMonkeyActions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/toolresults_v1/classes.rb,
generated/google/apis/toolresults_v1/representations.rb,
generated/google/apis/toolresults_v1/representations.rb

Overview

A notification that Robo performed some monkey actions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PerformedMonkeyActions

Returns a new instance of PerformedMonkeyActions.



486
487
488
# File 'generated/google/apis/toolresults_v1/classes.rb', line 486

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#total_actionsFixnum

The total number of monkey actions performed during the crawl. Corresponds to the JSON property totalActions

Returns:

  • (Fixnum)


484
485
486
# File 'generated/google/apis/toolresults_v1/classes.rb', line 484

def total_actions
  @total_actions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



491
492
493
# File 'generated/google/apis/toolresults_v1/classes.rb', line 491

def update!(**args)
  @total_actions = args[:total_actions] if args.key?(:total_actions)
end