@@ -51,7 +51,8 @@ service CloudBilling {
5151 // Lists the billing accounts that the current authenticated user has
5252 // permission to
5353 // [view](https://cloud.google.com/billing/docs/how-to/billing-access).
54- rpc ListBillingAccounts (ListBillingAccountsRequest ) returns (ListBillingAccountsResponse ) {
54+ rpc ListBillingAccounts (ListBillingAccountsRequest )
55+ returns (ListBillingAccountsResponse ) {
5556 option (google.api.http ) = {
5657 get : "/v1/billingAccounts"
5758 };
@@ -64,7 +65,8 @@ service CloudBilling {
6465 // IAM permission, which is typically given to the
6566 // [administrator](https://cloud.google.com/billing/docs/how-to/billing-access)
6667 // of the billing account.
67- rpc UpdateBillingAccount (UpdateBillingAccountRequest ) returns (BillingAccount ) {
68+ rpc UpdateBillingAccount (UpdateBillingAccountRequest )
69+ returns (BillingAccount ) {
6870 option (google.api.http ) = {
6971 patch : "/v1/{name=billingAccounts/*}"
7072 body : "account"
@@ -87,7 +89,8 @@ service CloudBilling {
8789 // [administrators](https://cloud.google.com/billing/docs/how-to/billing-access).
8890 // This method will return an error if the parent account has not been
8991 // provisioned as a reseller account.
90- rpc CreateBillingAccount (CreateBillingAccountRequest ) returns (BillingAccount ) {
92+ rpc CreateBillingAccount (CreateBillingAccountRequest )
93+ returns (BillingAccount ) {
9194 option (google.api.http ) = {
9295 post : "/v1/billingAccounts"
9396 body : "billing_account"
@@ -99,7 +102,8 @@ service CloudBilling {
99102 // authenticated user must have the `billing.resourceAssociations.list` IAM
100103 // permission, which is often given to billing account
101104 // [viewers](https://cloud.google.com/billing/docs/how-to/billing-access).
102- rpc ListProjectBillingInfo (ListProjectBillingInfoRequest ) returns (ListProjectBillingInfoResponse ) {
105+ rpc ListProjectBillingInfo (ListProjectBillingInfoRequest )
106+ returns (ListProjectBillingInfoResponse ) {
103107 option (google.api.http ) = {
104108 get : "/v1/{name=billingAccounts/*}/projects"
105109 };
@@ -111,7 +115,8 @@ service CloudBilling {
111115 // which can be granted by assigning the [Project
112116 // Viewer](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
113117 // role.
114- rpc GetProjectBillingInfo (GetProjectBillingInfoRequest ) returns (ProjectBillingInfo ) {
118+ rpc GetProjectBillingInfo (GetProjectBillingInfoRequest )
119+ returns (ProjectBillingInfo ) {
115120 option (google.api.http ) = {
116121 get : "/v1/{name=projects/*}/billingInfo"
117122 };
@@ -149,7 +154,8 @@ service CloudBilling {
149154 // resources used by the project will be shut down. Thus, unless you wish to
150155 // disable billing, you should always call this method with the name of an
151156 // *open* billing account.
152- rpc UpdateProjectBillingInfo (UpdateProjectBillingInfoRequest ) returns (ProjectBillingInfo ) {
157+ rpc UpdateProjectBillingInfo (UpdateProjectBillingInfoRequest )
158+ returns (ProjectBillingInfo ) {
153159 option (google.api.http ) = {
154160 put : "/v1/{name=projects/*}/billingInfo"
155161 body : "project_billing_info"
@@ -161,7 +167,8 @@ service CloudBilling {
161167 // The caller must have the `billing.accounts.getIamPolicy` permission on the
162168 // account, which is often given to billing account
163169 // [viewers](https://cloud.google.com/billing/docs/how-to/billing-access).
164- rpc GetIamPolicy (google.iam.v1.GetIamPolicyRequest ) returns (google.iam.v1.Policy ) {
170+ rpc GetIamPolicy (google.iam.v1.GetIamPolicyRequest )
171+ returns (google.iam.v1.Policy ) {
165172 option (google.api.http ) = {
166173 get : "/v1/{resource=billingAccounts/*}:getIamPolicy"
167174 };
@@ -173,7 +180,8 @@ service CloudBilling {
173180 // The caller must have the `billing.accounts.setIamPolicy` permission on the
174181 // account, which is often given to billing account
175182 // [administrators](https://cloud.google.com/billing/docs/how-to/billing-access).
176- rpc SetIamPolicy (google.iam.v1.SetIamPolicyRequest ) returns (google.iam.v1.Policy ) {
183+ rpc SetIamPolicy (google.iam.v1.SetIamPolicyRequest )
184+ returns (google.iam.v1.Policy ) {
177185 option (google.api.http ) = {
178186 post : "/v1/{resource=billingAccounts/*}:setIamPolicy"
179187 body : "*"
@@ -184,7 +192,8 @@ service CloudBilling {
184192 // Tests the access control policy for a billing account. This method takes
185193 // the resource and a set of permissions as input and returns the subset of
186194 // the input permissions that the caller is allowed for that resource.
187- rpc TestIamPermissions (google.iam.v1.TestIamPermissionsRequest ) returns (google.iam.v1.TestIamPermissionsResponse ) {
195+ rpc TestIamPermissions (google.iam.v1.TestIamPermissionsRequest )
196+ returns (google.iam.v1.TestIamPermissionsResponse ) {
188197 option (google.api.http ) = {
189198 post : "/v1/{resource=billingAccounts/*}:testIamPermissions"
190199 body : "*"
@@ -197,8 +206,8 @@ service CloudBilling {
197206// [Google Cloud Console](https://console.cloud.google.com/). You can assign a
198207// billing account to one or more projects.
199208message BillingAccount {
200- // Output only. The resource name of the billing account. The resource name has the form
201- // `billingAccounts/{billing_account_id}`. For example,
209+ // Output only. The resource name of the billing account. The resource name
210+ // has the form `billingAccounts/{billing_account_id}`. For example,
202211 // `billingAccounts/012345-567890-ABCDEF` would be the resource name for
203212 // billing account `012345-567890-ABCDEF`.
204213 string name = 1 [
@@ -208,9 +217,10 @@ message BillingAccount {
208217 }
209218 ];
210219
211- // Output only. True if the billing account is open, and will therefore be charged for any
212- // usage on associated projects. False if the billing account is closed, and
213- // therefore projects associated with it will be unable to use paid services.
220+ // Output only. True if the billing account is open, and will therefore be
221+ // charged for any usage on associated projects. False if the billing account
222+ // is closed, and therefore projects associated with it will be unable to use
223+ // paid services.
214224 bool open = 2 [(google.api.field_behavior ) = OUTPUT_ONLY ];
215225
216226 // The display name given to the billing account, such as `My Billing
@@ -253,8 +263,8 @@ message ProjectBillingInfo {
253263
254264// Request message for `GetBillingAccount`.
255265message GetBillingAccountRequest {
256- // Required. The resource name of the billing account to retrieve. For example,
257- // `billingAccounts/012345-567890-ABCDEF`.
266+ // Required. The resource name of the billing account to retrieve. For
267+ // example, `billingAccounts/012345-567890-ABCDEF`.
258268 string name = 1 [
259269 (google.api.field_behavior ) = REQUIRED ,
260270 (google.api.resource_reference ) = {
@@ -313,7 +323,8 @@ message UpdateBillingAccountRequest {
313323 }
314324 ];
315325
316- // Required. The billing account resource to replace the resource on the server.
326+ // Required. The billing account resource to replace the resource on the
327+ // server.
317328 BillingAccount account = 2 [(google.api.field_behavior ) = REQUIRED ];
318329
319330 // The update mask applied to the resource.
@@ -323,8 +334,9 @@ message UpdateBillingAccountRequest {
323334
324335// Request message for `ListProjectBillingInfo`.
325336message ListProjectBillingInfoRequest {
326- // Required. The resource name of the billing account associated with the projects that
327- // you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
337+ // Required. The resource name of the billing account associated with the
338+ // projects that you want to list. For example,
339+ // `billingAccounts/012345-567890-ABCDEF`.
328340 string name = 1 [
329341 (google.api.field_behavior ) = REQUIRED ,
330342 (google.api.resource_reference ) = {
@@ -363,8 +375,9 @@ message GetProjectBillingInfoRequest {
363375
364376// Request message for `UpdateProjectBillingInfo`.
365377message UpdateProjectBillingInfoRequest {
366- // Required. The resource name of the project associated with the billing information
367- // that you want to update. For example, `projects/tokyo-rain-123`.
378+ // Required. The resource name of the project associated with the billing
379+ // information that you want to update. For example,
380+ // `projects/tokyo-rain-123`.
368381 string name = 1 [(google.api.field_behavior ) = REQUIRED ];
369382
370383 // The new billing information for the project. Read-only fields are ignored;
0 commit comments