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

Replica

import type { Replica } from "https://googleapis.deno.dev/v1/analyticshub:v1.ts";

Represents the state of a replica of a shared dataset. It includes the geographic location of the replica and system-computed, output-only fields indicating its replication state and whether it is the primary replica.

interface Replica {
readonly location?: string;
readonly primaryState?: "PRIMARY_STATE_UNSPECIFIED" | "PRIMARY_REPLICA";
readonly replicaState?: "REPLICA_STATE_UNSPECIFIED" | "READY_TO_USE" | "UNAVAILABLE";
}

§Properties

§
readonly location?: string
[src]

Output only. The geographic location where the replica resides. See BigQuery locations for supported locations. Eg. "us-central1".

§
readonly primaryState?: "PRIMARY_STATE_UNSPECIFIED" | "PRIMARY_REPLICA"
[src]

Output only. Indicates that this replica is the primary replica.

§
readonly replicaState?: "REPLICA_STATE_UNSPECIFIED" | "READY_TO_USE" | "UNAVAILABLE"
[src]

Output only. Assigned by Analytics Hub based on real BigQuery replication state.