Reference documentation and code samples for the Compute V1 Client class ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.
Generated from protobuf message google.cloud.compute.v1.ResourcePolicyResourceStatusInstanceSchedulePolicyStatus
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ last_run_start_time |
string
[Output Only] The last time the schedule successfully ran. The timestamp is an RFC3339 string. |
↳ next_run_start_time |
string
[Output Only] The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string. |
getLastRunStartTime
[Output Only] The last time the schedule successfully ran. The timestamp is an RFC3339 string.
Returns | |
---|---|
Type | Description |
string |
hasLastRunStartTime
clearLastRunStartTime
setLastRunStartTime
[Output Only] The last time the schedule successfully ran. The timestamp is an RFC3339 string.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getNextRunStartTime
[Output Only] The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
Returns | |
---|---|
Type | Description |
string |
hasNextRunStartTime
clearNextRunStartTime
setNextRunStartTime
[Output Only] The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |