Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TestCase

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1TestCase.



5807
5808
5809
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5807

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

Instance Attribute Details

#creation_timeString

Corresponds to the JSON property creationTime

Returns:

  • (String)


5770
5771
5772
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5770

def creation_time
  @creation_time
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


5775
5776
5777
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5775

def display_name
  @display_name
end

#last_test_resultGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TestCaseResult

Corresponds to the JSON property lastTestResult



5780
5781
5782
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5780

def last_test_result
  @last_test_result
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


5785
5786
5787
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5785

def name
  @name
end

#notesString

Corresponds to the JSON property notes

Returns:

  • (String)


5790
5791
5792
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5790

def notes
  @notes
end

#tagsArray<String>

Corresponds to the JSON property tags

Returns:

  • (Array<String>)


5795
5796
5797
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5795

def tags
  @tags
end

#test_case_conversation_turnsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ConversationTurn>

Corresponds to the JSON property testCaseConversationTurns



5800
5801
5802
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5800

def test_case_conversation_turns
  @test_case_conversation_turns
end

#test_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TestConfig

Corresponds to the JSON property testConfig



5805
5806
5807
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5805

def test_config
  @test_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5812

def update!(**args)
  @creation_time = args[:creation_time] if args.key?(:creation_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @last_test_result = args[:last_test_result] if args.key?(:last_test_result)
  @name = args[:name] if args.key?(:name)
  @notes = args[:notes] if args.key?(:notes)
  @tags = args[:tags] if args.key?(:tags)
  @test_case_conversation_turns = args[:test_case_conversation_turns] if args.key?(:test_case_conversation_turns)
  @test_config = args[:test_config] if args.key?(:test_config)
end