github.com/cloudwan/edgelq-sdk@v1.15.4/iam/proto/v1/organization_invitation_change.proto (about) 1 syntax = "proto3"; 2 3 package ntt.iam.v1; 4 5 import "edgelq-sdk/iam/proto/v1/organization_invitation.proto"; 6 import "google/api/resource.proto"; 7 import "google/protobuf/field_mask.proto"; 8 9 option go_package = "github.com/cloudwan/edgelq-sdk/iam/resources/v1/organization_invitation;organization_invitation"; 10 option java_multiple_files = false; 11 option java_outer_classname = "OrganizationInvitationChangeProto"; 12 option java_package = "com.ntt.iam.pb.v1"; 13 14 // OrganizationInvitationChange is used by Watch notifications Responses to 15 // describe change of single OrganizationInvitation One of Added, Modified, 16 // Removed 17 message OrganizationInvitationChange { 18 // OrganizationInvitation change 19 oneof change_type { 20 // Added is returned when watched document is added, either created or 21 // enters Query view 22 Added added = 1; 23 24 // Modified is returned when watched document is modified 25 Modified modified = 2; 26 27 // Current is returned in stateless watch when document enters query view or 28 // is modified within. 29 Current current = 4; 30 31 // Removed is returned when OrganizationInvitation is deleted or leaves 32 // Query view 33 Removed removed = 3; 34 } 35 36 // OrganizationInvitation has been added to query view 37 message Added { 38 OrganizationInvitation organization_invitation = 1; 39 40 // Integer describing index of added OrganizationInvitation in resulting 41 // query view. 42 int32 view_index = 2; 43 } 44 45 // OrganizationInvitation changed some of it's fields - contains either full 46 // document or masked change 47 message Modified { 48 // Name of modified OrganizationInvitation 49 string name = 1; 50 51 // New version of OrganizationInvitation or masked difference, depending on 52 // mask_changes instrumentation of issued 53 // [WatchOrganizationInvitationRequest] or 54 // [WatchOrganizationInvitationsRequest] 55 OrganizationInvitation organization_invitation = 2; 56 57 // Used when mask_changes is set, contains field paths of modified 58 // properties. 59 google.protobuf.FieldMask field_mask = 3; 60 61 // Previous view index specifies previous position of modified 62 // OrganizationInvitation. When modification doesn't affect sorted order, 63 // value will remain identical to [view_index]. 64 int32 previous_view_index = 4; 65 66 // Integer specifying OrganizationInvitation new index in resulting query 67 // view. 68 int32 view_index = 5; 69 } 70 71 // OrganizationInvitation has been added or modified in a query view. Version 72 // used for stateless watching 73 message Current { OrganizationInvitation organization_invitation = 1; } 74 75 // Removed is returned when OrganizationInvitation is deleted or leaves Query 76 // view 77 message Removed { 78 string name = 1; 79 80 // Integer specifying removed OrganizationInvitation index. Not populated in 81 // stateless watch type. 82 int32 view_index = 2; 83 } 84 }