Class protos.google.container.v1beta1.NetworkConfig (5.19.0)

Represents a NetworkConfig.

Package

@google-cloud/container

Constructors

(constructor)(properties)

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

Constructs a new NetworkConfig.

Parameter
Name Description
properties INetworkConfig

Properties to set

Properties

_enableCiliumClusterwideNetworkPolicy

public _enableCiliumClusterwideNetworkPolicy?: "enableCiliumClusterwideNetworkPolicy";

NetworkConfig _enableCiliumClusterwideNetworkPolicy.

_enableFqdnNetworkPolicy

public _enableFqdnNetworkPolicy?: "enableFqdnNetworkPolicy";

NetworkConfig _enableFqdnNetworkPolicy.

_inTransitEncryptionConfig

public _inTransitEncryptionConfig?: "inTransitEncryptionConfig";

NetworkConfig _inTransitEncryptionConfig.

datapathProvider

public datapathProvider: (google.container.v1beta1.DatapathProvider|keyof typeof google.container.v1beta1.DatapathProvider);

NetworkConfig datapathProvider.

defaultSnatStatus

public defaultSnatStatus?: (google.container.v1beta1.IDefaultSnatStatus|null);

NetworkConfig defaultSnatStatus.

dnsConfig

public dnsConfig?: (google.container.v1beta1.IDNSConfig|null);

NetworkConfig dnsConfig.

enableCiliumClusterwideNetworkPolicy

public enableCiliumClusterwideNetworkPolicy?: (boolean|null);

NetworkConfig enableCiliumClusterwideNetworkPolicy.

enableFqdnNetworkPolicy

public enableFqdnNetworkPolicy?: (boolean|null);

NetworkConfig enableFqdnNetworkPolicy.

enableIntraNodeVisibility

public enableIntraNodeVisibility: boolean;

NetworkConfig enableIntraNodeVisibility.

enableL4ilbSubsetting

public enableL4ilbSubsetting: boolean;

NetworkConfig enableL4ilbSubsetting.

enableMultiNetworking

public enableMultiNetworking: boolean;

NetworkConfig enableMultiNetworking.

gatewayApiConfig

public gatewayApiConfig?: (google.container.v1beta1.IGatewayAPIConfig|null);

NetworkConfig gatewayApiConfig.

inTransitEncryptionConfig

public inTransitEncryptionConfig?: (google.container.v1beta1.InTransitEncryptionConfig|keyof typeof google.container.v1beta1.InTransitEncryptionConfig|null);

NetworkConfig inTransitEncryptionConfig.

network

public network: string;

NetworkConfig network.

networkPerformanceConfig

public networkPerformanceConfig?: (google.container.v1beta1.NetworkConfig.IClusterNetworkPerformanceConfig|null);

NetworkConfig networkPerformanceConfig.

privateIpv6GoogleAccess

public privateIpv6GoogleAccess: (google.container.v1beta1.PrivateIPv6GoogleAccess|keyof typeof google.container.v1beta1.PrivateIPv6GoogleAccess);

NetworkConfig privateIpv6GoogleAccess.

serviceExternalIpsConfig

public serviceExternalIpsConfig?: (google.container.v1beta1.IServiceExternalIPsConfig|null);

NetworkConfig serviceExternalIpsConfig.

subnetwork

public subnetwork: string;

NetworkConfig subnetwork.

Methods

create(properties)

public static create(properties?: google.container.v1beta1.INetworkConfig): google.container.v1beta1.NetworkConfig;

Creates a new NetworkConfig instance using the specified properties.

Parameter
Name Description
properties INetworkConfig

Properties to set

Returns
Type Description
NetworkConfig

NetworkConfig instance

decode(reader, length)

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

Decodes a NetworkConfig 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
NetworkConfig

NetworkConfig

decodeDelimited(reader)

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

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

Parameter
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
NetworkConfig

NetworkConfig

encode(message, writer)

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

Encodes the specified NetworkConfig message. Does not implicitly messages.

Parameters
Name Description
message INetworkConfig

NetworkConfig 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.v1beta1.INetworkConfig, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
Name Description
message INetworkConfig

NetworkConfig 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.v1beta1.NetworkConfig;

Creates a NetworkConfig 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
NetworkConfig

NetworkConfig

getTypeUrl(typeUrlPrefix)

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

Gets the default type url for NetworkConfig

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 NetworkConfig to JSON.

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

JSON object

toObject(message, options)

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

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

Parameters
Name Description
message NetworkConfig

NetworkConfig

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 NetworkConfig 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