Note this method is useful when you want to trigger Git Sync on demand or when you manage GitHub webhook delivery yourself.
Options
string
deprecated
Deprecated. Omit it. The option has no effect: a pull syncs every branch and tag of the upstream.
string
Token TTL for this invocation in seconds.
object[]
Ordered ref policy rules (
{ pattern, ops? }) in the JWT for this call. Code Storage uses the first rule that matches the target ref. Python: ref_policies. Go: RefPolicies with type storage.RefPolicyList. See Ref Policies.Response
Returnsvoid. Throws an error if the pull fails or if the repository is not configured for Git
Sync.