Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class GcpConfig.
Configuration properties for a Kafka cluster deployed to Google Cloud Platform.
Generated from protobuf message google.cloud.managedkafka.v1.GcpConfig
Namespace
Google \ Cloud \ ManagedKafka \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ access_config
↳ kms_key
string
Optional. Immutable. The Cloud KMS Key name to use for encryption. The key must be located in the same region as the cluster and cannot be changed. Structured like: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
getAccessConfig
Required. Access configuration for the Kafka cluster.
hasAccessConfig
clearAccessConfig
setAccessConfig
Required. Access configuration for the Kafka cluster.
$this
getKmsKey
Optional. Immutable. The Cloud KMS Key name to use for encryption. The key must be located in the same region as the cluster and cannot be changed.
Structured like: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
string
setKmsKey
Optional. Immutable. The Cloud KMS Key name to use for encryption. The key must be located in the same region as the cluster and cannot be changed.
Structured like: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
var
string
$this