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 resource?: string
[src]Output only. The resource name of the discovered resource, should be API-agnostic. Example: "projects/{project_number}/networks/{network_id}".
§
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".