Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPredictionResultError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaPredictionResultError

Returns a new instance of GoogleCloudAiplatformV1beta1SchemaPredictionResultError.



27578
27579
27580
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27578

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

Instance Attribute Details

#messageString

Error message with additional details. Corresponds to the JSON property message

Returns:

  • (String)


27571
27572
27573
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27571

def message
  @message
end

#statusString

Error status. This will be serialized into the enum name e.g. "NOT_FOUND". Corresponds to the JSON property status

Returns:

  • (String)


27576
27577
27578
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27576

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27583
27584
27585
27586
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27583

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