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.



760
761
762
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 760

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)


753
754
755
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 753

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)


758
759
760
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 758

def public_message
  @public_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



765
766
767
768
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 765

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