# Cloud Trace V2 API - Class Google::Cloud::Trace::V2::Module (v1.5.0)

1.5.0 (latest) 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.1 0.3.5 Reference documentation and code samples for the Cloud Trace V2 API class Google::Cloud::Trace::V2::Module.

Binary module.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #build_id

    def build_id() -> ::Google::Cloud::Trace::V2::TruncatableString

**Returns**

- ([::Google::Cloud::Trace::V2::TruncatableString](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-trace-v2/latest/Google-Cloud-Trace-V2-TruncatableString)) --- A unique identifier for the module, usually a hash of its contents (up to 128 bytes).

### #build_id=

    def build_id=(value) -> ::Google::Cloud::Trace::V2::TruncatableString

**Parameter**

- **value** ([::Google::Cloud::Trace::V2::TruncatableString](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-trace-v2/latest/Google-Cloud-Trace-V2-TruncatableString)) --- A unique identifier for the module, usually a hash of its contents (up to 128 bytes).
**Returns**

- ([::Google::Cloud::Trace::V2::TruncatableString](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-trace-v2/latest/Google-Cloud-Trace-V2-TruncatableString)) --- A unique identifier for the module, usually a hash of its contents (up to 128 bytes).

### #module

    def module() -> ::Google::Cloud::Trace::V2::TruncatableString

**Returns**

- ([::Google::Cloud::Trace::V2::TruncatableString](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-trace-v2/latest/Google-Cloud-Trace-V2-TruncatableString)) --- For example: main binary, kernel modules, and dynamic libraries such as libc.so, sharedlib.so (up to 256 bytes).

### #module=

    def module=(value) -> ::Google::Cloud::Trace::V2::TruncatableString

**Parameter**

- **value** ([::Google::Cloud::Trace::V2::TruncatableString](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-trace-v2/latest/Google-Cloud-Trace-V2-TruncatableString)) --- For example: main binary, kernel modules, and dynamic libraries such as libc.so, sharedlib.so (up to 256 bytes).
**Returns**

- ([::Google::Cloud::Trace::V2::TruncatableString](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-trace-v2/latest/Google-Cloud-Trace-V2-TruncatableString)) --- For example: main binary, kernel modules, and dynamic libraries such as libc.so, sharedlib.so (up to 256 bytes).