Debian Codegraph @

googleapis/cloud/billing/v1/alias.go

raw
1 // Copyright 2022 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
15 // Code generated by aliasgen. DO NOT EDIT.
16
17 // Package billing aliases all exported identifiers in package
18 // "cloud.google.com/go/billing/apiv1/billingpb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package billing
24
25 import (
26 src "cloud.google.com/go/billing/apiv1/billingpb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/billing/apiv1/billingpb
31 const (
32 AggregationInfo_ACCOUNT = src.AggregationInfo_ACCOUNT
33 AggregationInfo_AGGREGATION_INTERVAL_UNSPECIFIED = src.AggregationInfo_AGGREGATION_INTERVAL_UNSPECIFIED
34 AggregationInfo_AGGREGATION_LEVEL_UNSPECIFIED = src.AggregationInfo_AGGREGATION_LEVEL_UNSPECIFIED
35 AggregationInfo_DAILY = src.AggregationInfo_DAILY
36 AggregationInfo_MONTHLY = src.AggregationInfo_MONTHLY
37 AggregationInfo_PROJECT = src.AggregationInfo_PROJECT
38 )
39
40 // Deprecated: Please use vars in: cloud.google.com/go/billing/apiv1/billingpb
41 var (
42 AggregationInfo_AggregationInterval_name = src.AggregationInfo_AggregationInterval_name
43 AggregationInfo_AggregationInterval_value = src.AggregationInfo_AggregationInterval_value
44 AggregationInfo_AggregationLevel_name = src.AggregationInfo_AggregationLevel_name
45 AggregationInfo_AggregationLevel_value = src.AggregationInfo_AggregationLevel_value
46 File_google_cloud_billing_v1_cloud_billing_proto = src.File_google_cloud_billing_v1_cloud_billing_proto
47 File_google_cloud_billing_v1_cloud_catalog_proto = src.File_google_cloud_billing_v1_cloud_catalog_proto
48 )
49
50 // Represents the aggregation level and interval for pricing of a single SKU.
51 //
52 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
53 type AggregationInfo = src.AggregationInfo
54
55 // The interval at which usage is aggregated to compute cost. Example:
56 // "MONTHLY" aggregation interval indicates that usage for tiered pricing is
57 // aggregated every month.
58 //
59 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
60 type AggregationInfo_AggregationInterval = src.AggregationInfo_AggregationInterval
61
62 // The level at which usage is aggregated to compute cost. Example: "ACCOUNT"
63 // aggregation level indicates that usage for tiered pricing is aggregated
64 // across all projects in a single account.
65 //
66 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
67 type AggregationInfo_AggregationLevel = src.AggregationInfo_AggregationLevel
68
69 // A billing account in [GCP Console](https://console.cloud.google.com/). You
70 // can assign a billing account to one or more projects.
71 //
72 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
73 type BillingAccount = src.BillingAccount
74
75 // Represents the category hierarchy of a SKU.
76 //
77 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
78 type Category = src.Category
79
80 // CloudBillingClient is the client API for CloudBilling service. For
81 // semantics around ctx use and closing/ending streaming RPCs, please refer to
82 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
83 //
84 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
85 type CloudBillingClient = src.CloudBillingClient
86
87 // CloudBillingServer is the server API for CloudBilling service.
88 //
89 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
90 type CloudBillingServer = src.CloudBillingServer
91
92 // CloudCatalogClient is the client API for CloudCatalog service. For
93 // semantics around ctx use and closing/ending streaming RPCs, please refer to
94 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
95 //
96 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
97 type CloudCatalogClient = src.CloudCatalogClient
98
99 // CloudCatalogServer is the server API for CloudCatalog service.
100 //
101 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
102 type CloudCatalogServer = src.CloudCatalogServer
103
104 // Request message for `CreateBillingAccount`.
105 //
106 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
107 type CreateBillingAccountRequest = src.CreateBillingAccountRequest
108
109 // Request message for `GetBillingAccount`.
110 //
111 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
112 type GetBillingAccountRequest = src.GetBillingAccountRequest
113
114 // Request message for `GetProjectBillingInfo`.
115 //
116 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
117 type GetProjectBillingInfoRequest = src.GetProjectBillingInfoRequest
118
119 // Request message for `ListBillingAccounts`.
120 //
121 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
122 type ListBillingAccountsRequest = src.ListBillingAccountsRequest
123
124 // Response message for `ListBillingAccounts`.
125 //
126 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
127 type ListBillingAccountsResponse = src.ListBillingAccountsResponse
128
129 // Request message for `ListProjectBillingInfo`.
130 //
131 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
132 type ListProjectBillingInfoRequest = src.ListProjectBillingInfoRequest
133
134 // Request message for `ListProjectBillingInfoResponse`.
135 //
136 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
137 type ListProjectBillingInfoResponse = src.ListProjectBillingInfoResponse
138
139 // Request message for `ListServices`.
140 //
141 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
142 type ListServicesRequest = src.ListServicesRequest
143
144 // Response message for `ListServices`.
145 //
146 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
147 type ListServicesResponse = src.ListServicesResponse
148
149 // Request message for `ListSkus`.
150 //
151 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
152 type ListSkusRequest = src.ListSkusRequest
153
154 // Response message for `ListSkus`.
155 //
156 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
157 type ListSkusResponse = src.ListSkusResponse
158
159 // Expresses a mathematical pricing formula. For Example:- `usage_unit: GBy`
160 // `tiered_rates:` `[start_usage_amount: 20, unit_price: $10]`
161 // `[start_usage_amount: 100, unit_price: $5]` The above expresses a pricing
162 // formula where the first 20GB is free, the next 80GB is priced at $10 per GB
163 // followed by $5 per GB for additional usage.
164 //
165 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
166 type PricingExpression = src.PricingExpression
167
168 // The price rate indicating starting usage and its corresponding price.
169 //
170 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
171 type PricingExpression_TierRate = src.PricingExpression_TierRate
172
173 // Represents the pricing information for a SKU at a single point of time.
174 //
175 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
176 type PricingInfo = src.PricingInfo
177
178 // Encapsulation of billing information for a GCP Console project. A project
179 // has at most one associated billing account at a time (but a billing account
180 // can be assigned to multiple projects).
181 //
182 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
183 type ProjectBillingInfo = src.ProjectBillingInfo
184
185 // Encapsulates a single service in Google Cloud Platform.
186 //
187 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
188 type Service = src.Service
189
190 // Encapsulates a single SKU in Google Cloud Platform
191 //
192 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
193 type Sku = src.Sku
194
195 // UnimplementedCloudBillingServer can be embedded to have forward compatible
196 // implementations.
197 //
198 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
199 type UnimplementedCloudBillingServer = src.UnimplementedCloudBillingServer
200
201 // UnimplementedCloudCatalogServer can be embedded to have forward compatible
202 // implementations.
203 //
204 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
205 type UnimplementedCloudCatalogServer = src.UnimplementedCloudCatalogServer
206
207 // Request message for `UpdateBillingAccount`.
208 //
209 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
210 type UpdateBillingAccountRequest = src.UpdateBillingAccountRequest
211
212 // Request message for `UpdateProjectBillingInfo`.
213 //
214 // Deprecated: Please use types in: cloud.google.com/go/billing/apiv1/billingpb
215 type UpdateProjectBillingInfoRequest = src.UpdateProjectBillingInfoRequest
216
217 // Deprecated: Please use funcs in: cloud.google.com/go/billing/apiv1/billingpb
218 func NewCloudBillingClient(cc grpc.ClientConnInterface) CloudBillingClient {
219 return src.NewCloudBillingClient(cc)
220 }
221
222 // Deprecated: Please use funcs in: cloud.google.com/go/billing/apiv1/billingpb
223 func NewCloudCatalogClient(cc grpc.ClientConnInterface) CloudCatalogClient {
224 return src.NewCloudCatalogClient(cc)
225 }
226
227 // Deprecated: Please use funcs in: cloud.google.com/go/billing/apiv1/billingpb
228 func RegisterCloudBillingServer(s *grpc.Server, srv CloudBillingServer) {
229 src.RegisterCloudBillingServer(s, srv)
230 }
231
232 // Deprecated: Please use funcs in: cloud.google.com/go/billing/apiv1/billingpb
233 func RegisterCloudCatalogServer(s *grpc.Server, srv CloudCatalogServer) {
234 src.RegisterCloudCatalogServer(s, srv)
235 }