Class: Google::Apis::TestingV1::SystraceSetup
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::SystraceSetup
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/testing_v1/classes.rb,
generated/google/apis/testing_v1/representations.rb,
generated/google/apis/testing_v1/representations.rb
Instance Attribute Summary collapse
-
#duration_seconds ⇒ Fixnum
Systrace duration in seconds.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SystraceSetup
constructor
A new instance of SystraceSetup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SystraceSetup
Returns a new instance of SystraceSetup.
1983 1984 1985 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1983 def initialize(**args) update!(**args) end |
Instance Attribute Details
#duration_seconds ⇒ Fixnum
Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables
systrace.
Corresponds to the JSON property durationSeconds
1981 1982 1983 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1981 def duration_seconds @duration_seconds end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1988 1989 1990 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1988 def update!(**args) @duration_seconds = args[:duration_seconds] if args.key?(:duration_seconds) end |