Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictionResultError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaPredictionResultError

Returns a new instance of GoogleCloudAiplatformV1SchemaPredictionResultError.



18209
18210
18211
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18209

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

Instance Attribute Details

#messageString

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

Returns:

  • (String)


18202
18203
18204
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18202

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)


18207
18208
18209
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18207

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18214
18215
18216
18217
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18214

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