github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/proto/v4/recovery_store_sharding_info.proto (about)

     1  syntax = "proto3";
     2  
     3  package ntt.monitoring.v4;
     4  
     5  import "google/api/resource.proto";
     6  import "google/protobuf/duration.proto";
     7  import "google/protobuf/timestamp.proto";
     8  import "goten-sdk/types/meta.proto";
     9  
    10  option go_package = "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/recovery_store_sharding_info;recovery_store_sharding_info";
    11  option java_multiple_files = true;
    12  option java_outer_classname = "RecoveryStoreShardingInfoProto";
    13  option java_package = "com.ntt.monitoring.pb.v4";
    14  
    15  // RecoveryStoreShardingInfo Resource
    16  message RecoveryStoreShardingInfo {
    17    option (google.api.resource) = {
    18      type : "monitoring.edgelq.com/RecoveryStoreShardingInfo"
    19      pattern : "regions/{region}/recoveryStoreShardingInfos/"
    20                "{recovery_store_sharding_info}"
    21    };
    22  
    23    // Name of RecoveryStoreShardingInfo
    24    // When creating a new instance, this field is optional and if not provided,
    25    // it will be generated automatically. Last ID segment must conform to the
    26    // following regex: [a-zA-Z0-9_.-]{1,128}
    27    string name = 1;
    28  
    29    // Metadata is an object with information like create, update and delete time
    30    // (for async deleted resources), has user labels/annotations, sharding
    31    // information, multi-region syncing information and may have non-schema
    32    // owners (useful for taking ownership of resources belonging to lower level
    33    // services by higher ones).
    34    goten.types.Meta metadata = 4;
    35  
    36    // Period during which this sharding spec is valid.
    37    ValidityPeriod validity_period = 2;
    38  
    39    // Sharding spec for given validity period.
    40    ShardingSpec spec = 3;
    41  
    42    // Validity period specifies for which period of time this sharding spec is
    43    // valid.
    44    message ValidityPeriod {
    45      // Start time of validity period.
    46      google.protobuf.Timestamp start_time = 1;
    47  
    48      // End time of validity period.
    49      google.protobuf.Timestamp end_time = 2;
    50    }
    51  
    52    // Sharding spec defines how time series points is divided across two
    53    // dimensions: key (shards_count) and time (ts_blob_period).
    54    message ShardingSpec {
    55      // Defines period of time series points in a single blob.
    56      google.protobuf.Duration ts_blob_period = 1;
    57  
    58      // Number of shards (by key) in given shard period
    59      uint32 shards_count = 2;
    60    }
    61  }