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



889
890
891
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 889

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)


882
883
884
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 882

def frame_count
  @frame_count
end

#render_millisFixnum

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

Returns:

  • (Fixnum)


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

def render_millis
  @render_millis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



894
895
896
897
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 894

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