Class: Google::Apis::SearchconsoleV1::TestStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/searchconsole_v1/classes.rb,
generated/google/apis/searchconsole_v1/representations.rb,
generated/google/apis/searchconsole_v1/representations.rb

Overview

Final state of the test, including error details if necessary.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TestStatus

Returns a new instance of TestStatus



77
78
79
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 77

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#detailsString

Error details if applicable. Corresponds to the JSON property details

Returns:

  • (String)


75
76
77
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 75

def details
  @details
end

#statusString

Status of the test. Corresponds to the JSON property status

Returns:

  • (String)


70
71
72
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 70

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



82
83
84
85
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 82

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