github.com/microsoft/moc@v0.17.1/rpc/cloudagent/cloud/location/moc_cloudagent_location.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/cloudagent/cloud";
     6  package moc.cloudagent.location;
     7  
     8  import "google/protobuf/wrappers.proto";
     9  import "moc_common_common.proto";
    10  
    11  message LocationRequest {
    12  	repeated Location Locations = 1;
    13  	Operation OperationType = 2;
    14  }
    15  
    16  message LocationResponse {
    17  	repeated Location Locations = 1;
    18  	google.protobuf.BoolValue Result = 2;
    19  	string  Error = 3;
    20  }
    21  
    22  message Location {
    23  	string name = 1;
    24  	string id = 2;
    25  	Status status = 3;
    26  	Tags tags = 4;
    27  }
    28  
    29  service LocationAgent {
    30  	rpc Invoke(LocationRequest) returns (LocationResponse) {}
    31  }
    32