Stackdriver Trace V2 Client - Class Module (1.8.7)

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 TruncatableString

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

↳ build_id 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
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 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
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 TruncatableString
Returns
Type Description
$this