Class: Google::Apis::AiplatformV1beta1::CloudAiPlatformCommonCreatePipelineJobApiErrorDetail

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

Overview

Create API error message for Vertex Pipeline.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiPlatformCommonCreatePipelineJobApiErrorDetail

Returns a new instance of CloudAiPlatformCommonCreatePipelineJobApiErrorDetail.



745
746
747
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 745

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

Instance Attribute Details

#error_causeString

The error root cause returned by CreatePipelineJob API. Corresponds to the JSON property errorCause

Returns:

  • (String)


738
739
740
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 738

def error_cause
  @error_cause
end

#public_messageString

Public messages contains actionable items for the error cause. Corresponds to the JSON property publicMessage

Returns:

  • (String)


743
744
745
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 743

def public_message
  @public_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



750
751
752
753
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 750

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