Discovery metadata of the discovered resource.
| JSON representation |
|---|
{
"eventTime": string,
"createTime": string,
"updateTime": string,
"state": enum ( |
| Fields | |
|---|---|
eventTime |
Output only. The time when the event happened. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
createTime |
Output only. The time when the resource was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The time when the resource was last modified. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
state |
Output only. The state of the resource. |
resource |
Output only. The resource name of the discovered resource, should be API-agnostic. Example: "projects/{project_number}/networks/{network_id}". |
resourceUri |
Output only. The resource uri of the discovered resource. |
sourceId |
Output only. The canonical google.aip.dev/122 name of the source resource. |
sourceSubId |
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". |
ResourceState
The state of the resource.
| Enums | |
|---|---|
RESOURCE_STATE_UNSPECIFIED |
Unspecified state. |
INVALID |
The resource is in an invalid state. |
EXISTS |
The resource exists in the backing store (is not tombstoned or completely missing) and there were no failures reading out the resource level metadata. |
DOES_NOT_EXIST |
Resource does not exist or has been deleted or soft-deleted. |
ERROR |
There was an error reading out the resource level metadata. |