class Google::Apis::MlV1::GoogleCloudMlV1ManualScaling

Options for manually scaling a model.

Attributes

nodes[RW]

The number of nodes to allocate for this model. These nodes are always up, starting from the time the model is deployed, so the cost of operating this model will be proportional to `nodes` * number of hours since last billing cycle plus the cost for each prediction performed. Corresponds to the JSON property `nodes` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/ml_v1/classes.rb, line 1663
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/ml_v1/classes.rb, line 1668
def update!(**args)
  @nodes = args[:nodes] if args.key?(:nodes)
end