Class: Google::Apis::ToolresultsV1beta3::GraphicsStatsBucket

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

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) ⇒ GraphicsStatsBucket

Returns a new instance of GraphicsStatsBucket



886
887
888
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 886

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

Instance Attribute Details

#frame_countFixnum

Number of frames in the bucket. Corresponds to the JSON property frameCount

Returns:

  • (Fixnum)


879
880
881
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 879

def frame_count
  @frame_count
end

#render_millisFixnum

Lower bound of render time in milliseconds. Corresponds to the JSON property renderMillis

Returns:

  • (Fixnum)


884
885
886
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 884

def render_millis
  @render_millis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



891
892
893
894
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 891

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