diff --git a/Parallelstore/metadata/V1Beta/Parallelstore.php b/Parallelstore/metadata/V1Beta/Parallelstore.php
index 3bbcca5e213d..33dd88ecf03c 100644
Binary files a/Parallelstore/metadata/V1Beta/Parallelstore.php and b/Parallelstore/metadata/V1Beta/Parallelstore.php differ
diff --git a/Parallelstore/src/V1beta/DeploymentType.php b/Parallelstore/src/V1beta/DeploymentType.php
new file mode 100644
index 000000000000..26ed91f54fcd
--- /dev/null
+++ b/Parallelstore/src/V1beta/DeploymentType.php
@@ -0,0 +1,62 @@
+google.cloud.parallelstore.v1beta.DeploymentType
+ */
+class DeploymentType
+{
+ /**
+ * Default Deployment Type
+ * It is equivalent to SCRATCH
+ *
+ * Generated from protobuf enum DEPLOYMENT_TYPE_UNSPECIFIED = 0;
+ */
+ const DEPLOYMENT_TYPE_UNSPECIFIED = 0;
+ /**
+ * Scratch
+ *
+ * Generated from protobuf enum SCRATCH = 1;
+ */
+ const SCRATCH = 1;
+ /**
+ * Persistent
+ *
+ * Generated from protobuf enum PERSISTENT = 2;
+ */
+ const PERSISTENT = 2;
+
+ private static $valueToName = [
+ self::DEPLOYMENT_TYPE_UNSPECIFIED => 'DEPLOYMENT_TYPE_UNSPECIFIED',
+ self::SCRATCH => 'SCRATCH',
+ self::PERSISTENT => 'PERSISTENT',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/Parallelstore/src/V1beta/Instance.php b/Parallelstore/src/V1beta/Instance.php
index 7e849d93d3d1..f7bf0900d608 100644
--- a/Parallelstore/src/V1beta/Instance.php
+++ b/Parallelstore/src/V1beta/Instance.php
@@ -123,6 +123,14 @@ class Instance extends \Google\Protobuf\Internal\Message
* Generated from protobuf field .google.cloud.parallelstore.v1beta.DirectoryStripeLevel directory_stripe_level = 16 [(.google.api.field_behavior) = OPTIONAL];
*/
protected $directory_stripe_level = 0;
+ /**
+ * Optional. The deployment type of the instance. Allowed values are:
+ * * `SCRATCH`: the instance is a scratch instance.
+ * * `PERSISTENT`: the instance is a persistent instance.
+ *
+ * Generated from protobuf field .google.cloud.parallelstore.v1beta.DeploymentType deployment_type = 17 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $deployment_type = 0;
/**
* Constructor.
@@ -182,6 +190,10 @@ class Instance extends \Google\Protobuf\Internal\Message
* involving a mix of small and large directories.
* * `DIRECTORY_STRIPE_LEVEL_MAX`: recommended for directories with a large
* number of files.
+ * @type int $deployment_type
+ * Optional. The deployment type of the instance. Allowed values are:
+ * * `SCRATCH`: the instance is a scratch instance.
+ * * `PERSISTENT`: the instance is a persistent instance.
* }
*/
public function __construct($data = NULL) {
@@ -621,5 +633,35 @@ public function setDirectoryStripeLevel($var)
return $this;
}
+ /**
+ * Optional. The deployment type of the instance. Allowed values are:
+ * * `SCRATCH`: the instance is a scratch instance.
+ * * `PERSISTENT`: the instance is a persistent instance.
+ *
+ * Generated from protobuf field .google.cloud.parallelstore.v1beta.DeploymentType deployment_type = 17 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getDeploymentType()
+ {
+ return $this->deployment_type;
+ }
+
+ /**
+ * Optional. The deployment type of the instance. Allowed values are:
+ * * `SCRATCH`: the instance is a scratch instance.
+ * * `PERSISTENT`: the instance is a persistent instance.
+ *
+ * Generated from protobuf field .google.cloud.parallelstore.v1beta.DeploymentType deployment_type = 17 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setDeploymentType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Parallelstore\V1beta\DeploymentType::class);
+ $this->deployment_type = $var;
+
+ return $this;
+ }
+
}