Compute V1 Client - Class HealthCheckLogConfig (1.7.1)

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

Configuration of logging on a health check. If logging is enabled, logs will be exported to Stackdriver.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ enable bool

Indicates whether or not to export logs. This is false by default, which means no health check logging will be done.

getEnable

Indicates whether or not to export logs. This is false by default, which means no health check logging will be done.

Returns
TypeDescription
bool

hasEnable

clearEnable

setEnable

Indicates whether or not to export logs. This is false by default, which means no health check logging will be done.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this