@@ -15872,6 +15872,212 @@ components:
1587215872 type: string
1587315873 x-enum-varnames:
1587415874 - GCP_SERVICE_ACCOUNT
15875+ GCPUsageCostConfig:
15876+ description: GCP Usage Cost config.
15877+ properties:
15878+ attributes:
15879+ $ref: '#/components/schemas/GCPUsageCostConfigAttributes'
15880+ id:
15881+ description: The ID of the GCP Usage Cost config.
15882+ type: string
15883+ type:
15884+ $ref: '#/components/schemas/GCPUsageCostConfigType'
15885+ required:
15886+ - attributes
15887+ - type
15888+ type: object
15889+ GCPUsageCostConfigAttributes:
15890+ description: Attributes for a GCP Usage Cost config.
15891+ properties:
15892+ account_id:
15893+ description: The GCP account ID.
15894+ example: 123456_A123BC_12AB34
15895+ type: string
15896+ bucket_name:
15897+ description: The GCP bucket name used to store the Usage Cost export.
15898+ example: dd-cost-bucket
15899+ type: string
15900+ created_at:
15901+ description: The timestamp when the GCP Usage Cost config was created.
15902+ pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{6}$
15903+ type: string
15904+ dataset:
15905+ description: The export dataset name used for the GCP Usage Cost Report.
15906+ example: billing
15907+ type: string
15908+ error_messages:
15909+ description: The error messages for the GCP Usage Cost config.
15910+ items:
15911+ type: string
15912+ nullable: true
15913+ type: array
15914+ export_prefix:
15915+ description: The export prefix used for the GCP Usage Cost Report.
15916+ example: datadog_cloud_cost_usage_export
15917+ type: string
15918+ export_project_name:
15919+ description: The name of the GCP Usage Cost Report.
15920+ example: dd-cloud-cost-report
15921+ type: string
15922+ months:
15923+ deprecated: true
15924+ description: The number of months the report has been backfilled.
15925+ format: int32
15926+ maximum: 36
15927+ type: integer
15928+ project_id:
15929+ description: The `project_id` of the GCP Usage Cost report.
15930+ example: my-project-123
15931+ type: string
15932+ service_account:
15933+ description: The unique GCP service account email.
15934+ 15935+ type: string
15936+ status:
15937+ description: The status of the GCP Usage Cost config.
15938+ example: active
15939+ type: string
15940+ status_updated_at:
15941+ description: The timestamp when the GCP Usage Cost config status was updated.
15942+ pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{6}$
15943+ type: string
15944+ updated_at:
15945+ description: The timestamp when the GCP Usage Cost config status was updated.
15946+ pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{6}$
15947+ type: string
15948+ required:
15949+ - account_id
15950+ - bucket_name
15951+ - dataset
15952+ - export_prefix
15953+ - export_project_name
15954+ - service_account
15955+ - status
15956+ type: object
15957+ GCPUsageCostConfigPatchData:
15958+ description: GCP Usage Cost config patch data.
15959+ properties:
15960+ attributes:
15961+ $ref: '#/components/schemas/GCPUsageCostConfigPatchRequestAttributes'
15962+ type:
15963+ $ref: '#/components/schemas/GCPUsageCostConfigPatchRequestType'
15964+ required:
15965+ - attributes
15966+ - type
15967+ type: object
15968+ GCPUsageCostConfigPatchRequest:
15969+ description: GCP Usage Cost config patch request.
15970+ properties:
15971+ data:
15972+ $ref: '#/components/schemas/GCPUsageCostConfigPatchData'
15973+ required:
15974+ - data
15975+ type: object
15976+ GCPUsageCostConfigPatchRequestAttributes:
15977+ description: Attributes for GCP Usage Cost config patch request.
15978+ properties:
15979+ is_enabled:
15980+ description: Whether or not the Cloud Cost Management account is enabled.
15981+ example: true
15982+ type: boolean
15983+ required:
15984+ - is_enabled
15985+ type: object
15986+ GCPUsageCostConfigPatchRequestType:
15987+ default: gcp_uc_config_patch_request
15988+ description: Type of GCP Usage Cost config patch request.
15989+ enum:
15990+ - gcp_uc_config_patch_request
15991+ example: gcp_uc_config_patch_request
15992+ type: string
15993+ x-enum-varnames:
15994+ - GCP_USAGE_COST_CONFIG_PATCH_REQUEST
15995+ GCPUsageCostConfigPostData:
15996+ description: GCP Usage Cost config post data.
15997+ properties:
15998+ attributes:
15999+ $ref: '#/components/schemas/GCPUsageCostConfigPostRequestAttributes'
16000+ type:
16001+ $ref: '#/components/schemas/GCPUsageCostConfigPostRequestType'
16002+ required:
16003+ - attributes
16004+ - type
16005+ type: object
16006+ GCPUsageCostConfigPostRequest:
16007+ description: GCP Usage Cost config post request.
16008+ properties:
16009+ data:
16010+ $ref: '#/components/schemas/GCPUsageCostConfigPostData'
16011+ required:
16012+ - data
16013+ type: object
16014+ GCPUsageCostConfigPostRequestAttributes:
16015+ description: Attributes for GCP Usage Cost config post request.
16016+ properties:
16017+ billing_account_id:
16018+ description: The GCP account ID.
16019+ example: 123456_A123BC_12AB34
16020+ type: string
16021+ bucket_name:
16022+ description: The GCP bucket name used to store the Usage Cost export.
16023+ example: dd-cost-bucket
16024+ type: string
16025+ export_dataset_name:
16026+ description: The export dataset name used for the GCP Usage Cost report.
16027+ example: billing
16028+ type: string
16029+ export_prefix:
16030+ description: The export prefix used for the GCP Usage Cost report.
16031+ example: datadog_cloud_cost_usage_export
16032+ type: string
16033+ export_project_name:
16034+ description: The name of the GCP Usage Cost report.
16035+ example: dd-cloud-cost-report
16036+ type: string
16037+ service_account:
16038+ description: The unique GCP service account email.
16039+ 16040+ type: string
16041+ required:
16042+ - billing_account_id
16043+ - bucket_name
16044+ - export_project_name
16045+ - export_dataset_name
16046+ - service_account
16047+ type: object
16048+ GCPUsageCostConfigPostRequestType:
16049+ default: gcp_uc_config_post_request
16050+ description: Type of GCP Usage Cost config post request.
16051+ enum:
16052+ - gcp_uc_config_post_request
16053+ example: gcp_usage_cost_config_post_request
16054+ type: string
16055+ x-enum-varnames:
16056+ - GCP_USAGE_COST_CONFIG_POST_REQUEST
16057+ GCPUsageCostConfigResponse:
16058+ description: Response of GCP Usage Cost config.
16059+ properties:
16060+ data:
16061+ $ref: '#/components/schemas/GCPUsageCostConfig'
16062+ type: object
16063+ GCPUsageCostConfigType:
16064+ default: gcp_uc_config
16065+ description: Type of GCP Usage Cost config.
16066+ enum:
16067+ - gcp_uc_config
16068+ example: gcp_uc_config
16069+ type: string
16070+ x-enum-varnames:
16071+ - GCP_UC_CONFIG
16072+ GCPUsageCostConfigsResponse:
16073+ description: List of GCP Usage Cost configs.
16074+ properties:
16075+ data:
16076+ description: A GCP Usage Cost config.
16077+ items:
16078+ $ref: '#/components/schemas/GCPUsageCostConfig'
16079+ type: array
16080+ type: object
1587516081 GetActionConnectionResponse:
1587616082 description: The response for found connection
1587716083 properties:
@@ -45344,6 +45550,152 @@ paths:
4534445550 summary: Get Custom Costs file
4534545551 tags:
4534645552 - Cloud Cost Management
45553+ /api/v2/cost/gcp_uc_config:
45554+ get:
45555+ description: List the GCP Usage Cost configs.
45556+ operationId: ListCostGCPUsageCostConfigs
45557+ responses:
45558+ '200':
45559+ content:
45560+ application/json:
45561+ schema:
45562+ $ref: '#/components/schemas/GCPUsageCostConfigsResponse'
45563+ description: OK
45564+ '403':
45565+ content:
45566+ application/json:
45567+ schema:
45568+ $ref: '#/components/schemas/APIErrorResponse'
45569+ description: Forbidden
45570+ '429':
45571+ $ref: '#/components/responses/TooManyRequestsResponse'
45572+ security:
45573+ - apiKeyAuth: []
45574+ appKeyAuth: []
45575+ - AuthZ:
45576+ - cloud_cost_management_read
45577+ summary: List Cloud Cost Management GCP Usage Cost configs
45578+ tags:
45579+ - Cloud Cost Management
45580+ x-permission:
45581+ operator: OR
45582+ permissions:
45583+ - cloud_cost_management_read
45584+ post:
45585+ description: Create a Cloud Cost Management account for an GCP Usage Cost config.
45586+ operationId: CreateCostGCPUsageCostConfig
45587+ requestBody:
45588+ content:
45589+ application/json:
45590+ schema:
45591+ $ref: '#/components/schemas/GCPUsageCostConfigPostRequest'
45592+ required: true
45593+ responses:
45594+ '200':
45595+ content:
45596+ application/json:
45597+ schema:
45598+ $ref: '#/components/schemas/GCPUsageCostConfigResponse'
45599+ description: OK
45600+ '400':
45601+ content:
45602+ application/json:
45603+ schema:
45604+ $ref: '#/components/schemas/APIErrorResponse'
45605+ description: Bad Request
45606+ '403':
45607+ content:
45608+ application/json:
45609+ schema:
45610+ $ref: '#/components/schemas/APIErrorResponse'
45611+ description: Forbidden
45612+ '429':
45613+ $ref: '#/components/responses/TooManyRequestsResponse'
45614+ security:
45615+ - apiKeyAuth: []
45616+ appKeyAuth: []
45617+ - AuthZ:
45618+ - cloud_cost_management_write
45619+ summary: Create Cloud Cost Management GCP Usage Cost config
45620+ tags:
45621+ - Cloud Cost Management
45622+ x-permission:
45623+ operator: OR
45624+ permissions:
45625+ - cloud_cost_management_write
45626+ /api/v2/cost/gcp_uc_config/{cloud_account_id}:
45627+ delete:
45628+ description: Archive a Cloud Cost Management account.
45629+ operationId: DeleteCostGCPUsageCostConfig
45630+ parameters:
45631+ - $ref: '#/components/parameters/CloudAccountID'
45632+ responses:
45633+ '204':
45634+ description: No Content
45635+ '400':
45636+ content:
45637+ application/json:
45638+ schema:
45639+ $ref: '#/components/schemas/APIErrorResponse'
45640+ description: Bad Request
45641+ '404':
45642+ content:
45643+ application/json:
45644+ schema:
45645+ $ref: '#/components/schemas/APIErrorResponse'
45646+ description: Not Found
45647+ '429':
45648+ $ref: '#/components/responses/TooManyRequestsResponse'
45649+ security:
45650+ - apiKeyAuth: []
45651+ appKeyAuth: []
45652+ - AuthZ:
45653+ - cloud_cost_management_write
45654+ summary: Delete Cloud Cost Management GCP Usage Cost config
45655+ tags:
45656+ - Cloud Cost Management
45657+ x-permission:
45658+ operator: OR
45659+ permissions:
45660+ - cloud_cost_management_write
45661+ patch:
45662+ description: Update the status of an GCP Usage Cost config (active/archived).
45663+ operationId: UpdateCostGCPUsageCostConfig
45664+ parameters:
45665+ - $ref: '#/components/parameters/CloudAccountID'
45666+ requestBody:
45667+ content:
45668+ application/json:
45669+ schema:
45670+ $ref: '#/components/schemas/GCPUsageCostConfigPatchRequest'
45671+ required: true
45672+ responses:
45673+ '200':
45674+ content:
45675+ application/json:
45676+ schema:
45677+ $ref: '#/components/schemas/GCPUsageCostConfigResponse'
45678+ description: OK
45679+ '403':
45680+ content:
45681+ application/json:
45682+ schema:
45683+ $ref: '#/components/schemas/APIErrorResponse'
45684+ description: Forbidden
45685+ '429':
45686+ $ref: '#/components/responses/TooManyRequestsResponse'
45687+ security:
45688+ - apiKeyAuth: []
45689+ appKeyAuth: []
45690+ - AuthZ:
45691+ - cloud_cost_management_write
45692+ summary: Update Cloud Cost Management GCP Usage Cost config
45693+ tags:
45694+ - Cloud Cost Management
45695+ x-permission:
45696+ operator: OR
45697+ permissions:
45698+ - cloud_cost_management_write
4534745699 /api/v2/cost_by_tag/active_billing_dimensions:
4534845700 get:
4534945701 description: Get active billing dimensions for cost attribution. Cost data for
@@ -62967,8 +63319,8 @@ tags:
6296763319 for more information.
6296863320 name: Case Management
6296963321- description: The Cloud Cost Management API allows you to set up, edit, and delete
62970- Cloud Cost Management accounts for AWS and Azure . You can query your cost data
62971- by using the [Metrics endpoint](https://docs.datadoghq.com/api/latest/metrics/#query-timeseries-data-across-multiple-products)
63322+ Cloud Cost Management accounts for AWS, Azure, and GCP . You can query your cost
63323+ data by using the [Metrics endpoint](https://docs.datadoghq.com/api/latest/metrics/#query-timeseries-data-across-multiple-products)
6297263324 and the `cloud_cost` data source. For more information, see the [Cloud Cost Management
6297363325 documentation](https://docs.datadoghq.com/cloud_cost_management/).
6297463326 name: Cloud Cost Management
0 commit comments