Skip to contents

A construction-time preset for a Google Search Console submission. It bundles the three per-source axes a GSC submission implies into one coherent context so a caller need not hand-set each one: submission_channel = "search_console_api", authority_evidence = "verified_property_set", and the verified property_scope the submission is bound to. It is a thin wrapper over ruleset_context(); every axis stays independently overridable by calling ruleset_context() directly.

Usage

gsc_submission(property)

Arguments

property

The verified property/site URL the submission is bound to. Required: it is the irreducible input and cannot be inferred. Its shape is validated by ruleset_context().

Value

An object of class sitemapr_ruleset_context, the same shape ruleset_context() returns.

See also

ruleset_context() for the general constructor and its axes.

Examples

gsc_submission("https://example.com/")
#> $submission_channel
#> [1] "search_console_api"
#> 
#> $discovery_provenance
#> [1] "organic"
#> 
#> $property_scope
#> [1] "https://example.com/"
#> 
#> $authority_evidence
#> [1] "verified_property_set"
#> 
#> attr(,"class")
#> [1] "sitemapr_ruleset_context"