Class: Google::Apis::ToolresultsV1beta3::StepDimensionValueEntry

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

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) ⇒ StepDimensionValueEntry

Returns a new instance of StepDimensionValueEntry



2136
2137
2138
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2136

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

Instance Attribute Details

#keyString

Corresponds to the JSON property key

Returns:

  • (String)


2129
2130
2131
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2129

def key
  @key
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


2134
2135
2136
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2134

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2141
2142
2143
2144
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 2141

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