Class: Google::Apis::CloudsearchV1::ItemStatus
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ItemStatus
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ItemStatus
Returns a new instance of ItemStatus
1811 1812 1813 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 1811 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Status code.
Corresponds to the JSON property code
1799 1800 1801 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 1799 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
1804 1805 1806 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 1804 def processing_errors @processing_errors end |
#repository_errors ⇒ Array<Google::Apis::CloudsearchV1::RepositoryError>
Repository error reported by connector.
Corresponds to the JSON property repositoryErrors
1809 1810 1811 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 1809 def repository_errors @repository_errors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1816 1817 1818 1819 1820 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 1816 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 |