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

Constructor Details

#initialize(**args) ⇒ TestStatus

Returns a new instance of TestStatus.



456
457
458
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 456

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

Instance Attribute Details

#detailsString

Error details if applicable. Corresponds to the JSON property details

Returns:

  • (String)


449
450
451
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 449

def details
  @details
end

#statusString

Status of the test. Corresponds to the JSON property status

Returns:

  • (String)


454
455
456
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 454

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



461
462
463
464
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 461

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