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.



570
571
572
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 570

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

Instance Attribute Details

#issue_typeString

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

Returns:

  • (String)


558
559
560
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 558

def issue_type
  @issue_type
end

#messageString

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

Returns:

  • (String)


563
564
565
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 563

def message
  @message
end

#severityString

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

Returns:

  • (String)


568
569
570
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 568

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



575
576
577
578
579
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 575

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