Google Cloud Container V1 Client - Class DatapathProvider (2.8.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class DatapathProvider.

The datapath provider selects the implementation of the Kubernetes networkingmodel for service resolution and network policy enforcement.

Protobuf typegoogle.container.v1.DatapathProvider

Namespace

Google \ Cloud \ Container \ V1

Methods

static::name

Parameter
NameDescription
valuemixed

static::value

Parameter
NameDescription
namemixed

Constants

DATAPATH_PROVIDER_UNSPECIFIED

Value: 0

Default value.

Generated from protobuf enumDATAPATH_PROVIDER_UNSPECIFIED = 0;

LEGACY_DATAPATH

Value: 1

Use the IPTables implementation based on kube-proxy.

Generated from protobuf enumLEGACY_DATAPATH = 1;

ADVANCED_DATAPATH

Value: 2

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-24 UTC.