Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TestCase

Returns a new instance of GoogleCloudDialogflowCxV3TestCase.



7661
7662
7663
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7661

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

Instance Attribute Details

#creation_timeString

Corresponds to the JSON property creationTime

Returns:

  • (String)


7624
7625
7626
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7624

def creation_time
  @creation_time
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


7629
7630
7631
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7629

def display_name
  @display_name
end

#last_test_resultGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult

Corresponds to the JSON property lastTestResult



7634
7635
7636
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7634

def last_test_result
  @last_test_result
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


7639
7640
7641
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7639

def name
  @name
end

#notesString

Corresponds to the JSON property notes

Returns:

  • (String)


7644
7645
7646
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7644

def notes
  @notes
end

#tagsArray<String>

Corresponds to the JSON property tags

Returns:

  • (Array<String>)


7649
7650
7651
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7649

def tags
  @tags
end

#test_case_conversation_turnsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurn>

Corresponds to the JSON property testCaseConversationTurns



7654
7655
7656
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7654

def test_case_conversation_turns
  @test_case_conversation_turns
end

#test_configGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestConfig

Corresponds to the JSON property testConfig



7659
7660
7661
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7659

def test_config
  @test_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7666

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