[[["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 Cluster (0.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.1 (latest)](/php/docs/reference/cloud-managedkafka/latest/V1.Cluster)\n- [0.6.0](/php/docs/reference/cloud-managedkafka/0.6.0/V1.Cluster)\n- [0.5.0](/php/docs/reference/cloud-managedkafka/0.5.0/V1.Cluster)\n- [0.4.1](/php/docs/reference/cloud-managedkafka/0.4.1/V1.Cluster)\n- [0.3.1](/php/docs/reference/cloud-managedkafka/0.3.1/V1.Cluster)\n- [0.2.3](/php/docs/reference/cloud-managedkafka/0.2.3/V1.Cluster)\n- [0.1.3](/php/docs/reference/cloud-managedkafka/0.1.3/V1.Cluster) \nReference documentation and code samples for the Google Cloud Managed Kafka V1 Client class Cluster.\n\nAn Apache Kafka cluster deployed in a location.\n\nGenerated from protobuf message `google.cloud.managedkafka.v1.Cluster`\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 cluster deployed to Google\nCloud Platform.\n\n### hasGcpConfig\n\n### setGcpConfig\n\nRequired. Configuration properties for a Kafka cluster deployed to Google\nCloud Platform.\n\n### getName\n\nIdentifier. The name of the cluster. Structured like:\nprojects/{project_number}/locations/{location}/clusters/{cluster_id}\n\n### setName\n\nIdentifier. The name of the cluster. Structured like:\nprojects/{project_number}/locations/{location}/clusters/{cluster_id}\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 cluster.\n\n### hasCapacityConfig\n\n### clearCapacityConfig\n\n### setCapacityConfig\n\nRequired. Capacity configuration for the Kafka cluster.\n\n### getRebalanceConfig\n\nOptional. Rebalance configuration for the Kafka cluster.\n\n### hasRebalanceConfig\n\n### clearRebalanceConfig\n\n### setRebalanceConfig\n\nOptional. Rebalance configuration for the Kafka 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### getSatisfiesPzi\n\nOutput only. Reserved for future use.\n\n### hasSatisfiesPzi\n\n### clearSatisfiesPzi\n\n### setSatisfiesPzi\n\nOutput only. Reserved for future use.\n\n### getSatisfiesPzs\n\nOutput only. Reserved for future use.\n\n### hasSatisfiesPzs\n\n### clearSatisfiesPzs\n\n### setSatisfiesPzs\n\nOutput only. Reserved for future use.\n\n### getTlsConfig\n\nOptional. TLS configuration for the Kafka cluster.\n\n### hasTlsConfig\n\n### clearTlsConfig\n\n### setTlsConfig\n\nOptional. TLS configuration for the Kafka cluster.\n\n### getPlatformConfig"]]