reliability_risks
Creates, updates, deletes, gets or lists a reliability_risks resource.
Overview
| Name | reliability_risks |
| Type | Resource |
| Id | google.compute.reliability_risks |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string (uint64) | [Output Only] The unique identifier for the resource. This identifier is defined by the server. |
name | string | Name of the resource. The name must be 1-63 characters long and comply with RFC1035. (pattern: [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?) |
creationTimestamp | string | Output only. [Output Only] Creation timestamp in RFC3339 text format. |
description | string | An optional textual description of the resource; provided when the resource is created. |
details | object | [Output Only] Details of the reliability risk resource (id: RiskDetails) |
kind | string | Output only. [Output Only] Type of resource. Always compute#reliabilityRisk for reliability risks. (default: compute#reliabilityRisk) |
recommendation | object | The recommendation to mitigate the risk. (id: RiskRecommendation) |
selfLink | string | Output only. [Output Only] Server-defined URL for the resource. |
selfLinkWithId | string | Output only. [Output Only] Server-defined URL for this resource with the resource id. |
| Name | Datatype | Description |
|---|---|---|
id | string | [Output Only] Unique identifier for the resource; defined by the server. |
etag | string | [Output Only] An ETag of the resource. |
items | array | A list of ReliabilityRisk resources. |
nextPageToken | string | [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. |
selfLink | string | Output only. [Output Only] Server-defined URL for this resource. |
unreachables | array | Output only. [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder |
warning | object | [Output Only] Informational warning message. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | project, reliabilityRisk | Returns the specified ReliabilityRisk resource. | |
list | select | project | returnPartialSuccess, orderBy, filter, maxResults, pageToken | Retrieves the list of reliabilityRisks available in the specified project. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
project | string | |
reliabilityRisk | string | |
filter | string | |
maxResults | integer (uint32) | |
orderBy | string | |
pageToken | string | |
returnPartialSuccess | boolean |
SELECT examples
- get
- list
Returns the specified ReliabilityRisk resource.
SELECT
id,
name,
creationTimestamp,
description,
details,
kind,
recommendation,
selfLink,
selfLinkWithId
FROM google.compute.reliability_risks
WHERE project = '{{ project }}' -- required
AND reliabilityRisk = '{{ reliabilityRisk }}' -- required
;
Retrieves the list of reliabilityRisks available in the specified project.
SELECT
id,
etag,
items,
nextPageToken,
selfLink,
unreachables,
warning
FROM google.compute.reliability_risks
WHERE project = '{{ project }}' -- required
AND returnPartialSuccess = '{{ returnPartialSuccess }}'
AND orderBy = '{{ orderBy }}'
AND filter = '{{ filter }}'
AND maxResults = '{{ maxResults }}'
AND pageToken = '{{ pageToken }}'
;