Skip to main content

Cycle

1. Overview

The file statistic_cycle.yaml in exported package contains all configuration of Cycle module from exported title region. You can add, delete or update some items in the file and then re-import to the title region.

2. An Example of The File Content

# AUTO-GENERATED FILE.
#
# Export information
# @export_time: Fri, 17 Nov 2023 09:36:39 GMT
#
# This file was automatically generated by PGOS Portal.
# Copyright 2023 Proxima Beta, Inc. All Rights Reserved.

statistic_cycle:
snapshot_tag: "20231117173620153"
title_id: "5"
title_region_id: d_5_812179_dev
list:
- identification:
name: cyclename
cycle_id: cycleid
cycle_type: daily
desc: ""
enable_end_date: false
end_date: 2099-12-31 23:59:59
start_date: 2023-09-01 00:00:00
reset_month_day: 1
reset_season_days: 1
reset_time_hour: 0
reset_time_minute: 0
reset_week_day: 1
stats:
- stat_name: auto_test_tool2
bound_time: "1695632124"

3. Field Description

  • identification: The unique identifier for the current resource, it contains multiple fields:
    • name: the name of cycle. Type: string. Length: 1-100.
  • cycle_id: the id of cycle for unique. Type: string. Length: 1-100.
  • cycle_type: the type of cycle. Type: string. daily/weekly/monthly/seasonal
  • desc: the description of cycle. Type: string. Length: 1-1024.
  • enable_end_date: enable end date or not. Type: boolean.
  • end_date: the end date of cycle. Type: string.
  • start_date: the start date of cycle. Type: string.
  • reset_month_day: the reset month day of cycle for monthly type. Type: number.
  • reset_season_days: the reset season day of cycle for seasonal type. Type: number.
  • reset_time_hour: the reset time hour of cycle. Type: number.
  • reset_time_minute: the reset time minute of cycle. Type: number.
  • reset_week_day: the reset week day of cycle for weekly type. Type: number.
  • stats: the array of related stat. Type: array.
    • stat_name: the name of stat. Type: string.
    • bound_time: the timestamp of bound stat. Type: number.