Class: Google::Apis::SearchconsoleV1::AmpIssue

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

AMP issue.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AmpIssue

Returns a new instance of AmpIssue.



105
106
107
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 105

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

Instance Attribute Details

#issue_messageString

Brief description of this issue. Corresponds to the JSON property issueMessage

Returns:

  • (String)


98
99
100
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 98

def issue_message
  @issue_message
end

#severityString

Severity of this issue: WARNING or ERROR. Corresponds to the JSON property severity

Returns:

  • (String)


103
104
105
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 103

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



110
111
112
113
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 110

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