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. Next Id: 3.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiPlatformCommonCreatePipelineJobApiErrorDetail

Returns a new instance of CloudAiPlatformCommonCreatePipelineJobApiErrorDetail.



428
429
430
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 428

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)


421
422
423
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 421

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)


426
427
428
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 426

def public_message
  @public_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



433
434
435
436
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 433

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