Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ImportTestCasesMetadata

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

Returns a new instance of GoogleCloudDialogflowCxV3ImportTestCasesMetadata.



872
873
874
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 872

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

Instance Attribute Details

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

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



870
871
872
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 870

def errors
  @errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



877
878
879
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 877

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