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

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