-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOC-2657 - update BE setup API to include GCP billing config schema i…
…nfo.
- Loading branch information
1 parent
f2d8721
commit a6f0485
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
api/services/beci/setup/schemas/BERegisteredSetupAccountGcpBillingConfig.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
properties: | ||
tableId: | ||
type: string | ||
description: ID of the BigQuery table which contains the billing data. | ||
datasetId: | ||
type: string | ||
description: ID of the BigQuery dataset to which the billing data is exported. | ||
projectId: | ||
type: string | ||
description: ID of the Google project to which the billing data is exported. | ||
type: object | ||
required: | ||
- tableId | ||
- datasetId | ||
- projectId | ||
title: BERegisteredSetupAccountGcpBillingConfig |
9 changes: 9 additions & 0 deletions
9
api/services/beci/setup/schemas/BERegisteredSetupAccountGcpConfig.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
properties: | ||
googleBillingConfiguration: | ||
$ref: BERegisteredSetupAccountGcpBillingConfig.yaml | ||
description: Configuration settings used to collect Google billing data. | ||
type: object | ||
required: | ||
- googleBillingConfiguration | ||
title: BERegisteredSetupAccountGcpConfig | ||
description: Configuration settings used to collect Google billing data. Requires that the target Spot account is linked to a Google project to which the billing data is exported. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters