GetNodeTemplateComputeV1Result class

Result data returned by getNodeTemplate.

Constructors

GetNodeTemplateComputeV1Result({required List<AcceleratorConfigResponseComputeV1> accelerators, required String cpuOvercommitType, required String creationTimestamp, required String description, required List<LocalDiskResponseComputeV1> disks, required String kind, required String name, required Map<String, String> nodeAffinityLabels, required String nodeType, required NodeTemplateNodeTypeFlexibilityResponseComputeV1 nodeTypeFlexibility, required String region, required String selfLink, required ServerBindingResponseComputeV1 serverBinding, required String status, required String statusMessage})
Creates a new GetNodeTemplateComputeV1Result. accelerators Required. cpuOvercommitType CPU overcommit. creationTimestamp Creation timestamp in RFC3339 text format. description An optional description of this resource. Provide this property when you create the resource. disks Required. kind The type of the resource. Always compute#nodeTemplate for node templates. name The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. nodeAffinityLabels Labels to use for node affinity, which will be used in instance scheduling. nodeType The node type to use for nodes group that are created from this template. nodeTypeFlexibility Do not use. Instead, use the node_type property. region The name of the region where the node template resides, such as us-central1. selfLink Server-defined URL for the resource. serverBinding Sets the binding properties for the physical server. Valid values include: - Default RESTART_NODE_ON_ANY_SERVER: Restarts VMs on any available physical server - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same physical server whenever possible See Sole-tenant node options for more information. status The status of the node template. One of the following values: CREATING, READY, and DELETING. statusMessage An optional, human-readable explanation of the status.
const
GetNodeTemplateComputeV1Result.fromMap(Map<String, dynamic> map)
factory

Properties

accelerators → List<AcceleratorConfigResponseComputeV1>
final
cpuOvercommitType → String
CPU overcommit.
final
creationTimestamp → String
Creation timestamp in RFC3339 text format.
final
description → String
An optional description of this resource. Provide this property when you create the resource.
final
disks → List<LocalDiskResponseComputeV1>
final
hashCode → int
The hash code for this object.
no setterinherited
kind → String
The type of the resource. Always compute#nodeTemplate for node templates.
final
name → String
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
final
nodeAffinityLabels → Map<String, String>
Labels to use for node affinity, which will be used in instance scheduling.
final
nodeType → String
The node type to use for nodes group that are created from this template.
final
nodeTypeFlexibility → NodeTemplateNodeTypeFlexibilityResponseComputeV1
Do not use. Instead, use the node_type property.
final
region → String
The name of the region where the node template resides, such as us-central1.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
Server-defined URL for the resource.
final
serverBinding → ServerBindingResponseComputeV1
Sets the binding properties for the physical server. Valid values include: - Default RESTART_NODE_ON_ANY_SERVER: Restarts VMs on any available physical server - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same physical server whenever possible See Sole-tenant node options for more information.
final
status → String
The status of the node template. One of the following values: CREATING, READY, and DELETING.
final
statusMessage → String
An optional, human-readable explanation of the status.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited