表示更新專案時發出的遠端配置範本版本元資料物件的介面。
簽名:
export interface TemplateVersion
特性
財產 | 類型 | 描述 |
---|---|---|
描述 | 細繩 | 與此遠端配置模板版本關聯的描述。 |
復原來源 | 數位 | 此更新回滾到的遠端設定範本的版本號。僅當此更新是回滾時才適用。 |
更新來源 | 細繩 | 呼叫者的來源 - Firebase 控制台或遠端設定 REST API。有關有效值,請參閱 [ RemoteConfigUpdateOrigin ](/docs/reference/remote-config/rest/v1/Version#remoteconfigupdateorigin)。 |
更新時間 | 細繩 | 模板格式更新時(ISO8601 時間戳記)。 |
更新類型 | 細繩 | 執行的更新操作的類型,無論是強制、增量或回滾操作。請參閱 [ RemoteConfigUpdateType ](/docs/reference/remote-config/rest/v1/Version#remoteconfigupdatetype) 以了解有效值。 |
更新用戶 | 遠端配置用戶 | 有關執行更新的帳戶的元數據,類型為 [ RemoteConfigUser ](/docs/reference/remote-config/rest/v1/Version#remoteconfiguser)。 |
版本號 | 數位 | 更新後的遠端配置模板的版本號。 |
RemoteConfig.TemplateVersion.description
與此遠端配置模板版本關聯的描述。
簽名:
description: string;
RemoteConfig.TemplateVersion.rollbackSource
此更新回滾到的遠端設定範本的版本號。僅當此更新是回滾時才適用。
簽名:
rollbackSource?: number;
RemoteConfig.TemplateVersion.updateOrigin
呼叫者的來源 - Firebase 控制台或遠端設定 REST API。請參閱 [ RemoteConfigUpdateOrigin
](/docs/reference/remote-config/rest/v1/Version#remoteconfigupdateorigin) 取得有效值。
簽名:
updateOrigin: string;
RemoteConfig.TemplateVersion.updateTime
模板格式更新時(ISO8601 時間戳記)。
簽名:
updateTime: string;
RemoteConfig.TemplateVersion.updateType
執行的更新操作的類型,無論是強制、增量或回滾操作。請參閱 [ RemoteConfigUpdateType
](/docs/reference/remote-config/rest/v1/Version#remoteconfigupdatetype) 取得有效值。
簽名:
updateType: string;
RemoteConfig.TemplateVersion.updateUser
有關執行更新的帳戶的元數據,類型為 [ RemoteConfigUser
](/docs/reference/remote-config/rest/v1/Version#remoteconfiguser)。
簽名:
updateUser: RemoteConfigUser;
RemoteConfig.TemplateVersion.版本號
更新後的遠端配置模板的版本號。
簽名:
versionNumber: number;