Notebooks V2 API - Class Google::Cloud::Notebooks::V2::AcceleratorConfig (v0.5.0)

Reference documentation and code samples for the Notebooks V2 API class Google::Cloud::Notebooks::V2::AcceleratorConfig.

An accelerator configuration for a VM instance Definition of a hardware accelerator. Note that there is no check on type and core_count combinations. TPUs are not supported. See GPUs on Compute Engine to find a valid combination.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#core_count

def core_count() -> ::Integer
Returns
  • (::Integer) — Optional. Count of cores of this accelerator.

#core_count=

def core_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Count of cores of this accelerator.
Returns
  • (::Integer) — Optional. Count of cores of this accelerator.

#type

def type() -> ::Google::Cloud::Notebooks::V2::AcceleratorConfig::AcceleratorType
Returns

#type=

def type=(value) -> ::Google::Cloud::Notebooks::V2::AcceleratorConfig::AcceleratorType
Parameter
Returns