Compute V1 Client - Class ManagedInstanceScheduling (2.11.0)

Reference documentation and code samples for the Compute V1 Client class ManagedInstanceScheduling.

Generated from protobuf message google.cloud.compute.v1.ManagedInstanceScheduling

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ graceful_shutdown_timestamp string

Output only. The timestamp at which the underlying instance will be triggered for graceful shutdown if it is configured. This is in RFC3339 text format.

↳ termination_timestamp string

Output only. The timestamp at which the managed instance will be terminated. This is in RFC3339 text format.

getGracefulShutdownTimestamp

Output only. The timestamp at which the underlying instance will be triggered for graceful shutdown if it is configured. This is in RFC3339 text format.

Returns
Type Description
string

hasGracefulShutdownTimestamp

clearGracefulShutdownTimestamp

setGracefulShutdownTimestamp

Output only. The timestamp at which the underlying instance will be triggered for graceful shutdown if it is configured. This is in RFC3339 text format.

Parameter
Name Description
var string
Returns
Type Description
$this

getTerminationTimestamp

Output only. The timestamp at which the managed instance will be terminated. This is in RFC3339 text format.

Returns
Type Description
string

hasTerminationTimestamp

clearTerminationTimestamp

setTerminationTimestamp

Output only. The timestamp at which the managed instance will be terminated. This is in RFC3339 text format.

Parameter
Name Description
var string
Returns
Type Description
$this