Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1563)

Side by Side Diff: discovery/googleapis/cloudbilling__v1.json

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/classroom__v1.json ('k') | discovery/googleapis/cloudbuild__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
11 "basePath": "", 11 "basePath": "",
12 "baseUrl": "https://cloudbilling.googleapis.com/", 12 "baseUrl": "https://cloudbilling.googleapis.com/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "description": "Retrieves Google Developers Console billing accounts and ass ociates them with projects.", 14 "description": "Allows developers to manage billing for their Google Cloud P latform projects\n programmatically.",
15 "discoveryVersion": "v1", 15 "discoveryVersion": "v1",
16 "documentationLink": "https://cloud.google.com/billing/", 16 "documentationLink": "https://cloud.google.com/billing/",
17 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/M2VzqGfwqR0FviWkPggfCzE5zZU\"",
18 "icons": { 17 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", 18 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" 19 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 }, 20 },
22 "id": "cloudbilling:v1", 21 "id": "cloudbilling:v1",
23 "kind": "discovery#restDescription", 22 "kind": "discovery#restDescription",
24 "name": "cloudbilling", 23 "name": "cloudbilling",
25 "ownerDomain": "google.com", 24 "ownerDomain": "google.com",
26 "ownerName": "Google", 25 "ownerName": "Google",
27 "parameters": { 26 "parameters": {
28 "access_token": { 27 "access_token": {
29 "description": "OAuth access token.", 28 "description": "OAuth access token.",
30 "location": "query", 29 "location": "query",
31 "type": "string" 30 "type": "string"
32 }, 31 },
32 "prettyPrint": {
33 "default": "true",
34 "description": "Returns response with indentations and line breaks." ,
35 "location": "query",
36 "type": "boolean"
37 },
38 "key": {
39 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
40 "location": "query",
41 "type": "string"
42 },
43 "quotaUser": {
44 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
45 "location": "query",
46 "type": "string"
47 },
48 "pp": {
49 "default": "true",
50 "description": "Pretty-print response.",
51 "location": "query",
52 "type": "boolean"
53 },
54 "fields": {
55 "description": "Selector specifying which fields to include in a par tial response.",
56 "location": "query",
57 "type": "string"
58 },
33 "alt": { 59 "alt": {
34 "default": "json", 60 "default": "json",
35 "description": "Data format for response.", 61 "description": "Data format for response.",
62 "enum": [
63 "json",
64 "media",
65 "proto"
66 ],
36 "enumDescriptions": [ 67 "enumDescriptions": [
37 "Responses with Content-Type of application/json", 68 "Responses with Content-Type of application/json",
38 "Media download with context-dependent Content-Type", 69 "Media download with context-dependent Content-Type",
39 "Responses with Content-Type of application/x-protobuf" 70 "Responses with Content-Type of application/x-protobuf"
40 ], 71 ],
41 "location": "query", 72 "location": "query",
42 "type": "string" 73 "type": "string"
43 }, 74 },
44 "bearer_token": { 75 "$.xgafv": {
45 "description": "OAuth bearer token.", 76 "description": "V1 error format.",
77 "enum": [
78 "1",
79 "2"
80 ],
81 "enumDescriptions": [
82 "v1 error format",
83 "v2 error format"
84 ],
46 "location": "query", 85 "location": "query",
47 "type": "string" 86 "type": "string"
48 }, 87 },
49 "callback": { 88 "callback": {
50 "description": "JSONP", 89 "description": "JSONP",
51 "location": "query", 90 "location": "query",
52 "type": "string" 91 "type": "string"
53 }, 92 },
54 "fields": {
55 "description": "Selector specifying which fields to include in a par tial response.",
56 "location": "query",
57 "type": "string"
58 },
59 "key": {
60 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
61 "location": "query",
62 "type": "string"
63 },
64 "oauth_token": { 93 "oauth_token": {
65 "description": "OAuth 2.0 token for the current user.", 94 "description": "OAuth 2.0 token for the current user.",
66 "location": "query", 95 "location": "query",
67 "type": "string" 96 "type": "string"
68 }, 97 },
69 "pp": { 98 "uploadType": {
70 "default": "true", 99 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
71 "description": "Pretty-print response.",
72 "location": "query",
73 "type": "boolean"
74 },
75 "prettyPrint": {
76 "default": "true",
77 "description": "Returns response with indentations and line breaks." ,
78 "location": "query",
79 "type": "boolean"
80 },
81 "quotaUser": {
82 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
83 "location": "query", 100 "location": "query",
84 "type": "string" 101 "type": "string"
85 }, 102 },
103 "bearer_token": {
104 "description": "OAuth bearer token.",
105 "location": "query",
106 "type": "string"
107 },
86 "upload_protocol": { 108 "upload_protocol": {
87 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 109 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
88 "location": "query", 110 "location": "query",
89 "type": "string" 111 "type": "string"
90 },
91 "uploadType": {
92 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
93 "location": "query",
94 "type": "string"
95 },
96 "$.xgafv": {
97 "description": "V1 error format.",
98 "enumDescriptions": [
99 "v1 error format",
100 "v2 error format"
101 ],
102 "location": "query",
103 "type": "string"
104 } 112 }
105 }, 113 },
106 "protocol": "rest", 114 "protocol": "rest",
107 "resources": { 115 "resources": {
116 "projects": {
117 "methods": {
118 "updateBillingInfo": {
119 "description": "Sets or updates the billing account associat ed with a project. You specify\nthe new billing account by setting the `billing_ account_name` in the\n`ProjectBillingInfo` resource to the resource name of a bi lling account.\nAssociating a project with an open billing account enables billi ng on the\nproject and allows charges for resource usage. If the project already had a\nbilling account, this method changes the billing account used for resour ce\nusage charges.\n\n*Note:* Incurred charges that have not yet been reported i n the transaction\nhistory of the Google Cloud Console may be billed to the new billing\naccount, even if the charge occurred before the new billing account was \nassigned to the project.\n\nThe current authenticated user must have ownership privileges for both the\n[project](https://cloud.google.com/docs/permissions-ov erview#h.bgs0oxofvnoo\n) and the [billing\naccount](https://support.google.com/c loud/answer/4430947).\n\nYou can disable billing on the project by setting the\n `billing_account_name` field to empty. This action disassociates the\ncurrent bi lling account from the project. Any billable activity of your\nin-use services w ill stop, and your application could stop functioning as\nexpected. Any unbilled charges to date will be billed to the previously\nassociated account. The curre nt authenticated user must be either an owner\nof the project or an owner of the billing account for the project.\n\nNote that associating a project with a *clo sed* billing account will have\nmuch the same effect as disabling billing on the project: any paid\nresources used by the project will be shut down. Thus, unles s you wish to\ndisable billing, you should always call this method with the name of an\n*open* billing account.",
120 "httpMethod": "PUT",
121 "id": "cloudbilling.projects.updateBillingInfo",
122 "parameterOrder": [
123 "name"
124 ],
125 "parameters": {
126 "name": {
127 "description": "The resource name of the project ass ociated with the billing information\nthat you want to update. For example, `pro jects/tokyo-rain-123`.",
128 "location": "path",
129 "pattern": "^projects/[^/]+$",
130 "required": true,
131 "type": "string"
132 }
133 },
134 "path": "v1/{+name}/billingInfo",
135 "request": {
136 "$ref": "ProjectBillingInfo"
137 },
138 "response": {
139 "$ref": "ProjectBillingInfo"
140 },
141 "scopes": [
142 "https://www.googleapis.com/auth/cloud-platform"
143 ]
144 },
145 "getBillingInfo": {
146 "description": "Gets the billing information for a project. The current authenticated user\nmust have [permission to view the\nproject](http s://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo\n).",
147 "httpMethod": "GET",
148 "id": "cloudbilling.projects.getBillingInfo",
149 "parameterOrder": [
150 "name"
151 ],
152 "parameters": {
153 "name": {
154 "description": "The resource name of the project for which billing information is\nretrieved. For example, `projects/tokyo-rain-123` .",
155 "location": "path",
156 "pattern": "^projects/[^/]+$",
157 "required": true,
158 "type": "string"
159 }
160 },
161 "path": "v1/{+name}/billingInfo",
162 "response": {
163 "$ref": "ProjectBillingInfo"
164 },
165 "scopes": [
166 "https://www.googleapis.com/auth/cloud-platform"
167 ]
168 }
169 }
170 },
108 "billingAccounts": { 171 "billingAccounts": {
109 "methods": { 172 "methods": {
110 "get": { 173 "get": {
111 "description": "Gets information about a billing account. Th e current authenticated user must be an [owner of the billing account](https://s upport.google.com/cloud/answer/4430947).", 174 "description": "Gets information about a billing account. Th e current authenticated user\nmust be an [owner of the billing\naccount](https:/ /support.google.com/cloud/answer/4430947).",
112 "httpMethod": "GET", 175 "httpMethod": "GET",
113 "id": "cloudbilling.billingAccounts.get", 176 "id": "cloudbilling.billingAccounts.get",
114 "parameterOrder": [ 177 "parameterOrder": [
115 "name" 178 "name"
116 ], 179 ],
117 "parameters": { 180 "parameters": {
118 "name": { 181 "name": {
119 "description": "The resource name of the billing acc ount to retrieve. For example, `billingAccounts/012345-567890-ABCDEF`.", 182 "description": "The resource name of the billing acc ount to retrieve. For example,\n`billingAccounts/012345-567890-ABCDEF`.",
120 "location": "path", 183 "location": "path",
121 "pattern": "^billingAccounts/[^/]*$", 184 "pattern": "^billingAccounts/[^/]+$",
122 "required": true, 185 "required": true,
123 "type": "string" 186 "type": "string"
124 } 187 }
125 }, 188 },
126 "path": "v1/{+name}", 189 "path": "v1/{+name}",
127 "response": { 190 "response": {
128 "$ref": "BillingAccount" 191 "$ref": "BillingAccount"
129 }, 192 },
130 "scopes": [ 193 "scopes": [
131 "https://www.googleapis.com/auth/cloud-platform" 194 "https://www.googleapis.com/auth/cloud-platform"
132 ] 195 ]
133 }, 196 },
134 "list": { 197 "list": {
135 "description": "Lists the billing accounts that the current authenticated user [owns](https://support.google.com/cloud/answer/4430947).", 198 "description": "Lists the billing accounts that the current authenticated user\n[owns](https://support.google.com/cloud/answer/4430947).",
136 "httpMethod": "GET", 199 "httpMethod": "GET",
137 "id": "cloudbilling.billingAccounts.list", 200 "id": "cloudbilling.billingAccounts.list",
201 "parameterOrder": [],
138 "parameters": { 202 "parameters": {
139 "pageSize": { 203 "pageSize": {
140 "description": "Requested page size. The maximum pag e size is 100; this is also the default.", 204 "description": "Requested page size. The maximum pag e size is 100; this is also the\ndefault.",
141 "format": "int32", 205 "format": "int32",
142 "location": "query", 206 "location": "query",
143 "type": "integer" 207 "type": "integer"
144 }, 208 },
145 "pageToken": { 209 "pageToken": {
146 "description": "A token identifying a page of result s to return. This should be a `next_page_token` value returned from a previous ` ListBillingAccounts` call. If unspecified, the first page of results is returned .", 210 "description": "A token identifying a page of result s to return. This should be a\n`next_page_token` value returned from a previous `ListBillingAccounts`\ncall. If unspecified, the first page of results is return ed.",
147 "location": "query", 211 "location": "query",
148 "type": "string" 212 "type": "string"
149 } 213 }
150 }, 214 },
151 "path": "v1/billingAccounts", 215 "path": "v1/billingAccounts",
152 "response": { 216 "response": {
153 "$ref": "ListBillingAccountsResponse" 217 "$ref": "ListBillingAccountsResponse"
154 }, 218 },
155 "scopes": [ 219 "scopes": [
156 "https://www.googleapis.com/auth/cloud-platform" 220 "https://www.googleapis.com/auth/cloud-platform"
157 ] 221 ]
158 } 222 }
159 }, 223 },
160 "resources": { 224 "resources": {
161 "projects": { 225 "projects": {
162 "methods": { 226 "methods": {
163 "list": { 227 "list": {
164 "description": "Lists the projects associated with a billing account. The current authenticated user must be an [owner of the billin g account](https://support.google.com/cloud/answer/4430947).", 228 "description": "Lists the projects associated with a billing account. The current\nauthenticated user must be an [owner of the billi ng\naccount](https://support.google.com/cloud/answer/4430947).",
165 "httpMethod": "GET", 229 "httpMethod": "GET",
166 "id": "cloudbilling.billingAccounts.projects.list", 230 "id": "cloudbilling.billingAccounts.projects.list",
167 "parameterOrder": [ 231 "parameterOrder": [
168 "name" 232 "name"
169 ], 233 ],
170 "parameters": { 234 "parameters": {
171 "name": {
172 "description": "The resource name of the bil ling account associated with the projects that you want to list. For example, `b illingAccounts/012345-567890-ABCDEF`.",
173 "location": "path",
174 "pattern": "^billingAccounts/[^/]*$",
175 "required": true,
176 "type": "string"
177 },
178 "pageSize": { 235 "pageSize": {
179 "description": "Requested page size. The max imum page size is 100; this is also the default.", 236 "description": "Requested page size. The max imum page size is 100; this is also the\ndefault.",
180 "format": "int32", 237 "format": "int32",
181 "location": "query", 238 "location": "query",
182 "type": "integer" 239 "type": "integer"
183 }, 240 },
241 "name": {
242 "description": "The resource name of the bil ling account associated with the projects that\nyou want to list. For example, ` billingAccounts/012345-567890-ABCDEF`.",
243 "location": "path",
244 "pattern": "^billingAccounts/[^/]+$",
245 "required": true,
246 "type": "string"
247 },
184 "pageToken": { 248 "pageToken": {
185 "description": "A token identifying a page o f results to be returned. This should be a `next_page_token` value returned from a previous `ListProjectBillingInfo` call. If unspecified, the first page of res ults is returned.", 249 "description": "A token identifying a page o f results to be returned. This should be a\n`next_page_token` value returned fro m a previous `ListProjectBillingInfo`\ncall. If unspecified, the first page of r esults is returned.",
186 "location": "query", 250 "location": "query",
187 "type": "string" 251 "type": "string"
188 } 252 }
189 }, 253 },
190 "path": "v1/{+name}/projects", 254 "path": "v1/{+name}/projects",
191 "response": { 255 "response": {
192 "$ref": "ListProjectBillingInfoResponse" 256 "$ref": "ListProjectBillingInfoResponse"
193 }, 257 },
194 "scopes": [ 258 "scopes": [
195 "https://www.googleapis.com/auth/cloud-platform" 259 "https://www.googleapis.com/auth/cloud-platform"
196 ] 260 ]
197 } 261 }
198 } 262 }
199 } 263 }
200 } 264 }
201 },
202 "projects": {
203 "methods": {
204 "getBillingInfo": {
205 "description": "Gets the billing information for a project. The current authenticated user must have [permission to view the project](https: //cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo ).",
206 "httpMethod": "GET",
207 "id": "cloudbilling.projects.getBillingInfo",
208 "parameterOrder": [
209 "name"
210 ],
211 "parameters": {
212 "name": {
213 "description": "The resource name of the project for which billing information is retrieved. For example, `projects/tokyo-rain-123`. ",
214 "location": "path",
215 "pattern": "^projects/[^/]*$",
216 "required": true,
217 "type": "string"
218 }
219 },
220 "path": "v1/{+name}/billingInfo",
221 "response": {
222 "$ref": "ProjectBillingInfo"
223 },
224 "scopes": [
225 "https://www.googleapis.com/auth/cloud-platform"
226 ]
227 },
228 "updateBillingInfo": {
229 "description": "Sets or updates the billing account associat ed with a project. You specify the new billing account by setting the `billing_a ccount_name` in the `ProjectBillingInfo` resource to the resource name of a bill ing account. Associating a project with an open billing account enables billing on the project and allows charges for resource usage. If the project already had a billing account, this method changes the billing account used for resource us age charges. *Note:* Incurred charges that have not yet been reported in the tra nsaction history of the Google Developers Console may be billed to the new billi ng account, even if the charge occurred before the new billing account was assig ned to the project. The current authenticated user must have ownership privilege s for both the [project](https://cloud.google.com/docs/permissions-overview#h.bg s0oxofvnoo ) and the [billing account](https://support.google.com/cloud/answer/4 430947). You can disable billing on the project by setting the `billing_account_ name` field to empty. This action disassociates the current billing account from the project. Any billable activity of your in-use services will stop, and your application could stop functioning as expected. Any unbilled charges to date wil l be billed to the previously associated account. The current authenticated user must be either an owner of the project or an owner of the billing account for t he project. Note that associating a project with a *closed* billing account will have much the same effect as disabling billing on the project: any paid resourc es used by the project will be shut down. Thus, unless you wish to disable billi ng, you should always call this method with the name of an *open* billing accoun t.",
230 "httpMethod": "PUT",
231 "id": "cloudbilling.projects.updateBillingInfo",
232 "parameterOrder": [
233 "name"
234 ],
235 "parameters": {
236 "name": {
237 "description": "The resource name of the project ass ociated with the billing information that you want to update. For example, `proj ects/tokyo-rain-123`.",
238 "location": "path",
239 "pattern": "^projects/[^/]*$",
240 "required": true,
241 "type": "string"
242 }
243 },
244 "path": "v1/{+name}/billingInfo",
245 "request": {
246 "$ref": "ProjectBillingInfo"
247 },
248 "response": {
249 "$ref": "ProjectBillingInfo"
250 },
251 "scopes": [
252 "https://www.googleapis.com/auth/cloud-platform"
253 ]
254 }
255 }
256 } 265 }
257 }, 266 },
258 "revision": "20151222", 267 "revision": "20170210",
259 "rootUrl": "https://cloudbilling.googleapis.com/", 268 "rootUrl": "https://cloudbilling.googleapis.com/",
260 "schemas": { 269 "schemas": {
261 "BillingAccount": { 270 "ProjectBillingInfo": {
262 "description": "A billing account in [Google Developers Console](htt ps://console.developers.google.com/). You can assign a billing account to one or more projects.", 271 "description": "Encapsulation of billing information for a Cloud Con sole project. A project\nhas at most one associated billing account at a time (b ut a billing account\ncan be assigned to multiple projects).",
263 "id": "BillingAccount", 272 "id": "ProjectBillingInfo",
264 "properties": { 273 "properties": {
274 "billingEnabled": {
275 "description": "True if the project is associated with an op en billing account, to which\nusage on the project is charged. False if the proj ect is associated with a\nclosed billing account, or no billing account at all, and therefore cannot\nuse paid services. This field is read-only.",
276 "type": "boolean"
277 },
265 "name": { 278 "name": {
266 "description": "The resource name of the billing account. Th e resource name has the form `billingAccounts/{billing_account_id}`. For example , `billingAccounts/012345-567890-ABCDEF` would be the resource name for billing account `012345-567890-ABCDEF`.", 279 "description": "The resource name for the `ProjectBillingInf o`; has the form\n`projects/{project_id}/billingInfo`. For example, the resource name for the\nbilling information for project `tokyo-rain-123` would be\n`proje cts/tokyo-rain-123/billingInfo`. This field is read-only.",
267 "type": "string" 280 "type": "string"
268 }, 281 },
269 "open": { 282 "projectId": {
270 "description": "True if the billing account is open, and wil l therefore be charged for any usage on associated projects. False if the billin g account is closed, and therefore projects associated with it will be unable to use paid services.", 283 "description": "The ID of the project that this `ProjectBill ingInfo` represents, such as\n`tokyo-rain-123`. This is a convenience field so t hat you don't need to\nparse the `name` field to obtain a project ID. This field is read-only.",
271 "type": "boolean" 284 "type": "string"
272 }, 285 },
273 "displayName": { 286 "billingAccountName": {
274 "description": "The display name given to the billing accoun t, such as `My Billing Account`. This name is displayed in the Google Developers Console.", 287 "description": "The resource name of the billing account ass ociated with the project, if\nany. For example, `billingAccounts/012345-567890-A BCDEF`.",
275 "type": "string" 288 "type": "string"
276 } 289 }
277 }, 290 },
278 "type": "object"
279 },
280 "ListBillingAccountsResponse": {
281 "description": "Response message for `ListBillingAccounts`.",
282 "id": "ListBillingAccountsResponse",
283 "properties": {
284 "billingAccounts": {
285 "description": "A list of billing accounts.",
286 "items": {
287 "$ref": "BillingAccount"
288 },
289 "type": "array"
290 },
291 "nextPageToken": {
292 "description": "A token to retrieve the next page of results . To retrieve the next page, call `ListBillingAccounts` again with the `page_tok en` field set to this value. This field is empty if there are no more results to retrieve.",
293 "type": "string"
294 }
295 },
296 "type": "object" 291 "type": "object"
297 }, 292 },
298 "ListProjectBillingInfoResponse": { 293 "ListProjectBillingInfoResponse": {
299 "description": "Request message for `ListProjectBillingInfoResponse` .", 294 "description": "Request message for `ListProjectBillingInfoResponse` .",
300 "id": "ListProjectBillingInfoResponse", 295 "id": "ListProjectBillingInfoResponse",
301 "properties": { 296 "properties": {
297 "nextPageToken": {
298 "description": "A token to retrieve the next page of results . To retrieve the next page,\ncall `ListProjectBillingInfo` again with the `page _token` field set to this\nvalue. This field is empty if there are no more resul ts to retrieve.",
299 "type": "string"
300 },
302 "projectBillingInfo": { 301 "projectBillingInfo": {
303 "description": "A list of `ProjectBillingInfo` resources rep resenting the projects associated with the billing account.", 302 "description": "A list of `ProjectBillingInfo` resources rep resenting the projects\nassociated with the billing account.",
304 "items": { 303 "items": {
305 "$ref": "ProjectBillingInfo" 304 "$ref": "ProjectBillingInfo"
306 }, 305 },
307 "type": "array" 306 "type": "array"
307 }
308 },
309 "type": "object"
310 },
311 "ListBillingAccountsResponse": {
312 "description": "Response message for `ListBillingAccounts`.",
313 "id": "ListBillingAccountsResponse",
314 "properties": {
315 "nextPageToken": {
316 "description": "A token to retrieve the next page of results . To retrieve the next page,\ncall `ListBillingAccounts` again with the `page_to ken` field set to this\nvalue. This field is empty if there are no more results to retrieve.",
317 "type": "string"
308 }, 318 },
309 "nextPageToken": { 319 "billingAccounts": {
310 "description": "A token to retrieve the next page of results . To retrieve the next page, call `ListProjectBillingInfo` again with the `page_ token` field set to this value. This field is empty if there are no more results to retrieve.", 320 "description": "A list of billing accounts.",
321 "items": {
322 "$ref": "BillingAccount"
323 },
324 "type": "array"
325 }
326 },
327 "type": "object"
328 },
329 "BillingAccount": {
330 "description": "A billing account in [Google Cloud\nConsole](https:/ /console.cloud.google.com/). You can assign a billing account\nto one or more pr ojects.",
331 "id": "BillingAccount",
332 "properties": {
333 "displayName": {
334 "description": "The display name given to the billing accoun t, such as `My Billing\nAccount`. This name is displayed in the Google Cloud Con sole.",
335 "type": "string"
336 },
337 "open": {
338 "description": "True if the billing account is open, and wil l therefore be charged for any\nusage on associated projects. False if the billi ng account is closed, and\ntherefore projects associated with it will be unable to use paid services.",
339 "type": "boolean"
340 },
341 "name": {
342 "description": "The resource name of the billing account. Th e resource name has the form\n`billingAccounts/{billing_account_id}`. For exampl e,\n`billingAccounts/012345-567890-ABCDEF` would be the resource name for\nbilli ng account `012345-567890-ABCDEF`.",
311 "type": "string" 343 "type": "string"
312 } 344 }
313 }, 345 },
314 "type": "object" 346 "type": "object"
315 },
316 "ProjectBillingInfo": {
317 "description": "Encapsulation of billing information for a Developer s Console project. A project has at most one associated billing account at a tim e (but a billing account can be assigned to multiple projects).",
318 "id": "ProjectBillingInfo",
319 "properties": {
320 "name": {
321 "description": "The resource name for the `ProjectBillingInf o`; has the form `projects/{project_id}/billingInfo`. For example, the resource name for the billing information for project `tokyo-rain-123` would be `projects /tokyo-rain-123/billingInfo`. This field is read-only.",
322 "type": "string"
323 },
324 "projectId": {
325 "description": "The ID of the project that this `ProjectBill ingInfo` represents, such as `tokyo-rain-123`. This is a convenience field so th at you don't need to parse the `name` field to obtain a project ID. This field i s read-only.",
326 "type": "string"
327 },
328 "billingAccountName": {
329 "description": "The resource name of the billing account ass ociated with the project, if any. For example, `billingAccounts/012345-567890-AB CDEF`.",
330 "type": "string"
331 },
332 "billingEnabled": {
333 "description": "True if the project is associated with an op en billing account, to which usage on the project is charged. False if the proje ct is associated with a closed billing account, or no billing account at all, an d therefore cannot use paid services. This field is read-only.",
334 "type": "boolean"
335 }
336 },
337 "type": "object"
338 } 347 }
339 }, 348 },
340 "servicePath": "", 349 "servicePath": "",
341 "title": "Google Cloud Billing API", 350 "title": "Google Cloud Billing API",
342 "version": "v1" 351 "version": "v1"
343 } 352 }
OLDNEW
« no previous file with comments | « discovery/googleapis/classroom__v1.json ('k') | discovery/googleapis/cloudbuild__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698