Class: Google::Apis::SearchconsoleV1::InspectUrlIndexRequest
- Inherits:
-
Object
- Object
- Google::Apis::SearchconsoleV1::InspectUrlIndexRequest
- 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
Index inspection request.
Instance Attribute Summary collapse
-
#inspection_url ⇒ String
Required.
-
#language_code ⇒ String
Optional.
-
#site_url ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InspectUrlIndexRequest
constructor
A new instance of InspectUrlIndexRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InspectUrlIndexRequest
Returns a new instance of InspectUrlIndexRequest.
409 410 411 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 409 def initialize(**args) update!(**args) end |
Instance Attribute Details
#inspection_url ⇒ String
Required. URL to inspect. Must be under the property specified in "site_url".
Corresponds to the JSON property inspectionUrl
393 394 395 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 393 def inspection_url @inspection_url end |
#language_code ⇒ String
Optional. An IETF BCP-47
language code representing the requested language for translated issue
messages, e.g. "en-US", "or "de-CH". Default value is "en-US".
Corresponds to the JSON property languageCode
400 401 402 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 400 def language_code @language_code end |
#site_url ⇒ String
Required. The URL of the property as defined in Search Console. Examples:
http://www.example.com/
for a URL-prefix property, or sc-domain:example.com
for a Domain property.
Corresponds to the JSON property siteUrl
407 408 409 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 407 def site_url @site_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
414 415 416 417 418 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 414 def update!(**args) @inspection_url = args[:inspection_url] if args.key?(:inspection_url) @language_code = args[:language_code] if args.key?(:language_code) @site_url = args[:site_url] if args.key?(:site_url) end |