Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::NodeType (v1.7.1)

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

Represent a sole-tenant Node Type resource. Each node within a node group must have a node type. A node type specifies the total amount of cores and memory for that node. Currently, the only available node type is n1-node-96-624 node type that has 96 vCPUs and 624 GB of memory, available in multiple zones. For more information read Node types.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cpu_platform

def cpu_platform() -> ::String
Returns
  • (::String) — [Output Only] The CPU platform used by this node type.

#cpu_platform=

def cpu_platform=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The CPU platform used by this node type.
Returns
  • (::String) — [Output Only] The CPU platform used by this node type.

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

#guest_cpus

def guest_cpus() -> ::Integer
Returns
  • (::Integer) — [Output Only] The number of virtual CPUs that are available to the node type.

#guest_cpus=

def guest_cpus=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] The number of virtual CPUs that are available to the node type.
Returns
  • (::Integer) — [Output Only] The number of virtual CPUs that are available to the node type.

#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#nodeType for node types.

#kind=

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

#local_ssd_gb

def local_ssd_gb() -> ::Integer
Returns
  • (::Integer) — [Output Only] Local SSD available to the node type, defined in GB.

#local_ssd_gb=

def local_ssd_gb=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] Local SSD available to the node type, defined in GB.
Returns
  • (::Integer) — [Output Only] Local SSD available to the node type, defined in GB.

#memory_mb

def memory_mb() -> ::Integer
Returns
  • (::Integer) — [Output Only] The amount of physical memory available to the node type, defined in MB.

#memory_mb=

def memory_mb=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] The amount of physical memory available to the node type, defined in MB.
Returns
  • (::Integer) — [Output Only] The amount of physical memory available to the node type, defined in MB.

#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 URL for the resource.
def self_link=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Server-defined URL for the resource.
Returns
  • (::String) — [Output Only] Server-defined URL for the resource.

#zone

def zone() -> ::String
Returns
  • (::String) — [Output Only] The name of the zone where the node type resides, such as us-central1-a.

#zone=

def zone=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The name of the zone where the node type resides, such as us-central1-a.
Returns
  • (::String) — [Output Only] The name of the zone where the node type resides, such as us-central1-a.