Class: Google::Apis::ToolresultsV1beta3::ScreenshotCluster

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

Returns a new instance of ScreenshotCluster



1627
1628
1629
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1627

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

Instance Attribute Details

#activityString

A string that describes the activity of every screen in the cluster. Corresponds to the JSON property activity

Returns:

  • (String)


1607
1608
1609
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1607

def activity
  @activity
end

#cluster_idString

A unique identifier for the cluster. Corresponds to the JSON property clusterId

Returns:

  • (String)


1612
1613
1614
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1612

def cluster_id
  @cluster_id
end

#key_screenGoogle::Apis::ToolresultsV1beta3::Screen

A singular screen that represents the cluster as a whole. This screen will act as the "cover" of the entire cluster. When users look at the clusters, only the key screen from each cluster will be shown. Which screen is the key screen is determined by the ClusteringAlgorithm Corresponds to the JSON property keyScreen



1620
1621
1622
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1620

def key_screen
  @key_screen
end

#screensArray<Google::Apis::ToolresultsV1beta3::Screen>

Full list of screens. Corresponds to the JSON property screens



1625
1626
1627
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1625

def screens
  @screens
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1632
1633
1634
1635
1636
1637
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1632

def update!(**args)
  @activity = args[:activity] if args.key?(:activity)
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
  @key_screen = args[:key_screen] if args.key?(:key_screen)
  @screens = args[:screens] if args.key?(:screens)
end