Class: Google::Apis::SearchconsoleV1::MobileUsabilityIssue

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

Mobile-usability issue.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MobileUsabilityIssue

Returns a new instance of MobileUsabilityIssue.



528
529
530
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 528

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

Instance Attribute Details

#issue_typeString

Mobile-usability issue type. Corresponds to the JSON property issueType

Returns:

  • (String)


516
517
518
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 516

def issue_type
  @issue_type
end

#messageString

Additional information regarding the issue. Corresponds to the JSON property message

Returns:

  • (String)


521
522
523
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 521

def message
  @message
end

#severityString

Not returned; reserved for future use. Corresponds to the JSON property severity

Returns:

  • (String)


526
527
528
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 526

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



533
534
535
536
537
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 533

def update!(**args)
  @issue_type = args[:issue_type] if args.key?(:issue_type)
  @message = args[:message] if args.key?(:message)
  @severity = args[:severity] if args.key?(:severity)
end