Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class ConnectCluster.
An Apache Kafka Connect cluster deployed in a location.
Generated from protobuf message google.cloud.managedkafka.v1.ConnectCluster
Namespace
Google \ Cloud \ ManagedKafka \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ gcp_config
ConnectGcpConfig
Required. Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.
↳ name
string
Identifier. The name of the Kafka Connect cluster. Structured like: projects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id}
↳ kafka_cluster
string
Required. Immutable. The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like: projects/{project}/locations/{location}/clusters/{cluster}
↳ create_time
↳ update_time
↳ labels
↳ capacity_config
↳ state
int
Output only. The current state of the cluster.
↳ config
array| Google\Protobuf\Internal\MapField
Optional. Configurations for the worker that are overridden from the defaults. The key of the map is a Kafka Connect worker property name, for example: exactly.once.source.support
.
getGcpConfig
Required. Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.
hasGcpConfig
setGcpConfig
Required. Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.
$this
getName
Identifier. The name of the Kafka Connect cluster. Structured like: projects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id}
string
setName
Identifier. The name of the Kafka Connect cluster. Structured like: projects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id}
var
string
$this
getKafkaCluster
Required. Immutable. The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like: projects/{project}/locations/{location}/clusters/{cluster}
string
setKafkaCluster
Required. Immutable. The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like: projects/{project}/locations/{location}/clusters/{cluster}
var
string
$this
getCreateTime
Output only. The time when the cluster was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the cluster was created.
$this
getUpdateTime
Output only. The time when the cluster was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when the cluster was last updated.
$this
getLabels
Optional. Labels as key value pairs.
setLabels
Optional. Labels as key value pairs.
$this
getCapacityConfig
Required. Capacity configuration for the Kafka Connect cluster.
hasCapacityConfig
clearCapacityConfig
setCapacityConfig
Required. Capacity configuration for the Kafka Connect cluster.
$this
getState
Output only. The current state of the cluster.
int
setState
Output only. The current state of the cluster.
var
int
$this
getConfig
Optional. Configurations for the worker that are overridden from the
defaults. The key of the map is a Kafka Connect worker property name, for
example: exactly.once.source.support
.
setConfig
Optional. Configurations for the worker that are overridden from the
defaults. The key of the map is a Kafka Connect worker property name, for
example: exactly.once.source.support
.
$this
getPlatformConfig
string