Class: Google::Apis::TestingV1::CancelTestMatrixResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/testing_v1/classes.rb,
generated/google/apis/testing_v1/representations.rb,
generated/google/apis/testing_v1/representations.rb

Overview

Response containing the current state of the specified test matrix.

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

Returns a new instance of CancelTestMatrixResponse.



755
756
757
# File 'generated/google/apis/testing_v1/classes.rb', line 755

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

Instance Attribute Details

#test_stateString

The current rolled-up state of the test matrix. If this state is already final, then the cancelation request will have no effect. Corresponds to the JSON property testState

Returns:

  • (String)


753
754
755
# File 'generated/google/apis/testing_v1/classes.rb', line 753

def test_state
  @test_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



760
761
762
# File 'generated/google/apis/testing_v1/classes.rb', line 760

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