Reference documentation and code samples for the Compute V1 Client class ReliabilityRisk.
Represents a ReliabilityRisk resource.
Generated from protobuf message google.cloud.compute.v1.ReliabilityRisk
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ creation_timestamp |
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 |
RiskDetails
[Output Only] Details of the reliability risk resource |
↳ id |
int|string
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
↳ kind |
string
Output only. [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. |
↳ recommendation |
RiskRecommendation
The recommendation to mitigate the risk. |
↳ self_link |
string
Output only. [Output Only] Server-defined URL for the resource. |
↳ self_link_with_id |
string
Output only. [Output Only] Server-defined URL for this resource with the resource id. |
getCreationTimestamp
Output only. [Output Only] Creation timestamp in RFC3339 text format.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasCreationTimestamp
clearCreationTimestamp
setCreationTimestamp
Output only. [Output Only] Creation timestamp in RFC3339 text format.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
An optional textual description of the resource; provided when the resource is created.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasDescription
clearDescription
setDescription
An optional textual description of the resource; provided when the resource is created.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDetails
[Output Only] Details of the reliability risk resource
| Returns | |
|---|---|
| Type | Description |
RiskDetails|null |
|
hasDetails
clearDetails
setDetails
[Output Only] Details of the reliability risk resource
| Parameter | |
|---|---|
| Name | Description |
var |
RiskDetails
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getId
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasId
clearId
setId
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKind
Output only. [Output Only] Type of resource. Always compute#reliabilityRisk for reliability risks.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasKind
clearKind
setKind
Output only. [Output Only] Type of resource. Always compute#reliabilityRisk for reliability risks.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasName
clearName
setName
Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRecommendation
The recommendation to mitigate the risk.
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation|null |
|
hasRecommendation
clearRecommendation
setRecommendation
The recommendation to mitigate the risk.
| Parameter | |
|---|---|
| Name | Description |
var |
RiskRecommendation
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSelfLink
Output only. [Output Only] Server-defined URL for the resource.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasSelfLink
clearSelfLink
setSelfLink
Output only. [Output Only] Server-defined URL for the resource.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource with the resource id.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasSelfLinkWithId
clearSelfLinkWithId
setSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource with the resource id.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|