Class: Google::Apis::CloudtraceV2::Module

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

Overview

Binary module.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Module

Returns a new instance of Module.



275
276
277
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 275

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

Instance Attribute Details

#build_idGoogle::Apis::CloudtraceV2::TruncatableString

Represents a string that might be shortened to a specified length. Corresponds to the JSON property buildId



268
269
270
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 268

def build_id
  @build_id
end

#moduleGoogle::Apis::CloudtraceV2::TruncatableString

Represents a string that might be shortened to a specified length. Corresponds to the JSON property module



273
274
275
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 273

def module
  @module
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



280
281
282
283
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 280

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