- [Resource: ReliabilityRisk](https://docs.cloud.google.com/compute/docs/reference/rest/v1/reliabilityRisks#ReliabilityRisk)
  - [JSON representation](https://docs.cloud.google.com/compute/docs/reference/rest/v1/reliabilityRisks#ReliabilityRisk.SCHEMA_REPRESENTATION)
    - [JSON representation](https://docs.cloud.google.com/compute/docs/reference/rest/v1/reliabilityRisks#ReliabilityRisk.SCHEMA_REPRESENTATION.details.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/compute/docs/reference/rest/v1/reliabilityRisks#METHODS_SUMMARY)

## Resource: ReliabilityRisk

Represents a ReliabilityRisk resource.

| JSON representation |
|---|
| ``` { "kind": string, "name": string, "id": string, "description": string, "creationTimestamp": string, "details": { "globalDnsInsight": { "projectDefaultIsGlobalDns": boolean, "queryObservationWindow": string, "totalQueryCount": string, "riskyQueryCount": string }, "lastUpdateTimestamp": string, "duration": string, "type": enum, "severity": enum }, "recommendation": { "content": string, "referenceUrl": string }, "selfLink": string, "selfLinkWithId": string } ``` |

| Fields ||
|---|---|
| `kind` | `string` Output only. Type of resource. Always `compute#reliabilityRisk` for reliability risks. |
| `name` | `string` Name of the resource. The name must be 1-63 characters long and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). |
| `id` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The unique identifier for the resource. This identifier is defined by the server. |
| `description` | `string` An optional textual description of the resource; provided when the resource is created. |
| `creationTimestamp` | `string` Output only. Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
| `details` | `object` Output only. Details of the reliability risk resource |
| `details.globalDnsInsight` | `object` Insight details for global DNS risk. |
| `details.globalDnsInsight.projectDefaultIsGlobalDns` | `boolean` Indicates whether the project's default DNS setting is global DNS. |
| `details.globalDnsInsight.queryObservationWindow` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#duration` format)`` The observation window for the query counts. A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: `"3.5s"`. |
| `details.globalDnsInsight.totalQueryCount` | `string (https://developers.google.com/discovery/v1/type-format format)` The total number of queries in the observation window. |
| `details.globalDnsInsight.riskyQueryCount` | `string (https://developers.google.com/discovery/v1/type-format format)` The number of queries that are risky. This is always less than or equal to totalQueryCount. |
| `details.lastUpdateTimestamp` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The last time the risk was updated. 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: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `details.duration` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#duration` format)`` The duration of the risk since it was detected. A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: `"3.5s"`. |
| `details.type` | `enum` The type of risk. |
| `details.severity` | `enum` The severity of the risk. |
| `recommendation` | `object` The recommendation to mitigate the risk. |
| `recommendation.content` | `string` Mitigation guide for the risk. |
| `recommendation.referenceUrl` | `string` URL referencing a more detailed mitigation guide. |
| `selfLink` | `string` Output only. Server-defined URL for the resource. |
| `selfLinkWithId` | `string` Output only. Server-defined URL for this resource with the resource id. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/compute/docs/reference/rest/v1/reliabilityRisks/get` | Returns the specified ReliabilityRisk resource. |
| ### `https://docs.cloud.google.com/compute/docs/reference/rest/v1/reliabilityRisks/list` | Retrieves the list of reliabilityRisks available in the specified project. |