Compute V1 Client - Class HealthCheckLogConfig (1.14.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
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