Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GitRemoteSettings

import type { GitRemoteSettings } from "https://googleapis.deno.dev/v1/dataform:v1beta1.ts";

Controls Git remote configuration for a repository.

interface GitRemoteSettings {
authenticationTokenSecretVersion?: string;
defaultBranch?: string;
sshAuthenticationConfig?: SshAuthenticationConfig;
readonly tokenStatus?:
| "TOKEN_STATUS_UNSPECIFIED"
| "NOT_FOUND"
| "INVALID"
| "VALID";
url?: string;
}

§Properties

§
authenticationTokenSecretVersion?: string
[src]

Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format projects/*\/secrets/*\/versions/*.

§
defaultBranch?: string
[src]

Required. The Git remote's default branch name.

§
sshAuthenticationConfig?: SshAuthenticationConfig
[src]

Optional. Authentication fields for remote uris using SSH protocol.

§
readonly tokenStatus?: "TOKEN_STATUS_UNSPECIFIED" | "NOT_FOUND" | "INVALID" | "VALID"
[src]

Output only. Deprecated: The field does not contain any token status information. Instead use https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus

§
url?: string
[src]

Required. The Git remote's URL.