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

DiscoveryClient

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

Represents an installed Migration Center Discovery Client instance.

interface DiscoveryClient {
readonly createTime?: Date;
description?: string;
displayName?: string;
readonly errors?: Status[];
expireTime?: Date;
readonly heartbeatTime?: Date;
labels?: {
[key: string]: string;
}
;
readonly name?: string;
serviceAccount?: string;
readonly signalsEndpoint?: string;
source?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "ACTIVE"
| "OFFLINE"
| "DEGRADED"
| "EXPIRED";
ttl?: number;
readonly updateTime?: Date;
readonly version?: string;
}

§Properties

§
readonly createTime?: Date
[src]

Output only. Time when the discovery client was first created.

§
description?: string
[src]

Optional. Free text description. Maximum length is 1000 characters.

§
displayName?: string
[src]

Optional. Free text display name. Maximum length is 63 characters.

§
readonly errors?: Status[]
[src]

Output only. Errors affecting client functionality.

§
expireTime?: Date
[src]

Optional. Client expiration time in UTC. If specified, the backend will not accept new frames after this time.

§
readonly heartbeatTime?: Date
[src]

Output only. Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).

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

Optional. Labels as key value pairs.

§
readonly name?: string
[src]

Output only. Identifier. Full name of this discovery client.

§
serviceAccount?: string
[src]

Required. Service account used by the discovery client for various operation.

§
readonly signalsEndpoint?: string
[src]

Output only. This field is intended for internal use.

§
source?: string
[src]

Required. Immutable. Full name of the source object associated with this discovery client.

§
readonly state?: "STATE_UNSPECIFIED" | "ACTIVE" | "OFFLINE" | "DEGRADED" | "EXPIRED"
[src]

Output only. Current state of the discovery client.

§
ttl?: number
[src]

Optional. Input only. Client time-to-live. If specified, the backend will not accept new frames after this time. This field is input only. The derived expiration time is provided as output through the expire_time field.

§
readonly updateTime?: Date
[src]

Output only. Time when the discovery client was last updated. This value is not updated by heartbeats, to view the last heartbeat time please refer to the heartbeat_time field.

§
readonly version?: string
[src]

Output only. Client version, as reported in recent heartbeat.