GetNodeTemplateResult class
Result data returned by getNodeTemplate.
Constructors
-
GetNodeTemplateResult({required List<
AcceleratorConfigResponse> accelerators, required String cpuOvercommitType, required String creationTimestamp, required String description, required List<LocalDiskResponse> disks, required String kind, required String name, required Map<String, String> nodeAffinityLabels, required String nodeType, required NodeTemplateNodeTypeFlexibilityResponse nodeTypeFlexibility, required String region, required String selfLink, required String selfLinkWithId, required ServerBindingResponse serverBinding, required String status, required String statusMessage}) -
Creates a new GetNodeTemplateResult.
acceleratorsRequired.cpuOvercommitTypeCPU overcommit.creationTimestampCreation timestamp in RFC3339 text format.descriptionAn optional description of this resource. Provide this property when you create the resource.disksRequired.kindThe type of the resource. Always compute#nodeTemplate for node templates.nameThe 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.nodeAffinityLabelsLabels to use for node affinity, which will be used in instance scheduling.nodeTypeThe node type to use for nodes group that are created from this template.nodeTypeFlexibilityDo not use. Instead, use the node_type property.regionThe name of the region where the node template resides, such as us-central1.selfLinkServer-defined URL for the resource.selfLinkWithIdServer-defined URL for this resource with the resource id.serverBindingSets the binding properties for the physical server. Valid values include: -DefaultRESTART_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.statusThe status of the node template. One of the following values: CREATING, READY, and DELETING.statusMessageAn optional, human-readable explanation of the status.const -
GetNodeTemplateResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
accelerators
→ List<
AcceleratorConfigResponse> -
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<
LocalDiskResponse> -
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 → NodeTemplateNodeTypeFlexibilityResponse
-
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
- selfLink → String
-
Server-defined URL for the resource.
final
- selfLinkWithId → String
-
Server-defined URL for this resource with the resource id.
final
- serverBinding → ServerBindingResponse
-
Sets the binding properties for the physical server. Valid values include: -
DefaultRESTART_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