github.com/cloudwan/edgelq-sdk@v1.15.4/devices/proto/v1/device_distribution_counter.proto (about)

     1  syntax = "proto3";
     2  
     3  package ntt.devices.v1;
     4  
     5  import "google/api/resource.proto";
     6  import "goten-sdk/types/meta.proto";
     7  
     8  option go_package = "github.com/cloudwan/edgelq-sdk/devices/resources/v1/device_distribution_counter;device_distribution_counter";
     9  option java_multiple_files = true;
    10  option java_outer_classname = "DeviceDistributionCounterProto";
    11  option java_package = "com.ntt.devices.pb.v1";
    12  
    13  // DeviceDistributionCounter Resource
    14  message DeviceDistributionCounter {
    15    option (google.api.resource) = {
    16      type : "devices.edgelq.com/DeviceDistributionCounter"
    17      pattern : "projects/{project}/regions/{region}/deviceDistributionCounters/"
    18                "{device_distribution_counter}"
    19    };
    20  
    21    // Name of DeviceDistributionCounter
    22    // When creating a new instance, this field is optional and if not provided,
    23    // it will be generated automatically. Last ID segment must conform to the
    24    // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9]
    25    string name = 1;
    26  
    27    // Metadata is an object with information like create, update and delete time
    28    // (for async deleted resources), has user labels/annotations, sharding
    29    // information, multi-region syncing information and may have non-schema
    30    // owners (useful for taking ownership of resources belonging to lower level
    31    // services by higher ones).
    32    goten.types.Meta metadata = 2;
    33  
    34    int64 total_count = 3;
    35  
    36    int64 online_count = 4;
    37  }