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



193
194
195
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 193

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

Instance Attribute Details

#detailsString

Error details if applicable. Corresponds to the JSON property details

Returns:

  • (String)


186
187
188
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 186

def details
  @details
end

#statusString

Status of the test. Corresponds to the JSON property status

Returns:

  • (String)


191
192
193
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 191

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



198
199
200
201
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 198

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