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

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

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

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.

Returns:



351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 351

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.

Returns:

  • (::String)

    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.



351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 351

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