Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::AcceleratorType (v1.10.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::AcceleratorType.

Represents an Accelerator Type resource. Google Cloud Platform provides graphics processing units (accelerators) that you can add to VM instances to improve or accelerate performance when working with intensive workloads. For more information, read GPUs on Compute Engine.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#creation_timestamp

def creation_timestamp() -> ::String
Returns
  • (::String) — [Output Only] Creation timestamp in RFC3339 text format.

#creation_timestamp=

def creation_timestamp=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Creation timestamp in RFC3339 text format.
Returns
  • (::String) — [Output Only] Creation timestamp in RFC3339 text format.

#deprecated

def deprecated() -> ::Google::Cloud::Compute::V1::DeprecationStatus
Returns

#deprecated=

def deprecated=(value) -> ::Google::Cloud::Compute::V1::DeprecationStatus
Parameter
Returns

#description

def description() -> ::String
Returns
  • (::String) — [Output Only] An optional textual description of the resource.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — [Output Only] An optional textual description of the resource.
Returns
  • (::String) — [Output Only] An optional textual description of the resource.

#id

def id() -> ::Integer
Returns
  • (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.

#id=

def id=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.
Returns
  • (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.

#kind

def kind() -> ::String
Returns
  • (::String) — [Output Only] The type of the resource. Always compute#acceleratorType for accelerator types.

#kind=

def kind=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The type of the resource. Always compute#acceleratorType for accelerator types.
Returns
  • (::String) — [Output Only] The type of the resource. Always compute#acceleratorType for accelerator types.

#maximum_cards_per_instance

def maximum_cards_per_instance() -> ::Integer
Returns
  • (::Integer) — [Output Only] Maximum number of accelerator cards allowed per instance.

#maximum_cards_per_instance=

def maximum_cards_per_instance=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] Maximum number of accelerator cards allowed per instance.
Returns
  • (::Integer) — [Output Only] Maximum number of accelerator cards allowed per instance.

#name

def name() -> ::String
Returns
  • (::String) — [Output Only] Name of the resource.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Name of the resource.
Returns
  • (::String) — [Output Only] Name of the resource.
def self_link() -> ::String
Returns
  • (::String) — [Output Only] Server-defined, fully qualified URL for this resource.
def self_link=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Server-defined, fully qualified URL for this resource.
Returns
  • (::String) — [Output Only] Server-defined, fully qualified URL for this resource.

#zone

def zone() -> ::String
Returns
  • (::String) — [Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

#zone=

def zone=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
Returns
  • (::String) — [Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.