Stackdriver Logging V2 Client - Class LocationMetadata (1.32.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