Class: Google::Apis::ToolresultsV1beta3::ScreenshotCluster
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::ScreenshotCluster
- 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
-
#activity ⇒ String
A string that describes the activity of every screen in the cluster.
-
#cluster_id ⇒ String
A unique identifier for the cluster.
-
#key_screen ⇒ Google::Apis::ToolresultsV1beta3::Screen
A singular screen that represents the cluster as a whole.
-
#screens ⇒ Array<Google::Apis::ToolresultsV1beta3::Screen>
Full list of screens.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ScreenshotCluster
constructor
A new instance of ScreenshotCluster.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ScreenshotCluster
Returns a new instance of ScreenshotCluster.
2097 2098 2099 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2097 def initialize(**args) update!(**args) end |
Instance Attribute Details
#activity ⇒ String
A string that describes the activity of every screen in the cluster.
Corresponds to the JSON property activity
2077 2078 2079 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2077 def activity @activity end |
#cluster_id ⇒ String
A unique identifier for the cluster.
Corresponds to the JSON property clusterId
2082 2083 2084 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2082 def cluster_id @cluster_id end |
#key_screen ⇒ Google::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
2090 2091 2092 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2090 def key_screen @key_screen end |
#screens ⇒ Array<Google::Apis::ToolresultsV1beta3::Screen>
Full list of screens.
Corresponds to the JSON property screens
2095 2096 2097 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2095 def screens @screens end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2102 2103 2104 2105 2106 2107 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2102 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 |