@@ -15894,6 +15894,212 @@ components:
1589415894 type: string
1589515895 x-enum-varnames:
1589615896 - GCP_SERVICE_ACCOUNT
15897+ GCPUsageCostConfig:
15898+ description: GCP Usage Cost config.
15899+ properties:
15900+ attributes:
15901+ $ref: '#/components/schemas/GCPUsageCostConfigAttributes'
15902+ id:
15903+ description: The ID of the GCP Usage Cost config.
15904+ type: string
15905+ type:
15906+ $ref: '#/components/schemas/GCPUsageCostConfigType'
15907+ required:
15908+ - attributes
15909+ - type
15910+ type: object
15911+ GCPUsageCostConfigAttributes:
15912+ description: Attributes for a GCP Usage Cost config.
15913+ properties:
15914+ account_id:
15915+ description: The GCP account ID.
15916+ example: 123456_A123BC_12AB34
15917+ type: string
15918+ bucket_name:
15919+ description: The GCP bucket name used to store the Usage Cost export.
15920+ example: dd-cost-bucket
15921+ type: string
15922+ created_at:
15923+ description: The timestamp when the GCP Usage Cost config was created.
15924+ pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{6}$
15925+ type: string
15926+ dataset:
15927+ description: The export dataset name used for the GCP Usage Cost Report.
15928+ example: billing
15929+ type: string
15930+ error_messages:
15931+ description: The error messages for the GCP Usage Cost config.
15932+ items:
15933+ type: string
15934+ nullable: true
15935+ type: array
15936+ export_prefix:
15937+ description: The export prefix used for the GCP Usage Cost Report.
15938+ example: datadog_cloud_cost_usage_export
15939+ type: string
15940+ export_project_name:
15941+ description: The name of the GCP Usage Cost Report.
15942+ example: dd-cloud-cost-report
15943+ type: string
15944+ months:
15945+ deprecated: true
15946+ description: The number of months the report has been backfilled.
15947+ format: int32
15948+ maximum: 36
15949+ type: integer
15950+ project_id:
15951+ description: The `project_id` of the GCP Usage Cost report.
15952+ example: my-project-123
15953+ type: string
15954+ service_account:
15955+ description: The unique GCP service account email.
15956+ 15957+ type: string
15958+ status:
15959+ description: The status of the GCP Usage Cost config.
15960+ example: active
15961+ type: string
15962+ status_updated_at:
15963+ description: The timestamp when the GCP Usage Cost config status was updated.
15964+ pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{6}$
15965+ type: string
15966+ updated_at:
15967+ description: The timestamp when the GCP Usage Cost config status was updated.
15968+ pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{6}$
15969+ type: string
15970+ required:
15971+ - account_id
15972+ - bucket_name
15973+ - dataset
15974+ - export_prefix
15975+ - export_project_name
15976+ - service_account
15977+ - status
15978+ type: object
15979+ GCPUsageCostConfigPatchData:
15980+ description: GCP Usage Cost config patch data.
15981+ properties:
15982+ attributes:
15983+ $ref: '#/components/schemas/GCPUsageCostConfigPatchRequestAttributes'
15984+ type:
15985+ $ref: '#/components/schemas/GCPUsageCostConfigPatchRequestType'
15986+ required:
15987+ - attributes
15988+ - type
15989+ type: object
15990+ GCPUsageCostConfigPatchRequest:
15991+ description: GCP Usage Cost config patch request.
15992+ properties:
15993+ data:
15994+ $ref: '#/components/schemas/GCPUsageCostConfigPatchData'
15995+ required:
15996+ - data
15997+ type: object
15998+ GCPUsageCostConfigPatchRequestAttributes:
15999+ description: Attributes for GCP Usage Cost config patch request.
16000+ properties:
16001+ is_enabled:
16002+ description: Whether or not the Cloud Cost Management account is enabled.
16003+ example: true
16004+ type: boolean
16005+ required:
16006+ - is_enabled
16007+ type: object
16008+ GCPUsageCostConfigPatchRequestType:
16009+ default: gcp_uc_config_patch_request
16010+ description: Type of GCP Usage Cost config patch request.
16011+ enum:
16012+ - gcp_uc_config_patch_request
16013+ example: gcp_uc_config_patch_request
16014+ type: string
16015+ x-enum-varnames:
16016+ - GCP_USAGE_COST_CONFIG_PATCH_REQUEST
16017+ GCPUsageCostConfigPostData:
16018+ description: GCP Usage Cost config post data.
16019+ properties:
16020+ attributes:
16021+ $ref: '#/components/schemas/GCPUsageCostConfigPostRequestAttributes'
16022+ type:
16023+ $ref: '#/components/schemas/GCPUsageCostConfigPostRequestType'
16024+ required:
16025+ - attributes
16026+ - type
16027+ type: object
16028+ GCPUsageCostConfigPostRequest:
16029+ description: GCP Usage Cost config post request.
16030+ properties:
16031+ data:
16032+ $ref: '#/components/schemas/GCPUsageCostConfigPostData'
16033+ required:
16034+ - data
16035+ type: object
16036+ GCPUsageCostConfigPostRequestAttributes:
16037+ description: Attributes for GCP Usage Cost config post request.
16038+ properties:
16039+ billing_account_id:
16040+ description: The GCP account ID.
16041+ example: 123456_A123BC_12AB34
16042+ type: string
16043+ bucket_name:
16044+ description: The GCP bucket name used to store the Usage Cost export.
16045+ example: dd-cost-bucket
16046+ type: string
16047+ export_dataset_name:
16048+ description: The export dataset name used for the GCP Usage Cost report.
16049+ example: billing
16050+ type: string
16051+ export_prefix:
16052+ description: The export prefix used for the GCP Usage Cost report.
16053+ example: datadog_cloud_cost_usage_export
16054+ type: string
16055+ export_project_name:
16056+ description: The name of the GCP Usage Cost report.
16057+ example: dd-cloud-cost-report
16058+ type: string
16059+ service_account:
16060+ description: The unique GCP service account email.
16061+ 16062+ type: string
16063+ required:
16064+ - billing_account_id
16065+ - bucket_name
16066+ - export_project_name
16067+ - export_dataset_name
16068+ - service_account
16069+ type: object
16070+ GCPUsageCostConfigPostRequestType:
16071+ default: gcp_uc_config_post_request
16072+ description: Type of GCP Usage Cost config post request.
16073+ enum:
16074+ - gcp_uc_config_post_request
16075+ example: gcp_usage_cost_config_post_request
16076+ type: string
16077+ x-enum-varnames:
16078+ - GCP_USAGE_COST_CONFIG_POST_REQUEST
16079+ GCPUsageCostConfigResponse:
16080+ description: Response of GCP Usage Cost config.
16081+ properties:
16082+ data:
16083+ $ref: '#/components/schemas/GCPUsageCostConfig'
16084+ type: object
16085+ GCPUsageCostConfigType:
16086+ default: gcp_uc_config
16087+ description: Type of GCP Usage Cost config.
16088+ enum:
16089+ - gcp_uc_config
16090+ example: gcp_uc_config
16091+ type: string
16092+ x-enum-varnames:
16093+ - GCP_UC_CONFIG
16094+ GCPUsageCostConfigsResponse:
16095+ description: List of GCP Usage Cost configs.
16096+ properties:
16097+ data:
16098+ description: A GCP Usage Cost config.
16099+ items:
16100+ $ref: '#/components/schemas/GCPUsageCostConfig'
16101+ type: array
16102+ type: object
1589716103 GetActionConnectionResponse:
1589816104 description: The response for found connection
1589916105 properties:
@@ -45453,6 +45659,152 @@ paths:
4545345659 summary: Get Custom Costs file
4545445660 tags:
4545545661 - Cloud Cost Management
45662+ /api/v2/cost/gcp_uc_config:
45663+ get:
45664+ description: List the GCP Usage Cost configs.
45665+ operationId: ListCostGCPUsageCostConfigs
45666+ responses:
45667+ '200':
45668+ content:
45669+ application/json:
45670+ schema:
45671+ $ref: '#/components/schemas/GCPUsageCostConfigsResponse'
45672+ description: OK
45673+ '403':
45674+ content:
45675+ application/json:
45676+ schema:
45677+ $ref: '#/components/schemas/APIErrorResponse'
45678+ description: Forbidden
45679+ '429':
45680+ $ref: '#/components/responses/TooManyRequestsResponse'
45681+ security:
45682+ - apiKeyAuth: []
45683+ appKeyAuth: []
45684+ - AuthZ:
45685+ - cloud_cost_management_read
45686+ summary: List Cloud Cost Management GCP Usage Cost configs
45687+ tags:
45688+ - Cloud Cost Management
45689+ x-permission:
45690+ operator: OR
45691+ permissions:
45692+ - cloud_cost_management_read
45693+ post:
45694+ description: Create a Cloud Cost Management account for an GCP Usage Cost config.
45695+ operationId: CreateCostGCPUsageCostConfig
45696+ requestBody:
45697+ content:
45698+ application/json:
45699+ schema:
45700+ $ref: '#/components/schemas/GCPUsageCostConfigPostRequest'
45701+ required: true
45702+ responses:
45703+ '200':
45704+ content:
45705+ application/json:
45706+ schema:
45707+ $ref: '#/components/schemas/GCPUsageCostConfigResponse'
45708+ description: OK
45709+ '400':
45710+ content:
45711+ application/json:
45712+ schema:
45713+ $ref: '#/components/schemas/APIErrorResponse'
45714+ description: Bad Request
45715+ '403':
45716+ content:
45717+ application/json:
45718+ schema:
45719+ $ref: '#/components/schemas/APIErrorResponse'
45720+ description: Forbidden
45721+ '429':
45722+ $ref: '#/components/responses/TooManyRequestsResponse'
45723+ security:
45724+ - apiKeyAuth: []
45725+ appKeyAuth: []
45726+ - AuthZ:
45727+ - cloud_cost_management_write
45728+ summary: Create Cloud Cost Management GCP Usage Cost config
45729+ tags:
45730+ - Cloud Cost Management
45731+ x-permission:
45732+ operator: OR
45733+ permissions:
45734+ - cloud_cost_management_write
45735+ /api/v2/cost/gcp_uc_config/{cloud_account_id}:
45736+ delete:
45737+ description: Archive a Cloud Cost Management account.
45738+ operationId: DeleteCostGCPUsageCostConfig
45739+ parameters:
45740+ - $ref: '#/components/parameters/CloudAccountID'
45741+ responses:
45742+ '204':
45743+ description: No Content
45744+ '400':
45745+ content:
45746+ application/json:
45747+ schema:
45748+ $ref: '#/components/schemas/APIErrorResponse'
45749+ description: Bad Request
45750+ '404':
45751+ content:
45752+ application/json:
45753+ schema:
45754+ $ref: '#/components/schemas/APIErrorResponse'
45755+ description: Not Found
45756+ '429':
45757+ $ref: '#/components/responses/TooManyRequestsResponse'
45758+ security:
45759+ - apiKeyAuth: []
45760+ appKeyAuth: []
45761+ - AuthZ:
45762+ - cloud_cost_management_write
45763+ summary: Delete Cloud Cost Management GCP Usage Cost config
45764+ tags:
45765+ - Cloud Cost Management
45766+ x-permission:
45767+ operator: OR
45768+ permissions:
45769+ - cloud_cost_management_write
45770+ patch:
45771+ description: Update the status of an GCP Usage Cost config (active/archived).
45772+ operationId: UpdateCostGCPUsageCostConfig
45773+ parameters:
45774+ - $ref: '#/components/parameters/CloudAccountID'
45775+ requestBody:
45776+ content:
45777+ application/json:
45778+ schema:
45779+ $ref: '#/components/schemas/GCPUsageCostConfigPatchRequest'
45780+ required: true
45781+ responses:
45782+ '200':
45783+ content:
45784+ application/json:
45785+ schema:
45786+ $ref: '#/components/schemas/GCPUsageCostConfigResponse'
45787+ description: OK
45788+ '403':
45789+ content:
45790+ application/json:
45791+ schema:
45792+ $ref: '#/components/schemas/APIErrorResponse'
45793+ description: Forbidden
45794+ '429':
45795+ $ref: '#/components/responses/TooManyRequestsResponse'
45796+ security:
45797+ - apiKeyAuth: []
45798+ appKeyAuth: []
45799+ - AuthZ:
45800+ - cloud_cost_management_write
45801+ summary: Update Cloud Cost Management GCP Usage Cost config
45802+ tags:
45803+ - Cloud Cost Management
45804+ x-permission:
45805+ operator: OR
45806+ permissions:
45807+ - cloud_cost_management_write
4545645808 /api/v2/cost_by_tag/active_billing_dimensions:
4545745809 get:
4545845810 description: Get active billing dimensions for cost attribution. Cost data for
@@ -63226,8 +63578,8 @@ tags:
6322663578 for more information.
6322763579 name: Case Management
6322863580- description: The Cloud Cost Management API allows you to set up, edit, and delete
63229- Cloud Cost Management accounts for AWS and Azure . You can query your cost data
63230- by using the [Metrics endpoint](https://docs.datadoghq.com/api/latest/metrics/#query-timeseries-data-across-multiple-products)
63581+ Cloud Cost Management accounts for AWS, Azure, and GCP . You can query your cost
63582+ data by using the [Metrics endpoint](https://docs.datadoghq.com/api/latest/metrics/#query-timeseries-data-across-multiple-products)
6323163583 and the `cloud_cost` data source. For more information, see the [Cloud Cost Management
6323263584 documentation](https://docs.datadoghq.com/cloud_cost_management/).
6323363585 name: Cloud Cost Management
0 commit comments