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

Constructor Details

#initialize(**args) ⇒ GraphicsStatsBucket

Returns a new instance of GraphicsStatsBucket.



1046
1047
1048
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1046

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)


1039
1040
1041
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1039

def frame_count
  @frame_count
end

#render_millisFixnum

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

Returns:

  • (Fixnum)


1044
1045
1046
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1044

def render_millis
  @render_millis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1051
1052
1053
1054
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1051

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