Compute V1 Client - Class HealthCheckLogConfig (1.22.0)

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var bool
Returns
Type Description
$this