stigg-sidecar-sdk 2.95.0 → 2.103.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12c32b39d273bfb995c3dc80b2a60c08bfb42b61cd4181667ef1286aacea4bfe
4
- data.tar.gz: 22b085281892f8c3354d45cdaee7693b3244ef42adb90810eb49be7e75812b8a
3
+ metadata.gz: 4740bcb0095175c57fb246ec97981d5d5c0fb0516e8204de1f557a1b3f09cb7f
4
+ data.tar.gz: 136cdf965b2a271d5e33f20784981d41d1a3c4e5c81f612df0209ef534d513ff
5
5
  SHA512:
6
- metadata.gz: aa55f6249150518ec42aabc04edd77bde531f650beaeb1d15a629baea7380ad565dfe25625687c44a2b7a6b26598999e40fbf6afe90f43128efda963c52a8e38
7
- data.tar.gz: 136f16d143ea9ba6ff73ac6b13d4cd98e1fb7405ea34a8d0cfad8cd41ba8f0511a40fb62c62740d1b6c22ba3710a69fec9be18a3002643a5ce4af69c9b6a2dae
6
+ metadata.gz: 5ed981860a1ddbbc6e87490231dac2a1631bb745ad7588e41963a931e48c95c5d4f84658f259fbaf1971c9e36e4813a7a915ceec6d390df4aa2a88942e8d3fa3
7
+ data.tar.gz: dd58e95566fc090b63f60b79d9a5ad9cfd833b4dc401fbbdd682bbdf4930086bbb26cbb4e32f0b55da85d0b33525ebff69226db409e67c150c05def8d517a0fa
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-sidecar-sdk (2.95.0)
4
+ stigg-sidecar-sdk (2.103.0)
5
5
  grpc (= 1.62.0)
6
6
  stigg-api-client (= 2.78.0)
7
7
 
@@ -8,7 +8,7 @@ require 'google/protobuf/empty_pb'
8
8
  require 'google/protobuf/timestamp_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n\x1estigg/sidecar/v1/sidecar.proto\x12\x10stigg.sidecar.v1\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9f\x02\n\x12\x45ntitlementFeature\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12@\n\x0c\x66\x65\x61ture_type\x18\x02 \x01(\x0e\x32\x1d.stigg.sidecar.v1.FeatureTypeR\x0b\x66\x65\x61tureType\x12\x19\n\x05units\x18\x03 \x01(\tH\x00R\x05units\x88\x01\x01\x12&\n\x0cunits_plural\x18\x04 \x01(\tH\x01R\x0bunitsPlural\x88\x01\x01\x12:\n\nmeter_type\x18\x05 \x01(\x0e\x32\x1b.stigg.sidecar.v1.MeterTypeR\tmeterType\x12\x1d\n\nis_metered\x18\x06 \x01(\x08R\tisMeteredB\x08\n\x06_unitsB\x0f\n\r_units_plural\"e\n\x12\x42ooleanEntitlement\x12\x43\n\x07\x66\x65\x61ture\x18\x04 \x01(\x0b\x32$.stigg.sidecar.v1.EntitlementFeatureH\x00R\x07\x66\x65\x61ture\x88\x01\x01\x42\n\n\x08_feature\"\xad\x01\n\x12NumericEntitlement\x12\x43\n\x07\x66\x65\x61ture\x18\x04 \x01(\x0b\x32$.stigg.sidecar.v1.EntitlementFeatureH\x00R\x07\x66\x65\x61ture\x88\x01\x01\x12\x19\n\x05value\x18\x05 \x01(\x05H\x01R\x05value\x88\x01\x01\x12!\n\x0cis_unlimited\x18\x06 \x01(\x08R\x0bisUnlimitedB\n\n\x08_featureB\x08\n\x06_value\"\xa3\x03\n\x12MeteredEntitlement\x12\x43\n\x07\x66\x65\x61ture\x18\x04 \x01(\x0b\x32$.stigg.sidecar.v1.EntitlementFeatureH\x00R\x07\x66\x65\x61ture\x88\x01\x01\x12$\n\x0busage_limit\x18\x05 \x01(\x01H\x01R\nusageLimit\x88\x01\x01\x12!\n\x0cis_unlimited\x18\x06 \x01(\x08R\x0bisUnlimited\x12#\n\rcurrent_usage\x18\x07 \x01(\x01R\x0c\x63urrentUsage\x12P\n\x0creset_period\x18\t \x01(\x0e\x32(.stigg.sidecar.v1.EntitlementResetPeriodH\x02R\x0bresetPeriod\x88\x01\x01\x12G\n\x0fnext_reset_date\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03R\rnextResetDate\x88\x01\x01\x42\n\n\x08_featureB\x0e\n\x0c_usage_limitB\x0f\n\r_reset_periodB\x12\n\x10_next_reset_date\"\xe2\x01\n\x0b\x45ntitlement\x12@\n\x07\x62oolean\x18\x01 \x01(\x0b\x32$.stigg.sidecar.v1.BooleanEntitlementH\x00R\x07\x62oolean\x12@\n\x07numeric\x18\x02 \x01(\x0b\x32$.stigg.sidecar.v1.NumericEntitlementH\x00R\x07numeric\x12@\n\x07metered\x18\x03 \x01(\x0b\x32$.stigg.sidecar.v1.MeteredEntitlementH\x00R\x07meteredB\r\n\x0b\x65ntitlement\"o\n\x16GetEntitlementsRequest\x12\x1f\n\x0b\x63ustomer_id\x18\x01 \x01(\tR\ncustomerId\x12$\n\x0bresource_id\x18\x02 \x01(\tH\x00R\nresourceId\x88\x01\x01\x42\x0e\n\x0c_resource_id\"\\\n\x17GetEntitlementsResponse\x12\x41\n\x0c\x65ntitlements\x18\x01 \x03(\x0b\x32\x1d.stigg.sidecar.v1.EntitlementR\x0c\x65ntitlements\";\n\x1a\x42ooleanEntitlementFallback\x12\x1d\n\nhas_access\x18\x01 \x01(\x08R\thasAccess\"w\n\x19\x42ooleanEntitlementOptions\x12M\n\x08\x66\x61llback\x18\x01 \x01(\x0b\x32,.stigg.sidecar.v1.BooleanEntitlementFallbackH\x00R\x08\x66\x61llback\x88\x01\x01\x42\x0b\n\t_fallback\"\xec\x01\n\x1cGetBooleanEntitlementRequest\x12\x1f\n\x0b\x63ustomer_id\x18\x01 \x01(\tR\ncustomerId\x12\x1d\n\nfeature_id\x18\x02 \x01(\tR\tfeatureId\x12$\n\x0bresource_id\x18\x03 \x01(\tH\x00R\nresourceId\x88\x01\x01\x12J\n\x07options\x18\x04 \x01(\x0b\x32+.stigg.sidecar.v1.BooleanEntitlementOptionsH\x01R\x07options\x88\x01\x01\x42\x0e\n\x0c_resource_idB\n\n\x08_options\"\x9d\x02\n\x1dGetBooleanEntitlementResponse\x12\x1d\n\nhas_access\x18\x01 \x01(\x08R\thasAccess\x12\x1f\n\x0bis_fallback\x18\x02 \x01(\x08R\nisFallback\x12[\n\x14\x61\x63\x63\x65ss_denied_reason\x18\x03 \x01(\x0e\x32$.stigg.sidecar.v1.AccessDeniedReasonH\x00R\x12\x61\x63\x63\x65ssDeniedReason\x88\x01\x01\x12\x46\n\x0b\x65ntitlement\x18\x04 \x01(\x0b\x32$.stigg.sidecar.v1.BooleanEntitlementR\x0b\x65ntitlementB\x17\n\x15_access_denied_reason\"\x99\x01\n\x1aNumericEntitlementFallback\x12\x1d\n\nhas_access\x18\x01 \x01(\x08R\thasAccess\x12\x19\n\x05value\x18\x02 \x01(\x05H\x00R\x05value\x88\x01\x01\x12&\n\x0cis_unlimited\x18\x03 \x01(\x08H\x01R\x0bisUnlimited\x88\x01\x01\x42\x08\n\x06_valueB\x0f\n\r_is_unlimited\"w\n\x19NumericEntitlementOptions\x12M\n\x08\x66\x61llback\x18\x01 \x01(\x0b\x32,.stigg.sidecar.v1.NumericEntitlementFallbackH\x00R\x08\x66\x61llback\x88\x01\x01\x42\x0b\n\t_fallback\"\xec\x01\n\x1cGetNumericEntitlementRequest\x12\x1f\n\x0b\x63ustomer_id\x18\x01 \x01(\tR\ncustomerId\x12\x1d\n\nfeature_id\x18\x02 \x01(\tR\tfeatureId\x12$\n\x0bresource_id\x18\x03 \x01(\tH\x00R\nresourceId\x88\x01\x01\x12J\n\x07options\x18\x04 \x01(\x0b\x32+.stigg.sidecar.v1.NumericEntitlementOptionsH\x01R\x07options\x88\x01\x01\x42\x0e\n\x0c_resource_idB\n\n\x08_options\"\x9d\x02\n\x1dGetNumericEntitlementResponse\x12\x1d\n\nhas_access\x18\x01 \x01(\x08R\thasAccess\x12\x1f\n\x0bis_fallback\x18\x02 \x01(\x08R\nisFallback\x12[\n\x14\x61\x63\x63\x65ss_denied_reason\x18\x03 \x01(\x0e\x32$.stigg.sidecar.v1.AccessDeniedReasonH\x00R\x12\x61\x63\x63\x65ssDeniedReason\x88\x01\x01\x12\x46\n\x0b\x65ntitlement\x18\x04 \x01(\x0b\x32$.stigg.sidecar.v1.NumericEntitlementR\x0b\x65ntitlementB\x17\n\x15_access_denied_reason\"\xaa\x01\n\x1aMeteredEntitlementFallback\x12\x1d\n\nhas_access\x18\x01 \x01(\x08R\thasAccess\x12$\n\x0busage_limit\x18\x02 \x01(\x01H\x00R\nusageLimit\x88\x01\x01\x12&\n\x0cis_unlimited\x18\x03 \x01(\x08H\x01R\x0bisUnlimited\x88\x01\x01\x42\x0e\n\x0c_usage_limitB\x0f\n\r_is_unlimited\"\xb9\x01\n\x19MeteredEntitlementOptions\x12,\n\x0frequested_usage\x18\x01 \x01(\x01H\x00R\x0erequestedUsage\x88\x01\x01\x12M\n\x08\x66\x61llback\x18\x02 \x01(\x0b\x32,.stigg.sidecar.v1.MeteredEntitlementFallbackH\x01R\x08\x66\x61llback\x88\x01\x01\x42\x12\n\x10_requested_usageB\x0b\n\t_fallback\"\xec\x01\n\x1cGetMeteredEntitlementRequest\x12\x1f\n\x0b\x63ustomer_id\x18\x01 \x01(\tR\ncustomerId\x12\x1d\n\nfeature_id\x18\x02 \x01(\tR\tfeatureId\x12$\n\x0bresource_id\x18\x03 \x01(\tH\x00R\nresourceId\x88\x01\x01\x12J\n\x07options\x18\x04 \x01(\x0b\x32+.stigg.sidecar.v1.MeteredEntitlementOptionsH\x01R\x07options\x88\x01\x01\x42\x0e\n\x0c_resource_idB\n\n\x08_options\"\xc6\x02\n\x1dGetMeteredEntitlementResponse\x12\x1d\n\nhas_access\x18\x01 \x01(\x08R\thasAccess\x12\x1f\n\x0bis_fallback\x18\x02 \x01(\x08R\nisFallback\x12[\n\x14\x61\x63\x63\x65ss_denied_reason\x18\x03 \x01(\x0e\x32$.stigg.sidecar.v1.AccessDeniedReasonH\x00R\x12\x61\x63\x63\x65ssDeniedReason\x88\x01\x01\x12\'\n\x0frequested_usage\x18\x04 \x01(\x01R\x0erequestedUsage\x12\x46\n\x0b\x65ntitlement\x18\x05 \x01(\x0b\x32$.stigg.sidecar.v1.MeteredEntitlementR\x0b\x65ntitlementB\x17\n\x15_access_denied_reason\"\x98\x02\n\x0cRedisOptions\x12-\n\x12\x65nvironment_prefix\x18\x01 \x01(\tR\x11\x65nvironmentPrefix\x12\x17\n\x04host\x18\x02 \x01(\tH\x00R\x04host\x88\x01\x01\x12\x17\n\x04port\x18\x03 \x01(\x05H\x01R\x04port\x88\x01\x01\x12\x13\n\x02\x64\x62\x18\x04 \x01(\x05H\x02R\x02\x64\x62\x88\x01\x01\x12\x1f\n\x08username\x18\x05 \x01(\tH\x03R\x08username\x88\x01\x01\x12\x1f\n\x08password\x18\x06 \x01(\tH\x04R\x08password\x88\x01\x01\x12\x15\n\x03ttl\x18\x07 \x01(\x05H\x05R\x03ttl\x88\x01\x01\x42\x07\n\x05_hostB\x07\n\x05_portB\x05\n\x03_dbB\x0b\n\t_usernameB\x0b\n\t_passwordB\x06\n\x04_ttl\"\xff\x01\n\x13\x45ntitlementFallback\x12H\n\x07\x62oolean\x18\x01 \x01(\x0b\x32,.stigg.sidecar.v1.BooleanEntitlementFallbackH\x00R\x07\x62oolean\x12H\n\x07numeric\x18\x02 \x01(\x0b\x32,.stigg.sidecar.v1.NumericEntitlementFallbackH\x00R\x07numeric\x12H\n\x07metered\x18\x03 \x01(\x0b\x32,.stigg.sidecar.v1.MeteredEntitlementFallbackH\x00R\x07meteredB\n\n\x08\x66\x61llback\"\xbf\x01\n\tApiConfig\x12\x17\n\x07\x61pi_key\x18\x01 \x01(\tR\x06\x61piKey\x12\x1c\n\x07\x61pi_url\x18\x02 \x01(\tH\x00R\x06\x61piUrl\x88\x01\x01\x12&\n\x0c\x65\x64ge_enabled\x18\x03 \x01(\x08H\x01R\x0b\x65\x64geEnabled\x88\x01\x01\x12%\n\x0c\x65\x64ge_api_url\x18\x04 \x01(\tH\x02R\nedgeApiUrl\x88\x01\x01\x42\n\n\x08_api_urlB\x0f\n\r_edge_enabledB\x0f\n\r_edge_api_url\"\xe7\x03\n\x12LocalSidecarConfig\x12\"\n\nws_enabled\x18\x05 \x01(\x08H\x00R\twsEnabled\x88\x01\x01\x12\x1a\n\x06ws_url\x18\x06 \x01(\tH\x01R\x05wsUrl\x88\x01\x01\x12\x39\n\x05redis\x18\x07 \x01(\x0b\x32\x1e.stigg.sidecar.v1.RedisOptionsH\x02R\x05redis\x88\x01\x01\x12s\n\x15\x65ntitlements_fallback\x18\x08 \x03(\x0b\x32>.stigg.sidecar.v1.LocalSidecarConfig.EntitlementsFallbackEntryR\x14\x65ntitlementsFallback\x12\x34\n\x14\x63\x61\x63he_max_size_bytes\x18\t \x01(\x03H\x03R\x11\x63\x61\x63heMaxSizeBytes\x88\x01\x01\x1an\n\x19\x45ntitlementsFallbackEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12;\n\x05value\x18\x02 \x01(\x0b\x32%.stigg.sidecar.v1.EntitlementFallbackR\x05value:\x02\x38\x01\x42\r\n\x0b_ws_enabledB\t\n\x07_ws_urlB\x08\n\x06_redisB\x17\n\x15_cache_max_size_bytes\"\x89\x02\n\x12ReportUsageRequest\x12\x1f\n\x0b\x63ustomer_id\x18\x01 \x01(\tR\ncustomerId\x12$\n\x0bresource_id\x18\x02 \x01(\tH\x00R\nresourceId\x88\x01\x01\x12\x1d\n\nfeature_id\x18\x03 \x01(\tR\tfeatureId\x12\x14\n\x05value\x18\x04 \x01(\x01R\x05value\x12S\n\x0fupdate_behavior\x18\x05 \x01(\x0e\x32%.stigg.sidecar.v1.UsageUpdateBehaviorH\x01R\x0eupdateBehavior\x88\x01\x01\x42\x0e\n\x0c_resource_idB\x12\n\x10_update_behavior\"\x8f\x01\n\x13\x45ventDimensionValue\x12#\n\x0cstring_value\x18\x01 \x01(\tH\x00R\x0bstringValue\x12#\n\x0cnumber_value\x18\x02 \x01(\x01H\x00R\x0bnumberValue\x12%\n\rboolean_value\x18\x03 \x01(\x08H\x00R\x0c\x62ooleanValueB\x07\n\x05value\"\xa2\x03\n\x05\x45vent\x12\x1d\n\nevent_name\x18\x01 \x01(\tR\teventName\x12\x1f\n\x0b\x63ustomer_id\x18\x02 \x01(\tR\ncustomerId\x12\'\n\x0fidempotency_key\x18\x03 \x01(\tR\x0eidempotencyKey\x12$\n\x0bresource_id\x18\x04 \x01(\tH\x00R\nresourceId\x88\x01\x01\x12G\n\ndimensions\x18\x05 \x03(\x0b\x32\'.stigg.sidecar.v1.Event.DimensionsEntryR\ndimensions\x12=\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\ttimestamp\x88\x01\x01\x1a\x64\n\x0f\x44imensionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12;\n\x05value\x18\x02 \x01(\x0b\x32%.stigg.sidecar.v1.EventDimensionValueR\x05value:\x02\x38\x01\x42\x0e\n\x0c_resource_idB\x0c\n\n_timestamp\"<\n\x13ReportUsageResponse\x12%\n\x0emeasurement_id\x18\x01 \x01(\tR\rmeasurementId\"F\n\x13ReportEventsRequest\x12/\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x17.stigg.sidecar.v1.EventR\x06\x65vents\"r\n\x19ReloadEntitlementsRequest\x12\x1f\n\x0b\x63ustomer_id\x18\x01 \x01(\tR\ncustomerId\x12$\n\x0bresource_id\x18\x02 \x01(\tH\x00R\nresourceId\x88\x01\x01\x42\x0e\n\x0c_resource_id\"R\n\x1aReloadEntitlementsResponse\x12\x34\n\x16\x65ntitled_entity_exists\x18\x01 \x01(\x08R\x14\x65ntitledEntityExists*\xc6\x03\n\x12\x41\x63\x63\x65ssDeniedReason\x12$\n ACCESS_DENIED_REASON_UNSPECIFIED\x10\x00\x12 \n\x1c\x41\x43\x43\x45SS_DENIED_REASON_UNKNOWN\x10\x01\x12-\n)ACCESS_DENIED_REASON_CUSTOMER_IS_ARCHIVED\x10\x02\x12+\n\'ACCESS_DENIED_REASON_CUSTOMER_NOT_FOUND\x10\x03\x12\x34\n0ACCESS_DENIED_REASON_CUSTOMER_RESOURCE_NOT_FOUND\x10\x04\x12*\n&ACCESS_DENIED_REASON_FEATURE_NOT_FOUND\x10\x05\x12/\n+ACCESS_DENIED_REASON_NO_ACTIVE_SUBSCRIPTION\x10\x06\x12?\n;ACCESS_DENIED_REASON_NO_FEATURE_ENTITLEMENT_IN_SUBSCRIPTION\x10\x07\x12\x38\n4ACCESS_DENIED_REASON_REQUESTED_USAGE_EXCEEDING_LIMIT\x10\x08*^\n\x0b\x46\x65\x61tureType\x12\x1c\n\x18\x46\x45\x41TURE_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x46\x45\x41TURE_TYPE_BOOLEAN\x10\x01\x12\x17\n\x13\x46\x45\x41TURE_TYPE_NUMBER\x10\x02*t\n\tMeterType\x12\x1a\n\x16METER_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fMETER_TYPE_NONE\x10\x01\x12\x1a\n\x16METER_TYPE_FLUCTUATING\x10\x02\x12\x1a\n\x16METER_TYPE_INCREMENTAL\x10\x03*\xf1\x01\n\x16\x45ntitlementResetPeriod\x12(\n$ENTITLEMENT_RESET_PERIOD_UNSPECIFIED\x10\x00\x12 \n\x1c\x45NTITLEMENT_RESET_PERIOD_DAY\x10\x01\x12!\n\x1d\x45NTITLEMENT_RESET_PERIOD_HOUR\x10\x02\x12\"\n\x1e\x45NTITLEMENT_RESET_PERIOD_MONTH\x10\x03\x12!\n\x1d\x45NTITLEMENT_RESET_PERIOD_WEEK\x10\x04\x12!\n\x1d\x45NTITLEMENT_RESET_PERIOD_YEAR\x10\x05*|\n\x13UsageUpdateBehavior\x12%\n!USAGE_UPDATE_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x1f\n\x1bUSAGE_UPDATE_BEHAVIOR_DELTA\x10\x01\x12\x1d\n\x19USAGE_UPDATE_BEHAVIOR_SET\x10\x02\x32\x82\x06\n\x0eSidecarService\x12\x66\n\x0fGetEntitlements\x12(.stigg.sidecar.v1.GetEntitlementsRequest\x1a).stigg.sidecar.v1.GetEntitlementsResponse\x12x\n\x15GetBooleanEntitlement\x12..stigg.sidecar.v1.GetBooleanEntitlementRequest\x1a/.stigg.sidecar.v1.GetBooleanEntitlementResponse\x12x\n\x15GetNumericEntitlement\x12..stigg.sidecar.v1.GetNumericEntitlementRequest\x1a/.stigg.sidecar.v1.GetNumericEntitlementResponse\x12x\n\x15GetMeteredEntitlement\x12..stigg.sidecar.v1.GetMeteredEntitlementRequest\x1a/.stigg.sidecar.v1.GetMeteredEntitlementResponse\x12Z\n\x0bReportUsage\x12$.stigg.sidecar.v1.ReportUsageRequest\x1a%.stigg.sidecar.v1.ReportUsageResponse\x12M\n\x0cReportEvents\x12%.stigg.sidecar.v1.ReportEventsRequest\x1a\x16.google.protobuf.Empty\x12o\n\x12ReloadEntitlements\x12+.stigg.sidecar.v1.ReloadEntitlementsRequest\x1a,.stigg.sidecar.v1.ReloadEntitlementsResponseB\x8b\x01\n\x19io.stigg.sidecar.proto.v1B\x0cSidecarProtoP\x01\xa2\x02\x03SSX\xaa\x02\x10Stigg.Sidecar.V1\xca\x02\x10Stigg\\Sidecar\\V1\xe2\x02\x1cStigg\\Sidecar\\V1\\GPBMetadata\xea\x02\x12Stigg::Sidecar::V1b\x06proto3"
11
+ descriptor_data = "\n\x1estigg/sidecar/v1/sidecar.proto\x12\x10stigg.sidecar.v1\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9f\x02\n\x12\x45ntitlementFeature\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12@\n\x0c\x66\x65\x61ture_type\x18\x02 \x01(\x0e\x32\x1d.stigg.sidecar.v1.FeatureTypeR\x0b\x66\x65\x61tureType\x12\x19\n\x05units\x18\x03 \x01(\tH\x00R\x05units\x88\x01\x01\x12&\n\x0cunits_plural\x18\x04 \x01(\tH\x01R\x0bunitsPlural\x88\x01\x01\x12:\n\nmeter_type\x18\x05 \x01(\x0e\x32\x1b.stigg.sidecar.v1.MeterTypeR\tmeterType\x12\x1d\n\nis_metered\x18\x06 \x01(\x08R\tisMeteredB\x08\n\x06_unitsB\x0f\n\r_units_plural\"e\n\x12\x42ooleanEntitlement\x12\x43\n\x07\x66\x65\x61ture\x18\x04 \x01(\x0b\x32$.stigg.sidecar.v1.EntitlementFeatureH\x00R\x07\x66\x65\x61ture\x88\x01\x01\x42\n\n\x08_feature\"\xad\x01\n\x12NumericEntitlement\x12\x43\n\x07\x66\x65\x61ture\x18\x04 \x01(\x0b\x32$.stigg.sidecar.v1.EntitlementFeatureH\x00R\x07\x66\x65\x61ture\x88\x01\x01\x12\x19\n\x05value\x18\x05 \x01(\x05H\x01R\x05value\x88\x01\x01\x12!\n\x0cis_unlimited\x18\x06 \x01(\x08R\x0bisUnlimitedB\n\n\x08_featureB\x08\n\x06_value\"\xa3\x03\n\x12MeteredEntitlement\x12\x43\n\x07\x66\x65\x61ture\x18\x04 \x01(\x0b\x32$.stigg.sidecar.v1.EntitlementFeatureH\x00R\x07\x66\x65\x61ture\x88\x01\x01\x12$\n\x0busage_limit\x18\x05 \x01(\x01H\x01R\nusageLimit\x88\x01\x01\x12!\n\x0cis_unlimited\x18\x06 \x01(\x08R\x0bisUnlimited\x12#\n\rcurrent_usage\x18\x07 \x01(\x01R\x0c\x63urrentUsage\x12P\n\x0creset_period\x18\t \x01(\x0e\x32(.stigg.sidecar.v1.EntitlementResetPeriodH\x02R\x0bresetPeriod\x88\x01\x01\x12G\n\x0fnext_reset_date\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03R\rnextResetDate\x88\x01\x01\x42\n\n\x08_featureB\x0e\n\x0c_usage_limitB\x0f\n\r_reset_periodB\x12\n\x10_next_reset_date\"\xe2\x01\n\x0b\x45ntitlement\x12@\n\x07\x62oolean\x18\x01 \x01(\x0b\x32$.stigg.sidecar.v1.BooleanEntitlementH\x00R\x07\x62oolean\x12@\n\x07numeric\x18\x02 \x01(\x0b\x32$.stigg.sidecar.v1.NumericEntitlementH\x00R\x07numeric\x12@\n\x07metered\x18\x03 \x01(\x0b\x32$.stigg.sidecar.v1.MeteredEntitlementH\x00R\x07meteredB\r\n\x0b\x65ntitlement\"o\n\x16GetEntitlementsRequest\x12\x1f\n\x0b\x63ustomer_id\x18\x01 \x01(\tR\ncustomerId\x12$\n\x0bresource_id\x18\x02 \x01(\tH\x00R\nresourceId\x88\x01\x01\x42\x0e\n\x0c_resource_id\"\\\n\x17GetEntitlementsResponse\x12\x41\n\x0c\x65ntitlements\x18\x01 \x03(\x0b\x32\x1d.stigg.sidecar.v1.EntitlementR\x0c\x65ntitlements\";\n\x1a\x42ooleanEntitlementFallback\x12\x1d\n\nhas_access\x18\x01 \x01(\x08R\thasAccess\"w\n\x19\x42ooleanEntitlementOptions\x12M\n\x08\x66\x61llback\x18\x01 \x01(\x0b\x32,.stigg.sidecar.v1.BooleanEntitlementFallbackH\x00R\x08\x66\x61llback\x88\x01\x01\x42\x0b\n\t_fallback\"\xec\x01\n\x1cGetBooleanEntitlementRequest\x12\x1f\n\x0b\x63ustomer_id\x18\x01 \x01(\tR\ncustomerId\x12\x1d\n\nfeature_id\x18\x02 \x01(\tR\tfeatureId\x12$\n\x0bresource_id\x18\x03 \x01(\tH\x00R\nresourceId\x88\x01\x01\x12J\n\x07options\x18\x04 \x01(\x0b\x32+.stigg.sidecar.v1.BooleanEntitlementOptionsH\x01R\x07options\x88\x01\x01\x42\x0e\n\x0c_resource_idB\n\n\x08_options\"\x9d\x02\n\x1dGetBooleanEntitlementResponse\x12\x1d\n\nhas_access\x18\x01 \x01(\x08R\thasAccess\x12\x1f\n\x0bis_fallback\x18\x02 \x01(\x08R\nisFallback\x12[\n\x14\x61\x63\x63\x65ss_denied_reason\x18\x03 \x01(\x0e\x32$.stigg.sidecar.v1.AccessDeniedReasonH\x00R\x12\x61\x63\x63\x65ssDeniedReason\x88\x01\x01\x12\x46\n\x0b\x65ntitlement\x18\x04 \x01(\x0b\x32$.stigg.sidecar.v1.BooleanEntitlementR\x0b\x65ntitlementB\x17\n\x15_access_denied_reason\"\x99\x01\n\x1aNumericEntitlementFallback\x12\x1d\n\nhas_access\x18\x01 \x01(\x08R\thasAccess\x12\x19\n\x05value\x18\x02 \x01(\x05H\x00R\x05value\x88\x01\x01\x12&\n\x0cis_unlimited\x18\x03 \x01(\x08H\x01R\x0bisUnlimited\x88\x01\x01\x42\x08\n\x06_valueB\x0f\n\r_is_unlimited\"w\n\x19NumericEntitlementOptions\x12M\n\x08\x66\x61llback\x18\x01 \x01(\x0b\x32,.stigg.sidecar.v1.NumericEntitlementFallbackH\x00R\x08\x66\x61llback\x88\x01\x01\x42\x0b\n\t_fallback\"\xec\x01\n\x1cGetNumericEntitlementRequest\x12\x1f\n\x0b\x63ustomer_id\x18\x01 \x01(\tR\ncustomerId\x12\x1d\n\nfeature_id\x18\x02 \x01(\tR\tfeatureId\x12$\n\x0bresource_id\x18\x03 \x01(\tH\x00R\nresourceId\x88\x01\x01\x12J\n\x07options\x18\x04 \x01(\x0b\x32+.stigg.sidecar.v1.NumericEntitlementOptionsH\x01R\x07options\x88\x01\x01\x42\x0e\n\x0c_resource_idB\n\n\x08_options\"\x9d\x02\n\x1dGetNumericEntitlementResponse\x12\x1d\n\nhas_access\x18\x01 \x01(\x08R\thasAccess\x12\x1f\n\x0bis_fallback\x18\x02 \x01(\x08R\nisFallback\x12[\n\x14\x61\x63\x63\x65ss_denied_reason\x18\x03 \x01(\x0e\x32$.stigg.sidecar.v1.AccessDeniedReasonH\x00R\x12\x61\x63\x63\x65ssDeniedReason\x88\x01\x01\x12\x46\n\x0b\x65ntitlement\x18\x04 \x01(\x0b\x32$.stigg.sidecar.v1.NumericEntitlementR\x0b\x65ntitlementB\x17\n\x15_access_denied_reason\"\xaa\x01\n\x1aMeteredEntitlementFallback\x12\x1d\n\nhas_access\x18\x01 \x01(\x08R\thasAccess\x12$\n\x0busage_limit\x18\x02 \x01(\x01H\x00R\nusageLimit\x88\x01\x01\x12&\n\x0cis_unlimited\x18\x03 \x01(\x08H\x01R\x0bisUnlimited\x88\x01\x01\x42\x0e\n\x0c_usage_limitB\x0f\n\r_is_unlimited\"\xb9\x01\n\x19MeteredEntitlementOptions\x12,\n\x0frequested_usage\x18\x01 \x01(\x01H\x00R\x0erequestedUsage\x88\x01\x01\x12M\n\x08\x66\x61llback\x18\x02 \x01(\x0b\x32,.stigg.sidecar.v1.MeteredEntitlementFallbackH\x01R\x08\x66\x61llback\x88\x01\x01\x42\x12\n\x10_requested_usageB\x0b\n\t_fallback\"\xec\x01\n\x1cGetMeteredEntitlementRequest\x12\x1f\n\x0b\x63ustomer_id\x18\x01 \x01(\tR\ncustomerId\x12\x1d\n\nfeature_id\x18\x02 \x01(\tR\tfeatureId\x12$\n\x0bresource_id\x18\x03 \x01(\tH\x00R\nresourceId\x88\x01\x01\x12J\n\x07options\x18\x04 \x01(\x0b\x32+.stigg.sidecar.v1.MeteredEntitlementOptionsH\x01R\x07options\x88\x01\x01\x42\x0e\n\x0c_resource_idB\n\n\x08_options\"\xc6\x02\n\x1dGetMeteredEntitlementResponse\x12\x1d\n\nhas_access\x18\x01 \x01(\x08R\thasAccess\x12\x1f\n\x0bis_fallback\x18\x02 \x01(\x08R\nisFallback\x12[\n\x14\x61\x63\x63\x65ss_denied_reason\x18\x03 \x01(\x0e\x32$.stigg.sidecar.v1.AccessDeniedReasonH\x00R\x12\x61\x63\x63\x65ssDeniedReason\x88\x01\x01\x12\'\n\x0frequested_usage\x18\x04 \x01(\x01R\x0erequestedUsage\x12\x46\n\x0b\x65ntitlement\x18\x05 \x01(\x0b\x32$.stigg.sidecar.v1.MeteredEntitlementR\x0b\x65ntitlementB\x17\n\x15_access_denied_reason\"\x98\x02\n\x0cRedisOptions\x12-\n\x12\x65nvironment_prefix\x18\x01 \x01(\tR\x11\x65nvironmentPrefix\x12\x17\n\x04host\x18\x02 \x01(\tH\x00R\x04host\x88\x01\x01\x12\x17\n\x04port\x18\x03 \x01(\x05H\x01R\x04port\x88\x01\x01\x12\x13\n\x02\x64\x62\x18\x04 \x01(\x05H\x02R\x02\x64\x62\x88\x01\x01\x12\x1f\n\x08username\x18\x05 \x01(\tH\x03R\x08username\x88\x01\x01\x12\x1f\n\x08password\x18\x06 \x01(\tH\x04R\x08password\x88\x01\x01\x12\x15\n\x03ttl\x18\x07 \x01(\x05H\x05R\x03ttl\x88\x01\x01\x42\x07\n\x05_hostB\x07\n\x05_portB\x05\n\x03_dbB\x0b\n\t_usernameB\x0b\n\t_passwordB\x06\n\x04_ttl\"\xff\x01\n\x13\x45ntitlementFallback\x12H\n\x07\x62oolean\x18\x01 \x01(\x0b\x32,.stigg.sidecar.v1.BooleanEntitlementFallbackH\x00R\x07\x62oolean\x12H\n\x07numeric\x18\x02 \x01(\x0b\x32,.stigg.sidecar.v1.NumericEntitlementFallbackH\x00R\x07numeric\x12H\n\x07metered\x18\x03 \x01(\x0b\x32,.stigg.sidecar.v1.MeteredEntitlementFallbackH\x00R\x07meteredB\n\n\x08\x66\x61llback\"\xbf\x01\n\tApiConfig\x12\x17\n\x07\x61pi_key\x18\x01 \x01(\tR\x06\x61piKey\x12\x1c\n\x07\x61pi_url\x18\x02 \x01(\tH\x00R\x06\x61piUrl\x88\x01\x01\x12&\n\x0c\x65\x64ge_enabled\x18\x03 \x01(\x08H\x01R\x0b\x65\x64geEnabled\x88\x01\x01\x12%\n\x0c\x65\x64ge_api_url\x18\x04 \x01(\tH\x02R\nedgeApiUrl\x88\x01\x01\x42\n\n\x08_api_urlB\x0f\n\r_edge_enabledB\x0f\n\r_edge_api_url\"\xe7\x03\n\x12LocalSidecarConfig\x12\"\n\nws_enabled\x18\x05 \x01(\x08H\x00R\twsEnabled\x88\x01\x01\x12\x1a\n\x06ws_url\x18\x06 \x01(\tH\x01R\x05wsUrl\x88\x01\x01\x12\x39\n\x05redis\x18\x07 \x01(\x0b\x32\x1e.stigg.sidecar.v1.RedisOptionsH\x02R\x05redis\x88\x01\x01\x12s\n\x15\x65ntitlements_fallback\x18\x08 \x03(\x0b\x32>.stigg.sidecar.v1.LocalSidecarConfig.EntitlementsFallbackEntryR\x14\x65ntitlementsFallback\x12\x34\n\x14\x63\x61\x63he_max_size_bytes\x18\t \x01(\x03H\x03R\x11\x63\x61\x63heMaxSizeBytes\x88\x01\x01\x1an\n\x19\x45ntitlementsFallbackEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12;\n\x05value\x18\x02 \x01(\x0b\x32%.stigg.sidecar.v1.EntitlementFallbackR\x05value:\x02\x38\x01\x42\r\n\x0b_ws_enabledB\t\n\x07_ws_urlB\x08\n\x06_redisB\x17\n\x15_cache_max_size_bytes\"\x89\x02\n\x12ReportUsageRequest\x12\x1f\n\x0b\x63ustomer_id\x18\x01 \x01(\tR\ncustomerId\x12$\n\x0bresource_id\x18\x02 \x01(\tH\x00R\nresourceId\x88\x01\x01\x12\x1d\n\nfeature_id\x18\x03 \x01(\tR\tfeatureId\x12\x14\n\x05value\x18\x04 \x01(\x01R\x05value\x12S\n\x0fupdate_behavior\x18\x05 \x01(\x0e\x32%.stigg.sidecar.v1.UsageUpdateBehaviorH\x01R\x0eupdateBehavior\x88\x01\x01\x42\x0e\n\x0c_resource_idB\x12\n\x10_update_behavior\"\x8f\x01\n\x13\x45ventDimensionValue\x12#\n\x0cstring_value\x18\x01 \x01(\tH\x00R\x0bstringValue\x12#\n\x0cnumber_value\x18\x02 \x01(\x01H\x00R\x0bnumberValue\x12%\n\rboolean_value\x18\x03 \x01(\x08H\x00R\x0c\x62ooleanValueB\x07\n\x05value\"\xa2\x03\n\x05\x45vent\x12\x1d\n\nevent_name\x18\x01 \x01(\tR\teventName\x12\x1f\n\x0b\x63ustomer_id\x18\x02 \x01(\tR\ncustomerId\x12\'\n\x0fidempotency_key\x18\x03 \x01(\tR\x0eidempotencyKey\x12$\n\x0bresource_id\x18\x04 \x01(\tH\x00R\nresourceId\x88\x01\x01\x12G\n\ndimensions\x18\x05 \x03(\x0b\x32\'.stigg.sidecar.v1.Event.DimensionsEntryR\ndimensions\x12=\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\ttimestamp\x88\x01\x01\x1a\x64\n\x0f\x44imensionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12;\n\x05value\x18\x02 \x01(\x0b\x32%.stigg.sidecar.v1.EventDimensionValueR\x05value:\x02\x38\x01\x42\x0e\n\x0c_resource_idB\x0c\n\n_timestamp\"<\n\x13ReportUsageResponse\x12%\n\x0emeasurement_id\x18\x01 \x01(\tR\rmeasurementId\"F\n\x13ReportEventsRequest\x12/\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x17.stigg.sidecar.v1.EventR\x06\x65vents\"r\n\x19ReloadEntitlementsRequest\x12\x1f\n\x0b\x63ustomer_id\x18\x01 \x01(\tR\ncustomerId\x12$\n\x0bresource_id\x18\x02 \x01(\tH\x00R\nresourceId\x88\x01\x01\x42\x0e\n\x0c_resource_id\"R\n\x1aReloadEntitlementsResponse\x12\x34\n\x16\x65ntitled_entity_exists\x18\x01 \x01(\x08R\x14\x65ntitledEntityExists*\xc6\x03\n\x12\x41\x63\x63\x65ssDeniedReason\x12$\n ACCESS_DENIED_REASON_UNSPECIFIED\x10\x00\x12 \n\x1c\x41\x43\x43\x45SS_DENIED_REASON_UNKNOWN\x10\x01\x12-\n)ACCESS_DENIED_REASON_CUSTOMER_IS_ARCHIVED\x10\x02\x12+\n\'ACCESS_DENIED_REASON_CUSTOMER_NOT_FOUND\x10\x03\x12\x34\n0ACCESS_DENIED_REASON_CUSTOMER_RESOURCE_NOT_FOUND\x10\x04\x12*\n&ACCESS_DENIED_REASON_FEATURE_NOT_FOUND\x10\x05\x12/\n+ACCESS_DENIED_REASON_NO_ACTIVE_SUBSCRIPTION\x10\x06\x12?\n;ACCESS_DENIED_REASON_NO_FEATURE_ENTITLEMENT_IN_SUBSCRIPTION\x10\x07\x12\x38\n4ACCESS_DENIED_REASON_REQUESTED_USAGE_EXCEEDING_LIMIT\x10\x08*^\n\x0b\x46\x65\x61tureType\x12\x1c\n\x18\x46\x45\x41TURE_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x46\x45\x41TURE_TYPE_BOOLEAN\x10\x01\x12\x17\n\x13\x46\x45\x41TURE_TYPE_NUMBER\x10\x02*t\n\tMeterType\x12\x1a\n\x16METER_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fMETER_TYPE_NONE\x10\x01\x12\x1a\n\x16METER_TYPE_FLUCTUATING\x10\x02\x12\x1a\n\x16METER_TYPE_INCREMENTAL\x10\x03*\xf1\x01\n\x16\x45ntitlementResetPeriod\x12(\n$ENTITLEMENT_RESET_PERIOD_UNSPECIFIED\x10\x00\x12 \n\x1c\x45NTITLEMENT_RESET_PERIOD_DAY\x10\x01\x12!\n\x1d\x45NTITLEMENT_RESET_PERIOD_HOUR\x10\x02\x12\"\n\x1e\x45NTITLEMENT_RESET_PERIOD_MONTH\x10\x03\x12!\n\x1d\x45NTITLEMENT_RESET_PERIOD_WEEK\x10\x04\x12!\n\x1d\x45NTITLEMENT_RESET_PERIOD_YEAR\x10\x05*|\n\x13UsageUpdateBehavior\x12%\n!USAGE_UPDATE_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x1f\n\x1bUSAGE_UPDATE_BEHAVIOR_DELTA\x10\x01\x12\x1d\n\x19USAGE_UPDATE_BEHAVIOR_SET\x10\x02\x32\x82\x06\n\x0eSidecarService\x12\x66\n\x0fGetEntitlements\x12(.stigg.sidecar.v1.GetEntitlementsRequest\x1a).stigg.sidecar.v1.GetEntitlementsResponse\x12x\n\x15GetBooleanEntitlement\x12..stigg.sidecar.v1.GetBooleanEntitlementRequest\x1a/.stigg.sidecar.v1.GetBooleanEntitlementResponse\x12x\n\x15GetNumericEntitlement\x12..stigg.sidecar.v1.GetNumericEntitlementRequest\x1a/.stigg.sidecar.v1.GetNumericEntitlementResponse\x12x\n\x15GetMeteredEntitlement\x12..stigg.sidecar.v1.GetMeteredEntitlementRequest\x1a/.stigg.sidecar.v1.GetMeteredEntitlementResponse\x12Z\n\x0bReportUsage\x12$.stigg.sidecar.v1.ReportUsageRequest\x1a%.stigg.sidecar.v1.ReportUsageResponse\x12M\n\x0cReportEvents\x12%.stigg.sidecar.v1.ReportEventsRequest\x1a\x16.google.protobuf.Empty\x12o\n\x12ReloadEntitlements\x12+.stigg.sidecar.v1.ReloadEntitlementsRequest\x1a,.stigg.sidecar.v1.ReloadEntitlementsResponseB\xd3\x01\n\x19io.stigg.sidecar.proto.v1B\x0cSidecarProtoP\x01ZFgithub.com/stiggio/sidecar-sdk-go/generated/stigg/sidecar/v1;sidecarv1\xa2\x02\x03SSX\xaa\x02\x10Stigg.Sidecar.V1\xca\x02\x10Stigg\\Sidecar\\V1\xe2\x02\x1cStigg\\Sidecar\\V1\\GPBMetadata\xea\x02\x12Stigg::Sidecar::V1b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
  pool.add_serialized_file(descriptor_data)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Stigg
4
4
  module Sidecar
5
- VERSION = "2.95.0"
5
+ VERSION = "2.103.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stigg-sidecar-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.95.0
4
+ version: 2.103.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-27 00:00:00.000000000 Z
11
+ date: 2024-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc