Class: Google::Apis::MlV1::GoogleCloudMlV1AddTrialMeasurementRequest

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

Overview

The request message for the AddTrialMeasurement service method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1AddTrialMeasurementRequest

Returns a new instance of GoogleCloudMlV1AddTrialMeasurementRequest.



503
504
505
# File 'generated/google/apis/ml_v1/classes.rb', line 503

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

Instance Attribute Details

#measurementGoogle::Apis::MlV1::GoogleCloudMlV1Measurement

A message representing a measurement. Corresponds to the JSON property measurement



501
502
503
# File 'generated/google/apis/ml_v1/classes.rb', line 501

def measurement
  @measurement
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



508
509
510
# File 'generated/google/apis/ml_v1/classes.rb', line 508

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