Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ContinuousTestResult

Returns a new instance of GoogleCloudDialogflowCxV3beta1ContinuousTestResult.



3659
3660
3661
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3659

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3642
3643
3644
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3642

def name
  @name
end

#resultString

Corresponds to the JSON property result

Returns:

  • (String)


3647
3648
3649
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3647

def result
  @result
end

#run_timeString

Corresponds to the JSON property runTime

Returns:

  • (String)


3652
3653
3654
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3652

def run_time
  @run_time
end

#test_case_resultsArray<String>

Corresponds to the JSON property testCaseResults

Returns:

  • (Array<String>)


3657
3658
3659
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3657

def test_case_results
  @test_case_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3664
3665
3666
3667
3668
3669
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3664

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