NodePool

google.container.v1. NodePool

Represents a NodePool.

Constructor

new NodePool(propertiesopt)

Constructs a new NodePool.

Parameters:
Name Type Attributes Description
properties google.container.v1.INodePool <optional>

Properties to set

Implements:
  • INodePool

Members

(static) Status :number

Status enum.

Properties:
Name Type Description
STATUS_UNSPECIFIED number

STATUS_UNSPECIFIED value

PROVISIONING number

PROVISIONING value

RUNNING number

RUNNING value

RUNNING_WITH_ERROR number

RUNNING_WITH_ERROR value

RECONCILING number

RECONCILING value

STOPPING number

STOPPING value

ERROR number

ERROR value

autoscaling :google.container.v1.INodePoolAutoscaling|null|undefined

NodePool autoscaling.

conditions :Array.<google.container.v1.IStatusCondition>

NodePool conditions.

config :google.container.v1.INodeConfig|null|undefined

NodePool config.

initialNodeCount :number

NodePool initialNodeCount.

instanceGroupUrls :Array.<string>

NodePool instanceGroupUrls.

management :google.container.v1.INodeManagement|null|undefined

NodePool management.

maxPodsConstraint :google.container.v1.IMaxPodsConstraint|null|undefined

NodePool maxPodsConstraint.

name :string

NodePool name.

podIpv4CidrSize :number

NodePool podIpv4CidrSize.

NodePool selfLink.

status :google.container.v1.NodePool.Status

NodePool status.

statusMessage :string

NodePool statusMessage.

version :string

NodePool version.

Methods

(static) create(propertiesopt) → {google.container.v1.NodePool}

Creates a new NodePool instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.container.v1.INodePool <optional>

Properties to set

(static) decode(reader, lengthopt) → {google.container.v1.NodePool}

Decodes a NodePool message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.container.v1.NodePool}

Decodes a NodePool message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified NodePool message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.container.v1.INodePool

NodePool message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified NodePool message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.container.v1.INodePool

NodePool message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

(static) fromObject(object) → {google.container.v1.NodePool}

Creates a NodePool message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a NodePool message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.container.v1.NodePool

NodePool

options $protobuf.IConversionOptions <optional>

Conversion options

(static) verify(message) → {string|null}

Verifies a NodePool message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

toJSON() → {Object.<string, *>}

Converts this NodePool to JSON.