Class protos.google.container.v1.NodeConfig (5.15.0)

Represents a NodeConfig.

Package

@google-cloud/container

Constructors

(constructor)(properties)

constructor(properties?: google.container.v1.INodeConfig);

Constructs a new NodeConfig.

Parameter
Name Description
properties INodeConfig

Properties to set

Properties

_fastSocket

public _fastSocket?: "fastSocket";

NodeConfig _fastSocket.

_secondaryBootDiskUpdateStrategy

public _secondaryBootDiskUpdateStrategy?: "secondaryBootDiskUpdateStrategy";

NodeConfig _secondaryBootDiskUpdateStrategy.

accelerators

public accelerators: google.container.v1.IAcceleratorConfig[];

NodeConfig accelerators.

advancedMachineFeatures

public advancedMachineFeatures?: (google.container.v1.IAdvancedMachineFeatures|null);

NodeConfig advancedMachineFeatures.

bootDiskKmsKey

public bootDiskKmsKey: string;

NodeConfig bootDiskKmsKey.

confidentialNodes

public confidentialNodes?: (google.container.v1.IConfidentialNodes|null);

NodeConfig confidentialNodes.

containerdConfig

public containerdConfig?: (google.container.v1.IContainerdConfig|null);

NodeConfig containerdConfig.

diskSizeGb

public diskSizeGb: number;

NodeConfig diskSizeGb.

diskType

public diskType: string;

NodeConfig diskType.

enableConfidentialStorage

public enableConfidentialStorage: boolean;

NodeConfig enableConfidentialStorage.

ephemeralStorageLocalSsdConfig

public ephemeralStorageLocalSsdConfig?: (google.container.v1.IEphemeralStorageLocalSsdConfig|null);

NodeConfig ephemeralStorageLocalSsdConfig.

fastSocket

public fastSocket?: (google.container.v1.IFastSocket|null);

NodeConfig fastSocket.

gcfsConfig

public gcfsConfig?: (google.container.v1.IGcfsConfig|null);

NodeConfig gcfsConfig.

gvnic

public gvnic?: (google.container.v1.IVirtualNIC|null);

NodeConfig gvnic.

imageType

public imageType: string;

NodeConfig imageType.

kubeletConfig

public kubeletConfig?: (google.container.v1.INodeKubeletConfig|null);

NodeConfig kubeletConfig.

labels

public labels: { [k: string]: string };

NodeConfig labels.

linuxNodeConfig

public linuxNodeConfig?: (google.container.v1.ILinuxNodeConfig|null);

NodeConfig linuxNodeConfig.

localNvmeSsdBlockConfig

public localNvmeSsdBlockConfig?: (google.container.v1.ILocalNvmeSsdBlockConfig|null);

NodeConfig localNvmeSsdBlockConfig.

localSsdCount

public localSsdCount: number;

NodeConfig localSsdCount.

loggingConfig

public loggingConfig?: (google.container.v1.INodePoolLoggingConfig|null);

NodeConfig loggingConfig.

machineType

public machineType: string;

NodeConfig machineType.

metadata

public metadata: { [k: string]: string };

NodeConfig metadata.

minCpuPlatform

public minCpuPlatform: string;

NodeConfig minCpuPlatform.

nodeGroup

public nodeGroup: string;

NodeConfig nodeGroup.

oauthScopes

public oauthScopes: string[];

NodeConfig oauthScopes.

preemptible

public preemptible: boolean;

NodeConfig preemptible.

reservationAffinity

public reservationAffinity?: (google.container.v1.IReservationAffinity|null);

NodeConfig reservationAffinity.

resourceLabels

public resourceLabels: { [k: string]: string };

NodeConfig resourceLabels.

resourceManagerTags

public resourceManagerTags?: (google.container.v1.IResourceManagerTags|null);

NodeConfig resourceManagerTags.

sandboxConfig

public sandboxConfig?: (google.container.v1.ISandboxConfig|null);

NodeConfig sandboxConfig.

secondaryBootDisks

public secondaryBootDisks: google.container.v1.ISecondaryBootDisk[];

NodeConfig secondaryBootDisks.

secondaryBootDiskUpdateStrategy

public secondaryBootDiskUpdateStrategy?: (google.container.v1.ISecondaryBootDiskUpdateStrategy|null);

NodeConfig secondaryBootDiskUpdateStrategy.

serviceAccount

public serviceAccount: string;

NodeConfig serviceAccount.

shieldedInstanceConfig

public shieldedInstanceConfig?: (google.container.v1.IShieldedInstanceConfig|null);

NodeConfig shieldedInstanceConfig.

soleTenantConfig

public soleTenantConfig?: (google.container.v1.ISoleTenantConfig|null);

NodeConfig soleTenantConfig.

spot

public spot: boolean;

NodeConfig spot.

tags

public tags: string[];

NodeConfig tags.

taints

public taints: google.container.v1.INodeTaint[];

NodeConfig taints.

windowsNodeConfig

public windowsNodeConfig?: (google.container.v1.IWindowsNodeConfig|null);

NodeConfig windowsNodeConfig.

workloadMetadataConfig

public workloadMetadataConfig?: (google.container.v1.IWorkloadMetadataConfig|null);

NodeConfig workloadMetadataConfig.

Methods

create(properties)

public static create(properties?: google.container.v1.INodeConfig): google.container.v1.NodeConfig;

Creates a new NodeConfig instance using the specified properties.

Parameter
Name Description
properties INodeConfig

Properties to set

Returns
Type Description
NodeConfig

NodeConfig instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.container.v1.NodeConfig;

Decodes a NodeConfig message from the specified reader or buffer.

Parameters
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
Type Description
NodeConfig

NodeConfig

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.container.v1.NodeConfig;

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

Parameter
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
NodeConfig

NodeConfig

encode(message, writer)

public static encode(message: google.container.v1.INodeConfig, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified NodeConfig message. Does not implicitly messages.

Parameters
Name Description
message INodeConfig

NodeConfig message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.container.v1.INodeConfig, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
Name Description
message INodeConfig

NodeConfig message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.container.v1.NodeConfig;

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

Parameter
Name Description
object { [k: string]: any }

Plain object

Returns
Type Description
NodeConfig

NodeConfig

getTypeUrl(typeUrlPrefix)

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for NodeConfig

Parameter
Name Description
typeUrlPrefix string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns
Type Description
string

The default type url

toJSON()

public toJSON(): { [k: string]: any };

Converts this NodeConfig to JSON.

Returns
Type Description
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.container.v1.NodeConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };

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

Parameters
Name Description
message NodeConfig

NodeConfig

options $protobuf.IConversionOptions

Conversion options

Returns
Type Description
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies a NodeConfig message.

Parameter
Name Description
message { [k: string]: any }

Plain object to verify

Returns
Type Description
(string|null)

null if valid, otherwise the reason why it is not