github.com/cloudwan/edgelq-sdk@v1.15.4/limits/proto/v1alpha2/plan_assignment_request_custom.proto (about)

     1  syntax = "proto3";
     2  
     3  package ntt.limits.v1alpha2;
     4  
     5  import "edgelq-sdk/iam/proto/v1alpha2/organization.proto";
     6  import "edgelq-sdk/limits/proto/v1alpha2/accepted_plan.proto";
     7  import "edgelq-sdk/limits/proto/v1alpha2/plan_assignment_request.proto";
     8  import "edgelq-sdk/limits/proto/v1alpha2/plan_assignment_request_change.proto";
     9  import "google/protobuf/field_mask.proto";
    10  import "goten-sdk/types/view.proto";
    11  
    12  option go_package = "github.com/cloudwan/edgelq-sdk/limits/client/v1alpha2/plan_assignment_request;plan_assignment_request_client";
    13  option java_multiple_files = false;
    14  option java_outer_classname = "PlanAssignmentRequestCustomProto";
    15  option java_package = "com.ntt.limits.pb.v1alpha2";
    16  
    17  // Request message for method
    18  // [ListApproverPlanAssignmentRequests][ntt.limits.v1alpha2.ListApproverPlanAssignmentRequests]
    19  message ListApproverPlanAssignmentRequestsRequest {
    20    // Approver of the plan assignment requests
    21    string approver = 1;
    22  
    23    // Requested page size. Server may return fewer PlanAssignmentRequests than
    24    // requested. If unspecified, server will pick an appropriate default.
    25    int32 page_size = 2;
    26  
    27    // A token identifying a page of results the server should return.
    28    // Typically, this is the value of
    29    // [ListPlanAssignmentRequestsResponse.next_page_token][ntt.limits.v1alpha2.ListPlanAssignmentRequestsResponse.next_page_token]
    30    string page_token = 3;
    31  
    32    // Order By -
    33    // https://cloud.google.com/apis/design/design_patterns#list_pagination list
    34    // of field path with order directive, either 'asc' or 'desc'. If direction is
    35    // not provided, 'asc' is assumed. e.g. "state.nested_field asc,
    36    // state.something.else desc, theme"
    37    string order_by = 4;
    38  
    39    // Filter - filter results by field criteria. Simplified SQL-like syntax with
    40    // following operators:
    41    // <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS
    42    // [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels
    43    // CONTAINS "severity:important" OR (state.last_error_time >
    44    // "2018-11-15T10:00:00Z" AND state.status = "ERROR")'
    45    string filter = 5;
    46  
    47    // A list of extra fields to be obtained for each response item on top of
    48    // fields defined by request field view
    49    google.protobuf.FieldMask field_mask = 6;
    50  
    51    // View defines list of standard response fields present in response items.
    52    // Additional fields can be amended by request field field_mask
    53    goten.types.View view = 7;
    54  }
    55  
    56  // Request message for method
    57  // [AcceptPlanAssignment][ntt.limits.v1alpha2.AcceptPlanAssignment]
    58  message AcceptPlanAssignmentRequest {
    59    // name of ntt.limits.v1alpha2.PlanAssignmentRequest
    60    string name = 1;
    61  
    62    // Entity approving plan assignment. It can be left empty if the one approving
    63    // uses system-level privileges.
    64    string approver = 2;
    65  }
    66  
    67  // Response message for method
    68  // [AcceptAssignment][ntt.limits.v1alpha2.AcceptAssignment]
    69  message AcceptPlanAssignmentResponse { AcceptedPlan accepted_plan = 1; }
    70  
    71  // Request message for method
    72  // [DeclineAssignment][ntt.limits.v1alpha2.DeclineAssignment]
    73  message DeclinePlanAssignmentRequest {
    74    //  name of ntt.limits.v1alpha2.AssignmentRequest
    75    string name = 1;
    76  
    77    // Entity approving plan assignment. It must match approver in
    78    // PlanAssignmentRequest.
    79    string approver = 2;
    80  
    81    string reason = 3;
    82  }
    83  
    84  // Response message for method
    85  // [DeclinePlanAssignment][ntt.limits.v1alpha2.DeclinePlanAssignment]
    86  message DeclinePlanAssignmentResponse {}