Class: Google::Apis::SearchconsoleV1::RunMobileFriendlyTestResponse
- Inherits:
-
Object
- Object
- Google::Apis::SearchconsoleV1::RunMobileFriendlyTestResponse
- 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
Mobile-friendly test response, including mobile-friendly issues and resource issues.
Instance Attribute Summary collapse
-
#mobile_friendliness ⇒ String
Test verdict, whether the page is mobile friendly or not.
-
#mobile_friendly_issues ⇒ Array<Google::Apis::SearchconsoleV1::MobileFriendlyIssue>
List of mobile-usability issues.
-
#resource_issues ⇒ Array<Google::Apis::SearchconsoleV1::ResourceIssue>
Information about embedded resources issues.
-
#screenshot ⇒ Google::Apis::SearchconsoleV1::Image
Describe image data.
-
#test_status ⇒ Google::Apis::SearchconsoleV1::TestStatus
Final state of the test, including error details if necessary.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RunMobileFriendlyTestResponse
constructor
A new instance of RunMobileFriendlyTestResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RunMobileFriendlyTestResponse
Returns a new instance of RunMobileFriendlyTestResponse
74 75 76 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 74 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mobile_friendliness ⇒ String
Test verdict, whether the page is mobile friendly or not.
Corresponds to the JSON property mobileFriendliness
52 53 54 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 52 def mobile_friendliness @mobile_friendliness end |
#mobile_friendly_issues ⇒ Array<Google::Apis::SearchconsoleV1::MobileFriendlyIssue>
List of mobile-usability issues.
Corresponds to the JSON property mobileFriendlyIssues
57 58 59 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 57 def mobile_friendly_issues @mobile_friendly_issues end |
#resource_issues ⇒ Array<Google::Apis::SearchconsoleV1::ResourceIssue>
Information about embedded resources issues.
Corresponds to the JSON property resourceIssues
67 68 69 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 67 def resource_issues @resource_issues end |
#screenshot ⇒ Google::Apis::SearchconsoleV1::Image
Describe image data.
Corresponds to the JSON property screenshot
62 63 64 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 62 def screenshot @screenshot end |
#test_status ⇒ Google::Apis::SearchconsoleV1::TestStatus
Final state of the test, including error details if necessary.
Corresponds to the JSON property testStatus
72 73 74 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 72 def test_status @test_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
79 80 81 82 83 84 85 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 79 def update!(**args) @mobile_friendliness = args[:mobile_friendliness] if args.key?(:mobile_friendliness) @mobile_friendly_issues = args[:mobile_friendly_issues] if args.key?(:mobile_friendly_issues) @screenshot = args[:screenshot] if args.key?(:screenshot) @resource_issues = args[:resource_issues] if args.key?(:resource_issues) @test_status = args[:test_status] if args.key?(:test_status) end |