diff --git a/ManagedKafka/metadata/V1/Resources.php b/ManagedKafka/metadata/V1/Resources.php
index f98ecbb08934..05cd1c359ad8 100644
Binary files a/ManagedKafka/metadata/V1/Resources.php and b/ManagedKafka/metadata/V1/Resources.php differ
diff --git a/ManagedKafka/src/V1/Cluster.php b/ManagedKafka/src/V1/Cluster.php
index d3d0d0766e51..0f78467726d0 100644
--- a/ManagedKafka/src/V1/Cluster.php
+++ b/ManagedKafka/src/V1/Cluster.php
@@ -58,6 +58,18 @@ class Cluster extends \Google\Protobuf\Internal\Message
* Generated from protobuf field .google.cloud.managedkafka.v1.Cluster.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
protected $state = 0;
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field optional bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $satisfies_pzi = null;
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field optional bool satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $satisfies_pzs = null;
protected $platform_config;
/**
@@ -84,6 +96,10 @@ class Cluster extends \Google\Protobuf\Internal\Message
* Optional. Rebalance configuration for the Kafka cluster.
* @type int $state
* Output only. The current state of the cluster.
+ * @type bool $satisfies_pzi
+ * Output only. Reserved for future use.
+ * @type bool $satisfies_pzs
+ * Output only. Reserved for future use.
* }
*/
public function __construct($data = NULL) {
@@ -348,6 +364,78 @@ public function setState($var)
return $this;
}
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field optional bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return bool
+ */
+ public function getSatisfiesPzi()
+ {
+ return isset($this->satisfies_pzi) ? $this->satisfies_pzi : false;
+ }
+
+ public function hasSatisfiesPzi()
+ {
+ return isset($this->satisfies_pzi);
+ }
+
+ public function clearSatisfiesPzi()
+ {
+ unset($this->satisfies_pzi);
+ }
+
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field optional bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param bool $var
+ * @return $this
+ */
+ public function setSatisfiesPzi($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->satisfies_pzi = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field optional bool satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return bool
+ */
+ public function getSatisfiesPzs()
+ {
+ return isset($this->satisfies_pzs) ? $this->satisfies_pzs : false;
+ }
+
+ public function hasSatisfiesPzs()
+ {
+ return isset($this->satisfies_pzs);
+ }
+
+ public function clearSatisfiesPzs()
+ {
+ unset($this->satisfies_pzs);
+ }
+
+ /**
+ * Output only. Reserved for future use.
+ *
+ * Generated from protobuf field optional bool satisfies_pzs = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param bool $var
+ * @return $this
+ */
+ public function setSatisfiesPzs($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->satisfies_pzs = $var;
+
+ return $this;
+ }
+
/**
* @return string
*/
diff --git a/ManagedKafka/tests/Unit/V1/Client/ManagedKafkaClientTest.php b/ManagedKafka/tests/Unit/V1/Client/ManagedKafkaClientTest.php
index 0cdbbd8744e2..82f6ae8f874f 100644
--- a/ManagedKafka/tests/Unit/V1/Client/ManagedKafkaClientTest.php
+++ b/ManagedKafka/tests/Unit/V1/Client/ManagedKafkaClientTest.php
@@ -115,8 +115,12 @@ public function createClusterTest()
$incompleteOperation->setDone(false);
$transport->addResponse($incompleteOperation);
$name = 'name3373707';
+ $satisfiesPzi = false;
+ $satisfiesPzs = false;
$expectedResponse = new Cluster();
$expectedResponse->setName($name);
+ $expectedResponse->setSatisfiesPzi($satisfiesPzi);
+ $expectedResponse->setSatisfiesPzs($satisfiesPzs);
$anyResponse = new Any();
$anyResponse->setValue($expectedResponse->serializeToString());
$completeOperation = new Operation();
@@ -602,8 +606,12 @@ public function getClusterTest()
$this->assertTrue($transport->isExhausted());
// Mock response
$name2 = 'name2-1052831874';
+ $satisfiesPzi = false;
+ $satisfiesPzs = false;
$expectedResponse = new Cluster();
$expectedResponse->setName($name2);
+ $expectedResponse->setSatisfiesPzi($satisfiesPzi);
+ $expectedResponse->setSatisfiesPzs($satisfiesPzs);
$transport->addResponse($expectedResponse);
// Mock request
$formattedName = $gapicClient->clusterName('[PROJECT]', '[LOCATION]', '[CLUSTER]');
@@ -1026,8 +1034,12 @@ public function updateClusterTest()
$incompleteOperation->setDone(false);
$transport->addResponse($incompleteOperation);
$name = 'name3373707';
+ $satisfiesPzi = false;
+ $satisfiesPzs = false;
$expectedResponse = new Cluster();
$expectedResponse->setName($name);
+ $expectedResponse->setSatisfiesPzi($satisfiesPzi);
+ $expectedResponse->setSatisfiesPzs($satisfiesPzs);
$anyResponse = new Any();
$anyResponse->setValue($expectedResponse->serializeToString());
$completeOperation = new Operation();
@@ -1456,8 +1468,12 @@ public function createClusterAsyncTest()
$incompleteOperation->setDone(false);
$transport->addResponse($incompleteOperation);
$name = 'name3373707';
+ $satisfiesPzi = false;
+ $satisfiesPzs = false;
$expectedResponse = new Cluster();
$expectedResponse->setName($name);
+ $expectedResponse->setSatisfiesPzi($satisfiesPzi);
+ $expectedResponse->setSatisfiesPzs($satisfiesPzs);
$anyResponse = new Any();
$anyResponse->setValue($expectedResponse->serializeToString());
$completeOperation = new Operation();