Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata

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

Overview

Metadata returned for the TestCases.ImportTestCases long running operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata

Returns a new instance of GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata.



5521
5522
5523
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5521

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

Instance Attribute Details

#errorsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestCaseError>

Errors for failed test cases. Corresponds to the JSON property errors



5519
5520
5521
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5519

def errors
  @errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5526
5527
5528
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5526

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