Stackdriver Trace V2 Client - Class Module (1.8.6)

Reference documentation and code samples for the Stackdriver Trace V2 Client class Module.

Binary module.

Generated from protobuf message google.devtools.cloudtrace.v2.Module

Namespace

Google \ Cloud \ Trace \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ module Google\Cloud\Trace\V2\TruncatableString

For example: main binary, kernel modules, and dynamic libraries such as libc.so, sharedlib.so (up to 256 bytes).

↳ build_id Google\Cloud\Trace\V2\TruncatableString

A unique identifier for the module, usually a hash of its contents (up to 128 bytes).

getModule

For example: main binary, kernel modules, and dynamic libraries such as libc.so, sharedlib.so (up to 256 bytes).

Returns
Type Description
Google\Cloud\Trace\V2\TruncatableString|null

hasModule

clearModule

setModule

For example: main binary, kernel modules, and dynamic libraries such as libc.so, sharedlib.so (up to 256 bytes).

Parameter
Name Description
var Google\Cloud\Trace\V2\TruncatableString
Returns
Type Description
$this

getBuildId

A unique identifier for the module, usually a hash of its contents (up to 128 bytes).

Returns
Type Description
Google\Cloud\Trace\V2\TruncatableString|null

hasBuildId

clearBuildId

setBuildId

A unique identifier for the module, usually a hash of its contents (up to 128 bytes).

Parameter
Name Description
var Google\Cloud\Trace\V2\TruncatableString
Returns
Type Description
$this