github.com/timstclair/heapster@v0.20.0-alpha1/Godeps/_workspace/src/google.golang.org/appengine/internal/app_identity/app_identity_service.proto (about) 1 syntax = "proto2"; 2 option go_package = "app_identity"; 3 4 package appengine; 5 6 message AppIdentityServiceError { 7 enum ErrorCode { 8 SUCCESS = 0; 9 UNKNOWN_SCOPE = 9; 10 BLOB_TOO_LARGE = 1000; 11 DEADLINE_EXCEEDED = 1001; 12 NOT_A_VALID_APP = 1002; 13 UNKNOWN_ERROR = 1003; 14 NOT_ALLOWED = 1005; 15 NOT_IMPLEMENTED = 1006; 16 } 17 } 18 19 message SignForAppRequest { 20 optional bytes bytes_to_sign = 1; 21 } 22 23 message SignForAppResponse { 24 optional string key_name = 1; 25 optional bytes signature_bytes = 2; 26 } 27 28 message GetPublicCertificateForAppRequest { 29 } 30 31 message PublicCertificate { 32 optional string key_name = 1; 33 optional string x509_certificate_pem = 2; 34 } 35 36 message GetPublicCertificateForAppResponse { 37 repeated PublicCertificate public_certificate_list = 1; 38 optional int64 max_client_cache_time_in_second = 2; 39 } 40 41 message GetServiceAccountNameRequest { 42 } 43 44 message GetServiceAccountNameResponse { 45 optional string service_account_name = 1; 46 } 47 48 message GetAccessTokenRequest { 49 repeated string scope = 1; 50 optional int64 service_account_id = 2; 51 optional string service_account_name = 3; 52 } 53 54 message GetAccessTokenResponse { 55 optional string access_token = 1; 56 optional int64 expiration_time = 2; 57 } 58 59 message GetDefaultGcsBucketNameRequest { 60 } 61 62 message GetDefaultGcsBucketNameResponse { 63 optional string default_gcs_bucket_name = 1; 64 }