Google Cloud Dataproc Metastore V1alpha Client - Class NetworkConfig (0.10.2)

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

Network configuration for the Dataproc Metastore service.

Next available ID: 4

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

Namespace

Google \ Cloud \ Metastore \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ consumers array<Google\Cloud\Metastore\V1alpha\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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setConsumers

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

Parameter
NameDescription
var array<Google\Cloud\Metastore\V1alpha\NetworkConfig\Consumer>
Returns
TypeDescription
$this

getCustomRoutesEnabled

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

Returns
TypeDescription
bool

setCustomRoutesEnabled

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this