Class: Google::Cloud::Notebooks::V1::SetInstanceAcceleratorRequest

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

Overview

Request for setting instance accelerator.

Instance Attribute Summary collapse

Instance Attribute Details

#core_count::Integer

Returns 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.



148
149
150
151
# File 'proto_docs/google/cloud/notebooks/v1/service.rb', line 148

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

#name::String

Returns Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}.

Returns:

  • (::String)

    Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}



148
149
150
151
# File 'proto_docs/google/cloud/notebooks/v1/service.rb', line 148

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

#type::Google::Cloud::Notebooks::V1::Instance::AcceleratorType

Returns Required. Type of this accelerator.

Returns:



148
149
150
151
# File 'proto_docs/google/cloud/notebooks/v1/service.rb', line 148

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