Represents a NetworkConfig.
Package
@google-cloud/containerConstructors
(constructor)(properties)
constructor(properties?: google.container.v1.INetworkConfig);
Constructs a new NetworkConfig.
Name | Description |
properties |
INetworkConfig
Properties to set |
Properties
datapathProvider
public datapathProvider: (google.container.v1.DatapathProvider|keyof typeof google.container.v1.DatapathProvider);
NetworkConfig datapathProvider.
defaultSnatStatus
public defaultSnatStatus?: (google.container.v1.IDefaultSnatStatus|null);
NetworkConfig defaultSnatStatus.
dnsConfig
public dnsConfig?: (google.container.v1.IDNSConfig|null);
NetworkConfig dnsConfig.
enableIntraNodeVisibility
public enableIntraNodeVisibility: boolean;
NetworkConfig enableIntraNodeVisibility.
enableL4ilbSubsetting
public enableL4ilbSubsetting: boolean;
NetworkConfig enableL4ilbSubsetting.
network
public network: string;
NetworkConfig network.
privateIpv6GoogleAccess
public privateIpv6GoogleAccess: (google.container.v1.PrivateIPv6GoogleAccess|keyof typeof google.container.v1.PrivateIPv6GoogleAccess);
NetworkConfig privateIpv6GoogleAccess.
serviceExternalIpsConfig
public serviceExternalIpsConfig?: (google.container.v1.IServiceExternalIPsConfig|null);
NetworkConfig serviceExternalIpsConfig.
subnetwork
public subnetwork: string;
NetworkConfig subnetwork.
Methods
create(properties)
public static create(properties?: google.container.v1.INetworkConfig): google.container.v1.NetworkConfig;
Creates a new NetworkConfig instance using the specified properties.
Name | Description |
properties |
INetworkConfig
Properties to set |
Type | Description |
google.container.v1.NetworkConfig | NetworkConfig instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.container.v1.NetworkConfig;
Decodes a NetworkConfig message from the specified reader or buffer.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Type | Description |
google.container.v1.NetworkConfig | NetworkConfig |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.container.v1.NetworkConfig;
Decodes a NetworkConfig message from the specified reader or buffer, length delimited.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
Type | Description |
google.container.v1.NetworkConfig | NetworkConfig |
encode(message, writer)
public static encode(message: google.container.v1.INetworkConfig, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified NetworkConfig message. Does not implicitly messages.
Name | Description |
message |
INetworkConfig
NetworkConfig message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.container.v1.INetworkConfig, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified NetworkConfig message, length delimited. Does not implicitly messages.
Name | Description |
message |
INetworkConfig
NetworkConfig message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.container.v1.NetworkConfig;
Creates a NetworkConfig message from a plain object. Also converts values to their respective internal types.
Name | Description |
object |
{ [k: string]: any }
Plain object |
Type | Description |
google.container.v1.NetworkConfig | NetworkConfig |
toJSON()
public toJSON(): { [k: string]: any };
Converts this NetworkConfig to JSON.
Type | Description |
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.container.v1.NetworkConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from a NetworkConfig message. Also converts values to other types if specified.
Name | Description |
message |
google.container.v1.NetworkConfig
NetworkConfig |
options |
$protobuf.IConversionOptions
Conversion options |
Type | Description |
{ [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies a NetworkConfig message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|