Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class Cluster.
An Apache Kafka cluster deployed in a location.
Generated from protobuf message google.cloud.managedkafka.v1.Cluster
Namespace
Google \ Cloud \ ManagedKafka \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ gcp_config
↳ name
string
Identifier. The name of the cluster. Structured like: projects/{project_number}/locations/{location}/clusters/{cluster_id}
↳ create_time
↳ update_time
↳ labels
↳ capacity_config
↳ rebalance_config
↳ state
int
Output only. The current state of the cluster.
↳ satisfies_pzi
bool
Output only. Reserved for future use.
↳ satisfies_pzs
bool
Output only. Reserved for future use.
↳ tls_config
getGcpConfig
Required. Configuration properties for a Kafka cluster deployed to Google Cloud Platform.
hasGcpConfig
setGcpConfig
Required. Configuration properties for a Kafka cluster deployed to Google Cloud Platform.
$this
getName
Identifier. The name of the cluster. Structured like: projects/{project_number}/locations/{location}/clusters/{cluster_id}
string
setName
Identifier. The name of the cluster. Structured like: projects/{project_number}/locations/{location}/clusters/{cluster_id}
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 cluster.
hasCapacityConfig
clearCapacityConfig
setCapacityConfig
Required. Capacity configuration for the Kafka cluster.
$this
getRebalanceConfig
Optional. Rebalance configuration for the Kafka cluster.
hasRebalanceConfig
clearRebalanceConfig
setRebalanceConfig
Optional. Rebalance configuration for the Kafka cluster.
$this
getState
Output only. The current state of the cluster.
int
setState
Output only. The current state of the cluster.
var
int
$this
getSatisfiesPzi
Output only. Reserved for future use.
bool
hasSatisfiesPzi
clearSatisfiesPzi
setSatisfiesPzi
Output only. Reserved for future use.
var
bool
$this
getSatisfiesPzs
Output only. Reserved for future use.
bool
hasSatisfiesPzs
clearSatisfiesPzs
setSatisfiesPzs
Output only. Reserved for future use.
var
bool
$this
getTlsConfig
Optional. TLS configuration for the Kafka cluster.
hasTlsConfig
clearTlsConfig
setTlsConfig
Optional. TLS configuration for the Kafka cluster.
$this
getPlatformConfig
string