Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class AccessConfig.
The configuration of access to the Kafka cluster.
Generated from protobuf message google.cloud.managedkafka.v1.AccessConfig
Namespace
Google \ Cloud \ ManagedKafka \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ network_configs |
array<NetworkConfig>
Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka cluster. Minimum of 1 network is required. Maximum 10 networks can be specified. |
getNetworkConfigs
Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setNetworkConfigs
Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.
Parameter | |
---|---|
Name | Description |
var |
array<NetworkConfig>
|
Returns | |
---|---|
Type | Description |
$this |