Class: Google::Apis::SearchconsoleV1::RunMobileFriendlyTestRequest
- Inherits:
-
Object
- Object
- Google::Apis::SearchconsoleV1::RunMobileFriendlyTestRequest
- 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 request.
Instance Attribute Summary collapse
-
#request_screenshot ⇒ Boolean
(also: #request_screenshot?)
Whether or not screenshot is requested.
-
#url ⇒ String
URL for inspection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RunMobileFriendlyTestRequest
constructor
A new instance of RunMobileFriendlyTestRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RunMobileFriendlyTestRequest
Returns a new instance of RunMobileFriendlyTestRequest
124 125 126 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 124 def initialize(**args) update!(**args) end |
Instance Attribute Details
#request_screenshot ⇒ Boolean Also known as: request_screenshot?
Whether or not screenshot is requested. Default is false.
Corresponds to the JSON property requestScreenshot
116 117 118 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 116 def request_screenshot @request_screenshot end |
#url ⇒ String
URL for inspection.
Corresponds to the JSON property url
122 123 124 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 122 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
129 130 131 132 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 129 def update!(**args) @request_screenshot = args[:request_screenshot] if args.key?(:request_screenshot) @url = args[:url] if args.key?(:url) end |