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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/toolresults_v1beta3/classes.rb,
lib/google/apis/toolresults_v1beta3/representations.rb,
lib/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.



1073
1074
1075
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1073

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)


1066
1067
1068
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1066

def frame_count
  @frame_count
end

#render_millisFixnum

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

Returns:

  • (Fixnum)


1071
1072
1073
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1071

def render_millis
  @render_millis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1078
1079
1080
1081
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1078

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