Class: Google::Apis::TracingV1::Module

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/tracing_v1/classes.rb,
generated/google/apis/tracing_v1/representations.rb,
generated/google/apis/tracing_v1/representations.rb

Overview

Binary module.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Module

Returns a new instance of Module



64
65
66
# File 'generated/google/apis/tracing_v1/classes.rb', line 64

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#build_idString

Build_id is a unique identifier for the module, usually a hash of its contents Corresponds to the JSON property buildId

Returns:

  • (String)


56
57
58
# File 'generated/google/apis/tracing_v1/classes.rb', line 56

def build_id
  @build_id
end

#moduleString

E.g. main binary, kernel modules, and dynamic libraries such as libc.so, sharedlib.so Corresponds to the JSON property module

Returns:

  • (String)


62
63
64
# File 'generated/google/apis/tracing_v1/classes.rb', line 62

def module
  @module
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



69
70
71
72
# File 'generated/google/apis/tracing_v1/classes.rb', line 69

def update!(**args)
  @build_id = args[:build_id] if args.key?(:build_id)
  @module = args[:module] if args.key?(:module)
end