Created
August 24, 2016 18:47
-
-
Save matiasinsaurralde/3ce36df31a45fd44ecfdb543e59697c9 to your computer and use it in GitHub Desktop.
session_state.proto
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
package coprocess; | |
message AccessSpec { | |
string url = 1; | |
repeated string methods = 2; | |
} | |
message AccessDefinition { | |
string api_name = 1; | |
string api_id = 2; | |
repeated string versions = 3; | |
repeated AccessSpec allowed_urls = 4; | |
} | |
message BasicAuthData { | |
string password = 1; | |
string hash = 2; | |
} | |
message JWTData { | |
string secret = 1; | |
} | |
message Monitor { | |
repeated double trigger_limits = 1; | |
} | |
message SessionState { | |
int64 last_check = 1; | |
double allowance = 2; | |
double rate = 3; | |
double per = 4; | |
int64 expires = 5; | |
int64 quota_max = 6; | |
int64 quota_renews = 7; | |
int64 quota_remaining = 8; | |
int64 quota_renewal_rate = 9; | |
map<string, AccessDefinition> access_rights = 10; | |
string org_id = 11; | |
string oauth_client_id = 12; | |
map<string, string> oauth_keys = 13; | |
BasicAuthData basic_auth_data = 14; | |
JWTData jwt_data = 15; | |
bool hmac_enabled = 16; | |
string hmac_secret = 17; | |
bool is_inactive = 18; | |
string apply_policy_id = 19; | |
int64 data_expires = 20; | |
Monitor monitor = 21; | |
bool enable_detailed_recording = 22; | |
string metadata = 23; | |
repeated string tags = 24; | |
string alias = 25; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment