Class: Google::Apis::AiplatformV1::CloudAiPlatformCommonCreatePipelineJobApiErrorDetail

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

Overview

Create API error message for Vertex Pipeline. Next Id: 3.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiPlatformCommonCreatePipelineJobApiErrorDetail

Returns a new instance of CloudAiPlatformCommonCreatePipelineJobApiErrorDetail.



492
493
494
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 492

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)


485
486
487
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 485

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)


490
491
492
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 490

def public_message
  @public_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



497
498
499
500
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 497

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