AI Platform Notebooks V1beta1 API - Class Google::Cloud::Notebooks::V1beta1::SetInstanceAcceleratorRequest (v0.11.0)

Reference documentation and code samples for the AI Platform Notebooks V1beta1 API class Google::Cloud::Notebooks::V1beta1::SetInstanceAcceleratorRequest.

Request for setting instance accelerator.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#core_count

def core_count() -> ::Integer
Returns
  • (::Integer) — Required. Count of cores of this accelerator. Note that not all combinations of type and core_count are valid. Check GPUs on Compute Engine to find a valid combination. TPUs are not supported.

#core_count=

def core_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. Count of cores of this accelerator. Note that not all combinations of type and core_count are valid. Check GPUs on Compute Engine to find a valid combination. TPUs are not supported.
Returns
  • (::Integer) — Required. Count of cores of this accelerator. Note that not all combinations of type and core_count are valid. Check GPUs on Compute Engine to find a valid combination. TPUs are not supported.

#name

def name() -> ::String
Returns
  • (::String) — Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}
Returns
  • (::String) — Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

#type

def type() -> ::Google::Cloud::Notebooks::V1beta1::Instance::AcceleratorType
Returns

#type=

def type=(value) -> ::Google::Cloud::Notebooks::V1beta1::Instance::AcceleratorType
Parameter
Returns