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 | |
---|---|
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.
Generated from protobuf field optional bool enable = 311764355;
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.
Generated from protobuf field optional bool enable = 311764355;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |