Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FileStatus

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

RagFile status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1FileStatus

Returns a new instance of GoogleCloudAiplatformV1beta1FileStatus.



12230
12231
12232
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12230

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

Instance Attribute Details

#error_statusString

Output only. Only when the state field is ERROR. Corresponds to the JSON property errorStatus

Returns:

  • (String)


12223
12224
12225
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12223

def error_status
  @error_status
end

#stateString

Output only. RagFile state. Corresponds to the JSON property state

Returns:

  • (String)


12228
12229
12230
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12228

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12235
12236
12237
12238
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12235

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