Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ContinuousTestResult

Returns a new instance of GoogleCloudDialogflowCxV3beta1ContinuousTestResult.



4823
4824
4825
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4823

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


4806
4807
4808
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4806

def name
  @name
end

#resultString

Corresponds to the JSON property result

Returns:

  • (String)


4811
4812
4813
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4811

def result
  @result
end

#run_timeString

Corresponds to the JSON property runTime

Returns:

  • (String)


4816
4817
4818
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4816

def run_time
  @run_time
end

#test_case_resultsArray<String>

Corresponds to the JSON property testCaseResults

Returns:

  • (Array<String>)


4821
4822
4823
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4821

def test_case_results
  @test_case_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4828
4829
4830
4831
4832
4833
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4828

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