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



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

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



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

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



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

def module
  @module
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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