Class: Google::Apis::ToolresultsV1beta3::History
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ToolresultsV1beta3::History
 
 
- 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
A History represents a sorted list of Executions ordered by the start_timestamp_millis field (descending). It can be used to group all the Executions of a continuous build. Note that the ordering only operates on one- dimension. If a repository has multiple branches, it means that multiple histories will need to be used in order to order Executions per branch.
Instance Attribute Summary collapse
- 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A short human-readable (plain text) name to display in the UI.
 - 
  
    
      #history_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A unique identifier within a project for this History.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A name to uniquely identify a history within a project.
 - 
  
    
      #test_platform  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The platform of the test history.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ History 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of History.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ History
Returns a new instance of History.
      1118 1119 1120  | 
    
      # File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1118 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#display_name ⇒ String
A short human-readable (plain text) name to display in the UI. Maximum of 100
characters. - In response: present if set during create. - In create request:
optional
Corresponds to the JSON property displayName
      1097 1098 1099  | 
    
      # File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1097 def display_name @display_name end  | 
  
#history_id ⇒ String
A unique identifier within a project for this History. Returns
INVALID_ARGUMENT if this field is set or overwritten by the caller. - In
response always set - In create request: never set
Corresponds to the JSON property historyId
      1104 1105 1106  | 
    
      # File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1104 def history_id @history_id end  | 
  
#name ⇒ String
A name to uniquely identify a history within a project. Maximum of 200
characters. - In response always set - In create request: always set
Corresponds to the JSON property name
      1110 1111 1112  | 
    
      # File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1110 def name @name end  | 
  
#test_platform ⇒ String
The platform of the test history. - In response: always set. Returns the
platform of the last execution if unknown.
Corresponds to the JSON property testPlatform
      1116 1117 1118  | 
    
      # File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1116 def test_platform @test_platform end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1123 1124 1125 1126 1127 1128  | 
    
      # File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1123 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @history_id = args[:history_id] if args.key?(:history_id) @name = args[:name] if args.key?(:name) @test_platform = args[:test_platform] if args.key?(:test_platform) end  |