Stackdriver Logging V2 Client - Class LocationMetadata (1.30.3)

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
Name Description
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
Type Description
bool

setLogAnalyticsEnabled

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

Parameter
Name Description
var bool
Returns
Type Description
$this