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

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