Stackdriver Trace V2 Client - Class Module (1.4.11)

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

Binary module.

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

Methods

__construct

Constructor.

Parameters
NameDescription
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).

Generated from protobuf field .google.devtools.cloudtrace.v2.TruncatableString module = 1;

Returns
TypeDescription
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).

Generated from protobuf field .google.devtools.cloudtrace.v2.TruncatableString module = 1;

Parameter
NameDescription
var Google\Cloud\Trace\V2\TruncatableString
Returns
TypeDescription
$this

getBuildId

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

Generated from protobuf field .google.devtools.cloudtrace.v2.TruncatableString build_id = 2;

Returns
TypeDescription
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).

Generated from protobuf field .google.devtools.cloudtrace.v2.TruncatableString build_id = 2;

Parameter
NameDescription
var Google\Cloud\Trace\V2\TruncatableString
Returns
TypeDescription
$this