Class: Google::Cloud::Compute::V1::AcceleratorConfig

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

Overview

A specification of the type and number of accelerator cards attached to the instance.

Instance Attribute Summary collapse

Instance Attribute Details

#accelerator_count::Integer

Returns The number of the guest accelerator cards exposed to this instance.

Returns:

  • (::Integer)

    The number of the guest accelerator cards exposed to this instance.



93
94
95
96
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 93

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

#accelerator_type::String

Returns Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.

Returns:

  • (::String)

    Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.



93
94
95
96
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 93

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