Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestCase

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

Returns a new instance of GoogleCloudDialogflowCxV3TestCase.



2451
2452
2453
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2451

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

Instance Attribute Details

#creation_timeString

Corresponds to the JSON property creationTime

Returns:

  • (String)


2414
2415
2416
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2414

def creation_time
  @creation_time
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


2419
2420
2421
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2419

def display_name
  @display_name
end

#last_test_resultGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestCaseResult

Corresponds to the JSON property lastTestResult



2424
2425
2426
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2424

def last_test_result
  @last_test_result
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


2429
2430
2431
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2429

def name
  @name
end

#notesString

Corresponds to the JSON property notes

Returns:

  • (String)


2434
2435
2436
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2434

def notes
  @notes
end

#tagsArray<String>

Corresponds to the JSON property tags

Returns:

  • (Array<String>)


2439
2440
2441
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2439

def tags
  @tags
end

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

Corresponds to the JSON property testCaseConversationTurns



2444
2445
2446
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2444

def test_case_conversation_turns
  @test_case_conversation_turns
end

#test_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestConfig

Corresponds to the JSON property testConfig



2449
2450
2451
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2449

def test_config
  @test_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2456

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