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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TestStatus

Returns a new instance of TestStatus.



915
916
917
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 915

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

Instance Attribute Details

#detailsString

Error details if applicable. Corresponds to the JSON property details

Returns:

  • (String)


908
909
910
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 908

def details
  @details
end

#statusString

Status of the test. Corresponds to the JSON property status

Returns:

  • (String)


913
914
915
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 913

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



920
921
922
923
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 920

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