Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CorpusStatus

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

RagCorpus status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1CorpusStatus

Returns a new instance of GoogleCloudAiplatformV1CorpusStatus.



3796
3797
3798
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 3796

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)


3789
3790
3791
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 3789

def error_status
  @error_status
end

#stateString

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

Returns:

  • (String)


3794
3795
3796
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 3794

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3801
3802
3803
3804
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 3801

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