Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FileStatus

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

RagFile status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1FileStatus

Returns a new instance of GoogleCloudAiplatformV1FileStatus.



10624
10625
10626
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10624

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)


10617
10618
10619
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10617

def error_status
  @error_status
end

#stateString

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

Returns:

  • (String)


10622
10623
10624
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10622

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10629
10630
10631
10632
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10629

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