diff --git a/mixer/v1/attributes.proto b/mixer/v1/attributes.proto index 615ad16ed2b..fb431912dfb 100644 --- a/mixer/v1/attributes.proto +++ b/mixer/v1/attributes.proto @@ -106,7 +106,7 @@ message Attributes { map timestamp_attributes = 8 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; map duration_attributes = 9 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; map bytes_attributes = 10; - map stringMap_attributes = 11; + map stringMap_attributes = 11 [(gogoproto.nullable) = false]; // Attributes that should be removed from the specified attribute context. Deleting // attributes which aren't currently in the attribute context is not considered an error. diff --git a/mixer/v1/check.proto b/mixer/v1/check.proto index 746b683a62a..6783cc81bca 100644 --- a/mixer/v1/check.proto +++ b/mixer/v1/check.proto @@ -38,9 +38,12 @@ message CheckResponse { // Index of the request this response is associated with int64 request_index = 1; + // The attributes to use for this response + Attributes attribute_update = 2; + // Indicates whether or not the preconditions succeeded - google.rpc.Status result = 2 [(gogoproto.nullable) = false]; + google.rpc.Status result = 3 [(gogoproto.nullable) = false]; // The amount of time for which this result can be considered valid, given the same inputs - google.protobuf.Duration expiration = 3 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; + google.protobuf.Duration expiration = 4 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; } diff --git a/mixer/v1/quota.proto b/mixer/v1/quota.proto index 47977ed6e20..0238f7a31af 100644 --- a/mixer/v1/quota.proto +++ b/mixer/v1/quota.proto @@ -53,12 +53,15 @@ message QuotaResponse { // Index of the request this response is associated with. int64 request_index = 1; + // The attributes to use for this response + Attributes attribute_update = 2; + // Indicates whether the quota request was successfully processed. - google.rpc.Status result = 2 [(gogoproto.nullable) = false]; + google.rpc.Status result = 3 [(gogoproto.nullable) = false]; // The amount of time the returned quota can be considered valid, this is 0 for non-expiring quotas. - google.protobuf.Duration expiration = 3 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; + google.protobuf.Duration expiration = 4 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; // The total amount of quota returned, may be less than requested. - int64 amount = 4; + int64 amount = 5; } diff --git a/mixer/v1/report.proto b/mixer/v1/report.proto index 2c06d728994..d5530b7c7fb 100644 --- a/mixer/v1/report.proto +++ b/mixer/v1/report.proto @@ -37,6 +37,9 @@ message ReportResponse { // Index of the request this response is associated with int64 request_index = 1; + // The attributes to use for this response + Attributes attribute_update = 2; + // Indicates whether the report was processed or not - google.rpc.Status result = 2 [(gogoproto.nullable) = false]; + google.rpc.Status result = 3 [(gogoproto.nullable) = false]; }