Class: Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse

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

Overview

Response message for AccessibilityService.ListStepAccessibilityClusters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListStepAccessibilityClustersResponse

Returns a new instance of ListStepAccessibilityClustersResponse.



1636
1637
1638
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1636

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

Instance Attribute Details

#clustersArray<Google::Apis::ToolresultsV1beta3::SuggestionClusterProto>

A sequence of accessibility suggestions, grouped into clusters. Within the sequence, clusters that belong to the same SuggestionCategory should be adjacent. Within each category, clusters should be ordered by their SuggestionPriority (ERRORs first). The categories should be ordered by their highest priority cluster. Corresponds to the JSON property clusters



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

def clusters
  @clusters
end

#nameString

A full resource name of the step. For example, projects/my-project/histories/ bh.1234567890abcdef/executions/ 1234567890123456789/steps/bs.1234567890abcdef Always presents. Corresponds to the JSON property name

Returns:

  • (String)


1634
1635
1636
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1634

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1641
1642
1643
1644
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1641

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