Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::V1::GcpConfig.
Configuration properties for a Kafka cluster deployed to Google Cloud Platform.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#access_config
def access_config() -> ::Google::Cloud::ManagedKafka::V1::AccessConfig
Returns
- (::Google::Cloud::ManagedKafka::V1::AccessConfig) — Required. Access configuration for the Kafka cluster.
#access_config=
def access_config=(value) -> ::Google::Cloud::ManagedKafka::V1::AccessConfig
Parameter
- value (::Google::Cloud::ManagedKafka::V1::AccessConfig) — Required. Access configuration for the Kafka cluster.
Returns
- (::Google::Cloud::ManagedKafka::V1::AccessConfig) — Required. Access configuration for the Kafka cluster.
#kms_key
def kms_key() -> ::String
Returns
- (::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}.
#kms_key=
def kms_key=(value) -> ::String
Parameter
- value (::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}.
Returns
- (::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}.