Class: Google::Apis::SearchconsoleV1::TestStatus
- Inherits:
-
Object
- Object
- Google::Apis::SearchconsoleV1::TestStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchconsole_v1/classes.rb,
lib/google/apis/searchconsole_v1/representations.rb,
lib/google/apis/searchconsole_v1/representations.rb
Overview
Final state of the test, including error details if necessary.
Instance Attribute Summary collapse
-
#details ⇒ String
Error details if applicable.
-
#status ⇒ String
Status of the test.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TestStatus
constructor
A new instance of TestStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TestStatus
Returns a new instance of TestStatus.
860 861 862 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 860 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ String
Error details if applicable.
Corresponds to the JSON property details
853 854 855 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 853 def details @details end |
#status ⇒ String
Status of the test.
Corresponds to the JSON property status
858 859 860 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 858 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
865 866 867 868 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 865 def update!(**args) @details = args[:details] if args.key?(:details) @status = args[:status] if args.key?(:status) end |