Class: Google::Cloud::Batch::V1::ComputeResource

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

Overview

Compute resource requirements.

ComputeResource defines the amount of resources required for each task. Make sure your tasks have enough resources to successfully run. If you also define the types of resources for a job to use with the InstancePolicyOrTemplate field, make sure both fields are compatible with each other.

Instance Attribute Summary collapse

Instance Attribute Details

#boot_disk_mib::Integer



72
73
74
75
# File 'proto_docs/google/cloud/batch/v1/task.rb', line 72

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

#cpu_milli::Integer



72
73
74
75
# File 'proto_docs/google/cloud/batch/v1/task.rb', line 72

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

#memory_mib::Integer



72
73
74
75
# File 'proto_docs/google/cloud/batch/v1/task.rb', line 72

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