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

Instance Attribute Summary collapse

Instance Attribute Details

#boot_disk_mib::Integer

Returns Extra boot disk size in MiB for each task.

Returns:

  • (::Integer)

    Extra boot disk size in MiB for each task.



34
35
36
37
# File 'proto_docs/google/cloud/batch/v1/task.rb', line 34

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

#cpu_milli::Integer

Returns The milliCPU count.

Returns:

  • (::Integer)

    The milliCPU count.



34
35
36
37
# File 'proto_docs/google/cloud/batch/v1/task.rb', line 34

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

#memory_mib::Integer

Returns Memory in MiB.

Returns:

  • (::Integer)

    Memory in MiB.



34
35
36
37
# File 'proto_docs/google/cloud/batch/v1/task.rb', line 34

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