Class: Google::Apis::TestingV1::SystraceSetup

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_secondsFixnum

Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace. Corresponds to the JSON property durationSeconds

Returns:

  • (Fixnum)


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