github.com/microsoft/moc@v0.17.1/rpc/nodeagent/storage/sharedfolder/moc_nodeagent_sharedfolder.proto (about) 1 // Copyright (c) Microsoft Corporation. 2 // Licensed under the Apache v2.0 license. 3 4 syntax = "proto3"; 5 option go_package = "github.com/microsoft/moc/rpc/nodeagent/storage"; 6 package moc.nodeagent.storage; 7 8 import "google/protobuf/wrappers.proto"; 9 import "moc_common_common.proto"; 10 import "moc_common_notification.proto"; 11 import "google/protobuf/empty.proto"; 12 13 message SharedFolderRequest { 14 repeated SharedFolder SharedFolderSystems = 1; 15 Operation OperationType = 2; 16 } 17 18 message SharedFolderResponse { 19 repeated SharedFolder SharedFolderSystems = 1; 20 google.protobuf.BoolValue Result = 2; 21 string Error = 3; 22 } 23 24 message SharedFolder { 25 string name = 1; 26 string id = 2; 27 string containerName = 3; 28 string folderName = 4; 29 bool readOnly = 5; 30 string path = 6 [(sensitive) = true]; 31 string virtualmachineName = 7; 32 string guestMountPath = 8; 33 string mountTag = 9; 34 Status status = 10; 35 Entity entity = 11; 36 Tags tags = 12; 37 } 38 39 service SharedFolderAgent { 40 rpc Invoke(SharedFolderRequest) returns (SharedFolderResponse) {} 41 rpc CheckNotification(google.protobuf.Empty) returns (NotificationResponse) {} 42 }