class Google::Apis::CloudsearchV1::ItemStatus

This contains item's status and any errors.

Attributes

code[RW]

Status code. Corresponds to the JSON property `code` @return [String]

processing_errors[RW]

Error details in case the item is in ERROR state. Corresponds to the JSON property `processingErrors` @return [Array<Google::Apis::CloudsearchV1::ProcessingError>]

repository_errors[RW]

Repository error reported by connector. Corresponds to the JSON property `repositoryErrors` @return [Array<Google::Apis::CloudsearchV1::RepositoryError>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 2108
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudsearch_v1/classes.rb, line 2113
def update!(**args)
  @code = args[:code] if args.key?(:code)
  @processing_errors = args[:processing_errors] if args.key?(:processing_errors)
  @repository_errors = args[:repository_errors] if args.key?(:repository_errors)
end