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}
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.
Identifier. The name of the Kafka Connect cluster. Structured like:
projects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id}
Returns
Type
Description
string
setName
Identifier. The name of the Kafka Connect cluster. Structured like:
projects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id}
Parameter
Name
Description
var
string
Returns
Type
Description
$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}
Returns
Type
Description
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}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCreateTime
Output only. The time when the cluster was created.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Managed Kafka V1 Client - Class ConnectCluster (0.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.1 (latest)](/php/docs/reference/cloud-managedkafka/latest/V1.ConnectCluster)\n- [0.6.0](/php/docs/reference/cloud-managedkafka/0.6.0/V1.ConnectCluster)\n- [0.5.0](/php/docs/reference/cloud-managedkafka/0.5.0/V1.ConnectCluster)\n- [0.4.1](/php/docs/reference/cloud-managedkafka/0.4.1/V1.ConnectCluster)\n- [0.3.1](/php/docs/reference/cloud-managedkafka/0.3.1/V1.ConnectCluster)\n- [0.2.3](/php/docs/reference/cloud-managedkafka/0.2.3/V1.ConnectCluster)\n- [0.1.3](/php/docs/reference/cloud-managedkafka/0.1.3/V1.ConnectCluster) \nReference documentation and code samples for the Google Cloud Managed Kafka V1 Client class ConnectCluster.\n\nAn Apache Kafka Connect cluster deployed in a location.\n\nGenerated from protobuf message `google.cloud.managedkafka.v1.ConnectCluster`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ManagedKafka \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getGcpConfig\n\nRequired. Configuration properties for a Kafka Connect cluster deployed\nto Google Cloud Platform.\n\n### hasGcpConfig\n\n### setGcpConfig\n\nRequired. Configuration properties for a Kafka Connect cluster deployed\nto Google Cloud Platform.\n\n### getName\n\nIdentifier. The name of the Kafka Connect cluster. Structured like:\nprojects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id}\n\n### setName\n\nIdentifier. The name of the Kafka Connect cluster. Structured like:\nprojects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id}\n\n### getKafkaCluster\n\nRequired. Immutable. The name of the Kafka cluster this Kafka Connect\ncluster is attached to. Structured like:\nprojects/{project}/locations/{location}/clusters/{cluster}\n\n### setKafkaCluster\n\nRequired. Immutable. The name of the Kafka cluster this Kafka Connect\ncluster is attached to. Structured like:\nprojects/{project}/locations/{location}/clusters/{cluster}\n\n### getCreateTime\n\nOutput only. The time when the cluster was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The time when the cluster was created.\n\n### getUpdateTime\n\nOutput only. The time when the cluster was last updated.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. The time when the cluster was last updated.\n\n### getLabels\n\nOptional. Labels as key value pairs.\n\n### setLabels\n\nOptional. Labels as key value pairs.\n\n### getCapacityConfig\n\nRequired. Capacity configuration for the Kafka Connect cluster.\n\n### hasCapacityConfig\n\n### clearCapacityConfig\n\n### setCapacityConfig\n\nRequired. Capacity configuration for the Kafka Connect cluster.\n\n### getState\n\nOutput only. The current state of the cluster.\n\n### setState\n\nOutput only. The current state of the cluster.\n\n### getConfig\n\nOptional. Configurations for the worker that are overridden from the\ndefaults. The key of the map is a Kafka Connect worker property name, for\nexample: `exactly.once.source.support`.\n\n### setConfig\n\nOptional. Configurations for the worker that are overridden from the\ndefaults. The key of the map is a Kafka Connect worker property name, for\nexample: `exactly.once.source.support`.\n\n### getPlatformConfig"]]