github.com/cloudwan/edgelq-sdk@v1.15.4/iam/proto/v1/project_custom.proto (about)

     1  syntax = "proto3";
     2  
     3  package ntt.iam.v1;
     4  
     5  import "edgelq-sdk/iam/proto/v1/project.proto";
     6  import "edgelq-sdk/iam/proto/v1/project_change.proto";
     7  import "google/protobuf/field_mask.proto";
     8  
     9  option go_package = "github.com/cloudwan/edgelq-sdk/iam/client/v1/project;project_client";
    10  option java_multiple_files = false;
    11  option java_outer_classname = "ProjectCustomProto";
    12  option java_package = "com.ntt.iam.pb.v1";
    13  
    14  // Request message for method [ListMyProjects][ntt.iam.v1.ListMyProjects]
    15  message ListMyProjectsRequest {
    16    // Requested page size. Server may return fewer Projects than requested.
    17    // If unspecified, server will pick an appropriate default.
    18    int32 page_size = 2;
    19  
    20    // A token identifying a page of results the server should return.
    21    // Typically, this is the value of
    22    // [ListProjectsResponse.next_page_token][ntt.iam.v1.ListMyProjectsResponse.next_page_token]
    23    string page_token = 3;
    24  
    25    // Order By -
    26    // https://cloud.google.com/apis/design/design_patterns#list_pagination list
    27    // of field path with order directive, either 'asc' or 'desc'. If direction is
    28    // not provided, 'asc' is assumed. e.g. "state.nested_field asc,
    29    // state.something.else desc, theme"
    30    string order_by = 4;
    31  
    32    // Filter - filter results by field criteria. Simplified SQL-like syntax with
    33    // following operators:
    34    // <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS
    35    // [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels
    36    // CONTAINS "severity:important" OR (state.last_error_time >
    37    // "2018-11-15T10:00:00Z" AND state.status = "ERROR")'
    38    string filter = 5;
    39  
    40    // A FieldMask used to filter response fields. When present, only requested
    41    // fields will be present in each response item. Omitting field_mask results
    42    // will cause response items to contain all present fields.
    43    google.protobuf.FieldMask field_mask = 6;
    44  
    45    bool include_paging_info = 7;
    46  }
    47  
    48  // Response message for method [ListMyProjects][ntt.iam.v1.ListMyProjects]
    49  message ListMyProjectsResponse {
    50    // The list of Projects
    51    repeated Project projects = 1;
    52  
    53    // A token to retrieve previous page of results. Pass this value in the
    54    // [ListMyProjectsRequest.page_token][ntt.iam.v1.ListMyProjectsRequest.page_token]
    55    string prev_page_token = 3;
    56  
    57    // A token to retrieve next page of results. Pass this value in the
    58    // [ListMyProjectsRequest.page_token][ntt.iam.v1.ListMyProjectsRequest.page_token]
    59    string next_page_token = 4;
    60  
    61    int32 total_count = 5;
    62  
    63    int32 cursor_offset = 6;
    64  }
    65  
    66  // Request message for method [SearchMyProjects][ntt.iam.v1.SearchMyProjects]
    67  message SearchMyProjectsRequest {
    68    // Requested page size. Server may return fewer Projects than requested.
    69    // If unspecified, server will pick an appropriate default.
    70    int32 page_size = 2;
    71  
    72    // A token identifying a page of results the server should return.
    73    // Typically, this is the value of
    74    // [SearchProjectsResponse.next_page_token][ntt.iam.v1.SearchMyProjectsResponse.next_page_token]
    75    string page_token = 3;
    76  
    77    // Order By -
    78    // https://cloud.google.com/apis/design/design_patterns#list_pagination list
    79    // of field path with order directive, either 'asc' or 'desc'. If direction is
    80    // not provided, 'asc' is assumed. e.g. "state.nested_field asc,
    81    // state.something.else desc, theme"
    82    string order_by = 4;
    83  
    84    // Filter - filter results by field criteria. Simplified SQL-like syntax with
    85    // following operators:
    86    // <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS
    87    // [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels
    88    // CONTAINS "severity:important" OR (state.last_error_time >
    89    // "2018-11-15T10:00:00Z" AND state.status = "ERROR")'
    90    string filter = 5;
    91  
    92    // A FieldMask used to filter response fields. When present, only requested
    93    // fields will be present in each response item. Omitting field_mask results
    94    // will cause response items to contain all present fields.
    95    google.protobuf.FieldMask field_mask = 6;
    96  
    97    bool include_paging_info = 7;
    98  
    99    string phrase = 8;
   100  }
   101  
   102  // Response message for method [SearchMyProjects][ntt.iam.v1.SearchMyProjects]
   103  message SearchMyProjectsResponse {
   104    // The list of Projects
   105    repeated Project projects = 1;
   106  
   107    // A token to retrieve previous page of results. Pass this value in the
   108    // [SearchMyProjectsRequest.page_token][ntt.iam.v1.SearchMyProjectsRequest.page_token]
   109    string prev_page_token = 3;
   110  
   111    // A token to retrieve next page of results. Pass this value in the
   112    // [SearchMyProjectsRequest.page_token][ntt.iam.v1.SearchMyProjectsRequest.page_token]
   113    string next_page_token = 4;
   114  
   115    int32 total_count = 5;
   116  
   117    int32 cursor_offset = 6;
   118  }