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

Federation

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

Represents a federation of multiple backend metastores.

interface Federation {
backendMetastores?: {
[key: string]: BackendMetastore;
}
;
readonly createTime?: Date;
readonly endpointUri?: string;
labels?: {
[key: string]: string;
}
;
name?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "ACTIVE"
| "UPDATING"
| "DELETING"
| "ERROR";
readonly stateMessage?: string;
readonly uid?: string;
readonly updateTime?: Date;
version?: string;
}

§Properties

§
backendMetastores?: {
[key: string]: BackendMetastore;
}
[src]

A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number.

§
readonly createTime?: Date
[src]

Output only. The time when the metastore federation was created.

§
readonly endpointUri?: string
[src]

Output only. The federation endpoint.

§
labels?: {
[key: string]: string;
}
[src]

User-defined labels for the metastore federation.

§
name?: string
[src]

Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.

§
readonly state?: "STATE_UNSPECIFIED" | "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "ERROR"
[src]

Output only. The current state of the federation.

§
readonly stateMessage?: string
[src]

Output only. Additional information about the current state of the metastore federation, if available.

§
readonly uid?: string
[src]

Output only. The globally unique resource identifier of the metastore federation.

§
readonly updateTime?: Date
[src]

Output only. The time when the metastore federation was last updated.

§
version?: string
[src]

Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.