@@ -2080,8 +2080,15 @@ message TotalDebitedTransactionsResponse {
20802080}
20812081
20822082message GetSubscriptionRequest {
2083- string org_id = 1 [(validate.rules ) .string.min_len = 3 ];
2084- // DEPRECATED: billing_id will be inferred from org_id
2083+ // DEPRECATED: org_id will be inferred from subscription id
2084+ string org_id = 1 [
2085+ deprecated = true ,
2086+ (validate.rules ).string = {
2087+ ignore_empty : true,
2088+ min_len : 3
2089+ }
2090+ ];
2091+ // DEPRECATED: billing_id will be inferred from subscription id
20852092 // ID of the billing account to get the subscription for
20862093 string billing_id = 2 [
20872094 deprecated = true ,
@@ -2125,8 +2132,15 @@ message ListSubscriptionsResponse {
21252132}
21262133
21272134message UpdateSubscriptionRequest {
2128- string org_id = 1 [(validate.rules ) .string.min_len = 3 ];
2129- // DEPRECATED: billing_id will be inferred from org_id
2135+ // DEPRECATED: org_id will be inferred from subscription id
2136+ string org_id = 1 [
2137+ deprecated = true ,
2138+ (validate.rules ).string = {
2139+ ignore_empty : true,
2140+ min_len : 3
2141+ }
2142+ ];
2143+ // DEPRECATED: billing_id will be inferred from subscription id
21302144 // ID of the billing account to update the subscription for
21312145 string billing_id = 2 [
21322146 deprecated = true ,
@@ -2147,8 +2161,15 @@ message UpdateSubscriptionResponse {
21472161}
21482162
21492163message ChangeSubscriptionRequest {
2150- string org_id = 1 [(validate.rules ) .string.min_len = 3 ];
2151- // DEPRECATED: billing_id will be inferred from org_id
2164+ // DEPRECATED: org_id will be inferred from subscription id
2165+ string org_id = 1 [
2166+ deprecated = true ,
2167+ (validate.rules ).string = {
2168+ ignore_empty : true,
2169+ min_len : 3
2170+ }
2171+ ];
2172+ // DEPRECATED: billing_id will be inferred from subscription id
21522173 // ID of the billing account to update the subscription for
21532174 string billing_id = 2 [
21542175 deprecated = true ,
@@ -2191,8 +2212,15 @@ message ChangeSubscriptionResponse {
21912212}
21922213
21932214message CancelSubscriptionRequest {
2194- string org_id = 1 [(validate.rules ) .string.min_len = 3 ];
2195- // DEPRECATED: billing_id will be inferred from org_id
2215+ // DEPRECATED: org_id will be inferred from subscription id
2216+ string org_id = 1 [
2217+ deprecated = true ,
2218+ (validate.rules ).string = {
2219+ ignore_empty : true,
2220+ min_len : 3
2221+ }
2222+ ];
2223+ // DEPRECATED: billing_id will be inferred from subscription id
21962224 // ID of the billing account to update the subscription for
21972225 string billing_id = 2 [
21982226 deprecated = true ,
0 commit comments