Class: Google::Cloud::Optimization::V1::BatchOptimizeToursRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Optimization::V1::BatchOptimizeToursRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/optimization/v1/fleet_routing.rb
Overview
Request to batch optimize tours as an asynchronous operation.
Each input file should contain one OptimizeToursRequest
, and each output
file will contain one OptimizeToursResponse
. The request contains
information to read/write and parse the files. All the input and output files
should be under the same project.
Defined Under Namespace
Classes: AsyncModelConfig
Instance Attribute Summary collapse
-
#model_configs ⇒ ::Array<::Google::Cloud::Optimization::V1::BatchOptimizeToursRequest::AsyncModelConfig>
Required.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#model_configs ⇒ ::Array<::Google::Cloud::Optimization::V1::BatchOptimizeToursRequest::AsyncModelConfig>
Returns Required. Input/Output information each purchase model, such as file paths and data formats.
390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 390 class BatchOptimizeToursRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information for solving one optimization model asynchronously. # @!attribute [rw] display_name # @return [::String] # User defined model name, can be used as alias by users to keep track of # models. # @!attribute [rw] input_config # @return [::Google::Cloud::Optimization::V1::InputConfig] # Required. Information about the input model. # @!attribute [rw] output_config # @return [::Google::Cloud::Optimization::V1::OutputConfig] # Required. The desired output location information. # @!attribute [rw] enable_checkpoints # @return [::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. class AsyncModelConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#parent ⇒ ::String
Returns Required. Target project and location to make a call.
Format: projects/{project-id}/locations/{location-id}
.
If no location is specified, a region will be chosen automatically.
390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 390 class BatchOptimizeToursRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information for solving one optimization model asynchronously. # @!attribute [rw] display_name # @return [::String] # User defined model name, can be used as alias by users to keep track of # models. # @!attribute [rw] input_config # @return [::Google::Cloud::Optimization::V1::InputConfig] # Required. Information about the input model. # @!attribute [rw] output_config # @return [::Google::Cloud::Optimization::V1::OutputConfig] # Required. The desired output location information. # @!attribute [rw] enable_checkpoints # @return [::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. class AsyncModelConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |