Reference documentation and code samples for the Google Cloud Saas Platform Saas Service Mgmt V1 Client class SaasCondition.
SaasCondition describes the status of a Saas.
Generated from protobuf message google.cloud.saasplatform.saasservicemgmt.v1.SaasCondition
Namespace
Google \ Cloud \ SaasPlatform \ SaasServiceMgmt \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ status |
int
Required. Status of the condition. |
↳ type |
int
Required. Type of the condition. |
↳ last_transition_time |
Google\Protobuf\Timestamp
Required. Last time the condition transited from one status to another. |
↳ message |
string
Required. Human readable message indicating details about the last transition. |
↳ reason |
string
Required. Brief reason for the condition's last transition. |
getStatus
Required. Status of the condition.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Status. |
setStatus
Required. Status of the condition.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Status. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
Required. Type of the condition.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Type. |
setType
Required. Type of the condition.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Type. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLastTransitionTime
Required. Last time the condition transited from one status to another.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasLastTransitionTime
clearLastTransitionTime
setLastTransitionTime
Required. Last time the condition transited from one status to another.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMessage
Required. Human readable message indicating details about the last transition.
| Returns | |
|---|---|
| Type | Description |
string |
|
setMessage
Required. Human readable message indicating details about the last transition.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReason
Required. Brief reason for the condition's last transition.
| Returns | |
|---|---|
| Type | Description |
string |
|
setReason
Required. Brief reason for the condition's last transition.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|