Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CorpusStatus

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

RagCorpus status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CorpusStatus

Returns a new instance of GoogleCloudAiplatformV1beta1CorpusStatus.



11791
11792
11793
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11791

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)


11784
11785
11786
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11784

def error_status
  @error_status
end

#stateString

Output only. RagCorpus life state. Corresponds to the JSON property state

Returns:

  • (String)


11789
11790
11791
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11789

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11796
11797
11798
11799
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 11796

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