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

DiscoveryMetadata

import type { DiscoveryMetadata } from "https://googleapis.deno.dev/v1/cloudnumberregistry:v1alpha.ts";

Discovery metadata of the discovered resource.

interface DiscoveryMetadata {
readonly createTime?: Date;
readonly eventTime?: Date;
readonly resource?: string;
readonly resourceUri?: string;
readonly sourceId?: string;
readonly sourceSubId?: string;
readonly state?:
| "RESOURCE_STATE_UNSPECIFIED"
| "INVALID"
| "EXISTS"
| "DOES_NOT_EXIST"
| "ERROR";
readonly updateTime?: Date;
}

§Properties

§
readonly createTime?: Date
[src]

Output only. The time when the resource was created.

§
readonly eventTime?: Date
[src]

Output only. The time when the event happened.

§
readonly resource?: string
[src]

Output only. The resource name of the discovered resource, should be API-agnostic. Example: "projects/{project_number}/networks/{network_id}".

§
readonly resourceUri?: string
[src]

Output only. The resource uri of the discovered resource.

§
readonly sourceId?: string
[src]

Output only. The canonical google.aip.dev/122 name of the source resource.

§
readonly sourceSubId?: string
[src]

Output only. A single source resource can be the source of multiple CNR resources. This sub_id is used to distinguish between the different CNR resources derived from the same upstream resource. For example, a single subnetwork can be the source of multiple ranges, one for each protocol. In this case, the sub_id could be "private-ipv4" or "private-ipv6".

§
readonly state?: "RESOURCE_STATE_UNSPECIFIED" | "INVALID" | "EXISTS" | "DOES_NOT_EXIST" | "ERROR"
[src]

Output only. The state of the resource.

§
readonly updateTime?: Date
[src]

Output only. The time when the resource was last modified.