Google Cloud Dataproc Metastore V1beta Client - Class NetworkConfig (1.0.0)

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1beta Client class NetworkConfig.

Network configuration for the Dataproc Metastore service.

Next available ID: 4

Generated from protobuf message google.cloud.metastore.v1beta.NetworkConfig

Namespace

Google \ Cloud \ Metastore \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ consumers array<Google\Cloud\Metastore\V1beta\NetworkConfig\Consumer>

Immutable. The consumer-side network configuration for the Dataproc Metastore instance.

↳ custom_routes_enabled bool

Enables custom routes to be imported and exported for the Dataproc Metastore service's peered VPC network.

getConsumers

Immutable. The consumer-side network configuration for the Dataproc Metastore instance.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setConsumers

Immutable. The consumer-side network configuration for the Dataproc Metastore instance.

Parameter
Name Description
var array<Google\Cloud\Metastore\V1beta\NetworkConfig\Consumer>
Returns
Type Description
$this

getCustomRoutesEnabled

Enables custom routes to be imported and exported for the Dataproc Metastore service's peered VPC network.

Returns
Type Description
bool

setCustomRoutesEnabled

Enables custom routes to be imported and exported for the Dataproc Metastore service's peered VPC network.

Parameter
Name Description
var bool
Returns
Type Description
$this