@@ -2080,23 +2080,9 @@ message TotalDebitedTransactionsResponse {
20802080}
20812081
20822082message GetSubscriptionRequest {
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
2092- // ID of the billing account to get the subscription for
2093- string billing_id = 2 [
2094- deprecated = true ,
2095- (validate.rules ).string = {
2096- ignore_empty : true,
2097- uuid : true
2098- }
2099- ];
2083+ reserved 1 , 2 ;
2084+ reserved "org_id", "billing_id" ;
2085+
21002086 // ID of the subscription to get
21012087 string id = 3 [(validate.rules ) .string.min_len = 1 ];
21022088
@@ -2109,15 +2095,8 @@ message GetSubscriptionResponse {
21092095
21102096message ListSubscriptionsRequest {
21112097 string org_id = 1 [(validate.rules ) .string.min_len = 3 ];
2112- // DEPRECATED: billing_id will be inferred from org_id
2113- // ID of the billing account to list subscriptions for
2114- string billing_id = 2 [
2115- deprecated = true ,
2116- (validate.rules ).string = {
2117- ignore_empty : true,
2118- uuid : true
2119- }
2120- ];
2098+ reserved 2 ;
2099+ reserved "billing_id" ;
21212100
21222101 // Filter subscriptions by state
21232102 string state = 3 ;
@@ -2132,23 +2111,9 @@ message ListSubscriptionsResponse {
21322111}
21332112
21342113message UpdateSubscriptionRequest {
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
2144- // ID of the billing account to update the subscription for
2145- string billing_id = 2 [
2146- deprecated = true ,
2147- (validate.rules ).string = {
2148- ignore_empty : true,
2149- uuid : true
2150- }
2151- ];
2114+ reserved 1 , 2 ;
2115+ reserved "org_id", "billing_id" ;
2116+
21522117 // ID of the subscription to update
21532118 string id = 3 [(validate.rules ) .string.min_len = 1 ];
21542119
@@ -2161,23 +2126,9 @@ message UpdateSubscriptionResponse {
21612126}
21622127
21632128message ChangeSubscriptionRequest {
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
2173- // ID of the billing account to update the subscription for
2174- string billing_id = 2 [
2175- deprecated = true ,
2176- (validate.rules ).string = {
2177- ignore_empty : true,
2178- uuid : true
2179- }
2180- ];
2129+ reserved 1 , 2 ;
2130+ reserved "org_id", "billing_id" ;
2131+
21812132 // ID of the subscription to update
21822133 string id = 3 [(validate.rules ) .string.min_len = 1 ];
21832134
@@ -2212,23 +2163,9 @@ message ChangeSubscriptionResponse {
22122163}
22132164
22142165message CancelSubscriptionRequest {
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
2224- // ID of the billing account to update the subscription for
2225- string billing_id = 2 [
2226- deprecated = true ,
2227- (validate.rules ).string = {
2228- ignore_empty : true,
2229- uuid : true
2230- }
2231- ];
2166+ reserved 1 , 2 ;
2167+ reserved "org_id", "billing_id" ;
2168+
22322169 // ID of the subscription to cancel
22332170 string id = 3 [(validate.rules ) .string.min_len = 1 ];
22342171
0 commit comments