Cluster(mapping=None, *, ignore_unknown_fields=False, **kwargs)
An Apache Kafka cluster deployed in a location.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
gcp_config |
google.cloud.managedkafka_v1.types.GcpConfig
Required. Configuration properties for a Kafka cluster deployed to Google Cloud Platform. This field is a member of oneof _ platform_config .
|
name |
str
Identifier. The name of the cluster. Structured like: projects/{project_number}/locations/{location}/clusters/{cluster_id} |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the cluster was created. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the cluster was last updated. |
labels |
MutableMapping[str, str]
Optional. Labels as key value pairs. |
capacity_config |
google.cloud.managedkafka_v1.types.CapacityConfig
Required. Capacity configuration for the Kafka cluster. |
rebalance_config |
google.cloud.managedkafka_v1.types.RebalanceConfig
Optional. Rebalance configuration for the Kafka cluster. |
state |
google.cloud.managedkafka_v1.types.Cluster.State
Output only. The current state of the cluster. |
Classes
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
State
State(value)
The state of the cluster.