Reference documentation and code samples for the Google Cloud Maintenance Api V1beta Client class State.
State is the state of a resource maintenance.
Protobuf type google.cloud.maintenance.api.v1beta.ResourceMaintenance.State
Namespace
Google \ Cloud \ Maintenance \ Api \ V1beta \ ResourceMaintenanceMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
STATE_UNSPECIFIED
Value: 0
Unspecified state.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
SCHEDULED
Value: 1
Scheduled for a particular window. For disruptive maintenance it should respect maintenance policy, i.e. its available windows, exclusions and notification period.
Generated from protobuf enum SCHEDULED = 1;
RUNNING
Value: 2
Maintenance is ongoing.
Generated from protobuf enum RUNNING = 2;
CANCELLED
Value: 3
No longer planned, typically when other maintenance (e.g. upgrade to newer version) already happened, or the user skipped the maintenance.
Generated from protobuf enum CANCELLED = 3;
SUCCEEDED
Value: 4
Successfully completed.
Generated from protobuf enum SUCCEEDED = 4;