Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestCaseError

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

Returns a new instance of GoogleCloudDialogflowCxV3TestCaseError.



2476
2477
2478
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2476

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

Instance Attribute Details

#statusGoogle::Apis::DialogflowV2beta1::GoogleRpcStatus

Corresponds to the JSON property status



2469
2470
2471
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2469

def status
  @status
end

#test_caseGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestCase

Corresponds to the JSON property testCase



2474
2475
2476
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2474

def test_case
  @test_case
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2481
2482
2483
2484
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2481

def update!(**args)
  @status = args[:status] if args.key?(:status)
  @test_case = args[:test_case] if args.key?(:test_case)
end