Class: Google::Cloud::Optimization::V1::BatchOptimizeToursRequest::AsyncModelConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/optimization/v1/fleet_routing.rb

Overview

Information for solving one optimization model asynchronously.

Instance Attribute Summary collapse

Instance Attribute Details

#display_name::String

Returns User defined model name, can be used as alias by users to keep track of models.

Returns:

  • (::String)

    User defined model name, can be used as alias by users to keep track of models.



415
416
417
418
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 415

class AsyncModelConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#enable_checkpoints::Boolean

Returns If this is set, the model will be solved in the checkpoint mode. In this mode, the input model can have a deadline longer than 30 mins without the risk of interruption. The model will be solved in multiple short-running stages. Each stage generates an intermediate checkpoint and stores it in the user's Cloud Storage buckets. The checkpoint mode should be preferred over allow_large_deadline_despite_interruption_risk since it prevents the risk of interruption.

Returns:

  • (::Boolean)

    If this is set, the model will be solved in the checkpoint mode. In this mode, the input model can have a deadline longer than 30 mins without the risk of interruption. The model will be solved in multiple short-running stages. Each stage generates an intermediate checkpoint and stores it in the user's Cloud Storage buckets. The checkpoint mode should be preferred over allow_large_deadline_despite_interruption_risk since it prevents the risk of interruption.



415
416
417
418
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 415

class AsyncModelConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#input_config::Google::Cloud::Optimization::V1::InputConfig

Returns Required. Information about the input model.

Returns:



415
416
417
418
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 415

class AsyncModelConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#output_config::Google::Cloud::Optimization::V1::OutputConfig

Returns Required. The desired output location information.

Returns:



415
416
417
418
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 415

class AsyncModelConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end