diff --git a/AppsChat/metadata/Chat/V1/Space.php b/AppsChat/metadata/Chat/V1/Space.php index d677ec095933..5504f5780ffd 100644 Binary files a/AppsChat/metadata/Chat/V1/Space.php and b/AppsChat/metadata/Chat/V1/Space.php differ diff --git a/AppsChat/src/Chat/V1/Space.php b/AppsChat/src/Chat/V1/Space.php index 5ec5b13d3147..9fe556109f1e 100644 --- a/AppsChat/src/Chat/V1/Space.php +++ b/AppsChat/src/Chat/V1/Space.php @@ -159,6 +159,16 @@ class Space extends \Google\Protobuf\Internal\Message * Generated from protobuf field string space_uri = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $space_uri = ''; + /** + * Output only. The time when the space will be automatically deleted by the + * system if it remains in import mode. + * Each space created in import mode must exit this mode before this expire + * time using `spaces.completeImport`. + * This field is only populated for spaces that were created with import mode. + * + * Generated from protobuf field .google.protobuf.Timestamp import_mode_expire_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $import_mode_expire_time = null; protected $space_permission_settings; /** @@ -249,6 +259,12 @@ class Space extends \Google\Protobuf\Internal\Message * Optional. Space permission settings for existing spaces. Input for * updating exact space permission settings, where existing permission * settings are replaced. Output lists current permission settings. + * @type \Google\Protobuf\Timestamp $import_mode_expire_time + * Output only. The time when the space will be automatically deleted by the + * system if it remains in import mode. + * Each space created in import mode must exit this mode before this expire + * time using `spaces.completeImport`. + * This field is only populated for spaces that were created with import mode. * } */ public function __construct($data = NULL) { @@ -906,6 +922,50 @@ public function setPermissionSettings($var) return $this; } + /** + * Output only. The time when the space will be automatically deleted by the + * system if it remains in import mode. + * Each space created in import mode must exit this mode before this expire + * time using `spaces.completeImport`. + * This field is only populated for spaces that were created with import mode. + * + * Generated from protobuf field .google.protobuf.Timestamp import_mode_expire_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getImportModeExpireTime() + { + return $this->import_mode_expire_time; + } + + public function hasImportModeExpireTime() + { + return isset($this->import_mode_expire_time); + } + + public function clearImportModeExpireTime() + { + unset($this->import_mode_expire_time); + } + + /** + * Output only. The time when the space will be automatically deleted by the + * system if it remains in import mode. + * Each space created in import mode must exit this mode before this expire + * time using `spaces.completeImport`. + * This field is only populated for spaces that were created with import mode. + * + * Generated from protobuf field .google.protobuf.Timestamp import_mode_expire_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setImportModeExpireTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->import_mode_expire_time = $var; + + return $this; + } + /** * @return string */