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
- (::String) — [Output Only] The CPU platform used by this node type.
#cpu_platform=
def cpu_platform=(value) -> ::String
- value (::String) — [Output Only] The CPU platform used by this node type.
- (::String) — [Output Only] The CPU platform used by this node type.
#creation_timestamp
def creation_timestamp() -> ::String
- (::String) — [Output Only] Creation timestamp in RFC3339 text format.
#creation_timestamp=
def creation_timestamp=(value) -> ::String
- value (::String) — [Output Only] Creation timestamp in RFC3339 text format.
- (::String) — [Output Only] Creation timestamp in RFC3339 text format.
#deprecated
def deprecated() -> ::Google::Cloud::Compute::V1::DeprecationStatus
- (::Google::Cloud::Compute::V1::DeprecationStatus) — [Output Only] The deprecation status associated with this node type.
#deprecated=
def deprecated=(value) -> ::Google::Cloud::Compute::V1::DeprecationStatus
- value (::Google::Cloud::Compute::V1::DeprecationStatus) — [Output Only] The deprecation status associated with this node type.
- (::Google::Cloud::Compute::V1::DeprecationStatus) — [Output Only] The deprecation status associated with this node type.
#description
def description() -> ::String
- (::String) — [Output Only] An optional textual description of the resource.
#description=
def description=(value) -> ::String
- value (::String) — [Output Only] An optional textual description of the resource.
- (::String) — [Output Only] An optional textual description of the resource.
#guest_cpus
def guest_cpus() -> ::Integer
- (::Integer) — [Output Only] The number of virtual CPUs that are available to the node type.
#guest_cpus=
def guest_cpus=(value) -> ::Integer
- value (::Integer) — [Output Only] The number of virtual CPUs that are available to the node type.
- (::Integer) — [Output Only] The number of virtual CPUs that are available to the node type.
#id
def id() -> ::Integer
- (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.
#id=
def id=(value) -> ::Integer
- value (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.
- (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.
#kind
def kind() -> ::String
- (::String) — [Output Only] The type of the resource. Always compute#nodeType for node types.
#kind=
def kind=(value) -> ::String
- value (::String) — [Output Only] The type of the resource. Always compute#nodeType for node types.
- (::String) — [Output Only] The type of the resource. Always compute#nodeType for node types.
#local_ssd_gb
def local_ssd_gb() -> ::Integer
- (::Integer) — [Output Only] Local SSD available to the node type, defined in GB.
#local_ssd_gb=
def local_ssd_gb=(value) -> ::Integer
- value (::Integer) — [Output Only] Local SSD available to the node type, defined in GB.
- (::Integer) — [Output Only] Local SSD available to the node type, defined in GB.
#memory_mb
def memory_mb() -> ::Integer
- (::Integer) — [Output Only] The amount of physical memory available to the node type, defined in MB.
#memory_mb=
def memory_mb=(value) -> ::Integer
- value (::Integer) — [Output Only] The amount of physical memory available to the node type, defined in MB.
- (::Integer) — [Output Only] The amount of physical memory available to the node type, defined in MB.
#name
def name() -> ::String
- (::String) — [Output Only] Name of the resource.
#name=
def name=(value) -> ::String
- value (::String) — [Output Only] Name of the resource.
- (::String) — [Output Only] Name of the resource.
#self_link
def self_link() -> ::String
- (::String) — [Output Only] Server-defined URL for the resource.
#self_link=
def self_link=(value) -> ::String
- value (::String) — [Output Only] Server-defined URL for the resource.
- (::String) — [Output Only] Server-defined URL for the resource.
#zone
def zone() -> ::String
- (::String) — [Output Only] The name of the zone where the node type resides, such as us-central1-a.
#zone=
def zone=(value) -> ::String
- value (::String) — [Output Only] The name of the zone where the node type resides, such as us-central1-a.
- (::String) — [Output Only] The name of the zone where the node type resides, such as us-central1-a.