Class: Google::Apis::CloudsearchV1::ItemStatus
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ItemStatus
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
This contains item's status and any errors.
Instance Attribute Summary collapse
-
#code ⇒ String
Status code.
-
#processing_errors ⇒ Array<Google::Apis::CloudsearchV1::ProcessingError>
Error details in case the item is in ERROR state.
-
#repository_errors ⇒ Array<Google::Apis::CloudsearchV1::RepositoryError>
Repository error reported by connector.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ItemStatus
constructor
A new instance of ItemStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ItemStatus
Returns a new instance of ItemStatus.
12590 12591 12592 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12590 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Status code.
Corresponds to the JSON property code
12578 12579 12580 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12578 def code @code end |
#processing_errors ⇒ Array<Google::Apis::CloudsearchV1::ProcessingError>
Error details in case the item is in ERROR state.
Corresponds to the JSON property processingErrors
12583 12584 12585 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12583 def processing_errors @processing_errors end |
#repository_errors ⇒ Array<Google::Apis::CloudsearchV1::RepositoryError>
Repository error reported by connector.
Corresponds to the JSON property repositoryErrors
12588 12589 12590 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12588 def repository_errors @repository_errors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12595 12596 12597 12598 12599 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12595 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 |