Class protos.google.container.v1beta1.NodeConfig (5.10.0)

Represents a NodeConfig.

Package

@google-cloud/container

Constructors

(constructor)(properties)

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

Constructs a new NodeConfig.

Parameter
NameDescription
properties INodeConfig

Properties to set

Properties

_fastSocket

public _fastSocket?: "fastSocket";

NodeConfig _fastSocket.

accelerators

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

NodeConfig accelerators.

advancedMachineFeatures

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

NodeConfig advancedMachineFeatures.

bootDiskKmsKey

public bootDiskKmsKey: string;

NodeConfig bootDiskKmsKey.

confidentialNodes

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

NodeConfig confidentialNodes.

diskSizeGb

public diskSizeGb: number;

NodeConfig diskSizeGb.

diskType

public diskType: string;

NodeConfig diskType.

enableConfidentialStorage

public enableConfidentialStorage: boolean;

NodeConfig enableConfidentialStorage.

ephemeralStorageConfig

public ephemeralStorageConfig?: (google.container.v1beta1.IEphemeralStorageConfig|null);

NodeConfig ephemeralStorageConfig.

ephemeralStorageLocalSsdConfig

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

NodeConfig ephemeralStorageLocalSsdConfig.

fastSocket

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

NodeConfig fastSocket.

gcfsConfig

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

NodeConfig gcfsConfig.

gvnic

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

NodeConfig gvnic.

hostMaintenancePolicy

public hostMaintenancePolicy?: (google.container.v1beta1.IHostMaintenancePolicy|null);

NodeConfig hostMaintenancePolicy.

imageType

public imageType: string;

NodeConfig imageType.

kubeletConfig

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

NodeConfig kubeletConfig.

labels

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

NodeConfig labels.

linuxNodeConfig

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

NodeConfig linuxNodeConfig.

localNvmeSsdBlockConfig

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

NodeConfig localNvmeSsdBlockConfig.

localSsdCount

public localSsdCount: number;

NodeConfig localSsdCount.

loggingConfig

public loggingConfig?: (google.container.v1beta1.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.v1beta1.IReservationAffinity|null);

NodeConfig reservationAffinity.

resourceLabels

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

NodeConfig resourceLabels.

resourceManagerTags

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

NodeConfig resourceManagerTags.

sandboxConfig

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

NodeConfig sandboxConfig.

secondaryBootDisks

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

NodeConfig secondaryBootDisks.

serviceAccount

public serviceAccount: string;

NodeConfig serviceAccount.

shieldedInstanceConfig

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

NodeConfig shieldedInstanceConfig.

soleTenantConfig

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

NodeConfig soleTenantConfig.

spot

public spot: boolean;

NodeConfig spot.

tags

public tags: string[];

NodeConfig tags.

taints

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

NodeConfig taints.

windowsNodeConfig

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

NodeConfig windowsNodeConfig.

workloadMetadataConfig

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

NodeConfig workloadMetadataConfig.

Methods

create(properties)

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

Creates a new NodeConfig instance using the specified properties.

Parameter
NameDescription
properties INodeConfig

Properties to set

Returns
TypeDescription
NodeConfig

NodeConfig instance

decode(reader, length)

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

Decodes a NodeConfig message from the specified reader or buffer.

Parameters
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
NodeConfig

NodeConfig

decodeDelimited(reader)

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

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

Parameter
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
NodeConfig

NodeConfig

encode(message, writer)

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

Encodes the specified NodeConfig message. Does not implicitly messages.

Parameters
NameDescription
message INodeConfig

NodeConfig message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

encodeDelimited(message, writer)

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

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

Parameters
NameDescription
message INodeConfig

NodeConfig message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

fromObject(object)

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

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

Parameter
NameDescription
object { [k: string]: any }

Plain object

Returns
TypeDescription
NodeConfig

NodeConfig

getTypeUrl(typeUrlPrefix)

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

Gets the default type url for NodeConfig

Parameter
NameDescription
typeUrlPrefix string

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

Returns
TypeDescription
string

The default type url

toJSON()

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

Converts this NodeConfig to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

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

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

Parameters
NameDescription
message NodeConfig

NodeConfig

options $protobuf.IConversionOptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

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

Verifies a NodeConfig message.

Parameter
NameDescription
message { [k: string]: any }

Plain object to verify

Returns
TypeDescription
(string|null)

null if valid, otherwise the reason why it is not