Stackdriver Logging V2 Client - Class LocationMetadata (1.29.0)

Reference documentation and code samples for the Stackdriver Logging V2 Client class LocationMetadata.

Cloud Logging specific location metadata.

Generated from protobuf message google.logging.v2.LocationMetadata

Namespace

Google \ Cloud \ Logging \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ log_analytics_enabled bool

Indicates whether or not Log Analytics features are supported in the given location.

getLogAnalyticsEnabled

Indicates whether or not Log Analytics features are supported in the given location.

Returns
TypeDescription
bool

setLogAnalyticsEnabled

Indicates whether or not Log Analytics features are supported in the given location.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this