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



140
141
142
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 140

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

Instance Attribute Details

#detailsString

Error details if applicable. Corresponds to the JSON property details

Returns:

  • (String)


138
139
140
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 138

def details
  @details
end

#statusString

Status of the test. Corresponds to the JSON property status

Returns:

  • (String)


133
134
135
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 133

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



145
146
147
148
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 145

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