xref: /aosp_15_r20/external/googleapis/google/cloud/channel/v1/billing_accounts.proto (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1// Copyright 2023 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto3";
16
17package google.cloud.channel.v1;
18
19import "google/api/field_behavior.proto";
20import "google/api/resource.proto";
21import "google/protobuf/timestamp.proto";
22
23option go_package = "cloud.google.com/go/channel/apiv1/channelpb;channelpb";
24option java_multiple_files = true;
25option java_outer_classname = "BillingAccountsProto";
26option java_package = "com.google.cloud.channel.v1";
27
28// Represents a billing account.
29message BillingAccount {
30  option (google.api.resource) = {
31    type: "cloudchannel.googleapis.com/BillingAccount"
32    pattern: "accounts/{account}/billingAccounts/{billing_account}"
33  };
34
35  // Output only. Resource name of the billing account.
36  // Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
37  string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
38
39  // Display name of the billing account.
40  string display_name = 2;
41
42  // Output only. The time when this billing account was created.
43  google.protobuf.Timestamp create_time = 3
44      [(google.api.field_behavior) = OUTPUT_ONLY];
45
46  // Output only. The 3-letter currency code defined in ISO 4217.
47  string currency_code = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
48
49  // Output only. The CLDR region code.
50  string region_code = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
51}
52