Skip to content

Commit

Permalink
Regenerate client from commit ab633716 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed May 25, 2023
1 parent 0213d3b commit 567fa47
Show file tree
Hide file tree
Showing 35 changed files with 2,340 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.4",
"regenerated": "2023-05-24 14:57:08.935141",
"spec_repo_commit": "a5ef3fab"
"regenerated": "2023-05-25 17:10:10.583000",
"spec_repo_commit": "ab633716"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-05-24 14:57:08.948020",
"spec_repo_commit": "a5ef3fab"
"regenerated": "2023-05-25 17:10:10.595753",
"spec_repo_commit": "ab633716"
}
}
}
311 changes: 311 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,13 @@ components:
required: true
schema:
type: string
GCPServiceAccountID:
description: Your GCP STS enabled service account's unique ID.
in: path
name: account_id
required: true
schema:
type: string
IncidentAttachmentFilterQueryParameter:
description: Specifies which types of attachments are included in the response.
explode: false
Expand Down Expand Up @@ -3929,6 +3936,156 @@ components:
nullable: true
type: array
type: object
GCPSTSAccount:
description: Your Google Cloud Platform STS enabled service accounts.
properties:
attributes:
$ref: '#/components/schemas/GCPServiceAccountAttributes'
id:
description: Your service account's unique ID.
example: d18bn126-4ab5-6789-0c1d-234g6a67j89
type: string
meta:
$ref: '#/components/schemas/GCPServiceAccountMeta'
type:
$ref: '#/components/schemas/GCPServiceAccountType'
type: object
GCPSTSDelegateAccount:
description: Datadog principal service account info.
properties:
attributes:
$ref: '#/components/schemas/GCPSTSDelegateAccountAttributes'
id:
description: The ID of the delegate service account.
example: ddgci-1a19n28hb1a812221893@datadog-gci-sts-us5-prod.iam.gserviceaccount.com
type: string
type:
$ref: '#/components/schemas/GCPSTSDelegateAccountType'
type: object
GCPSTSDelegateAccountAttributes:
description: Your delegate account attributes.
properties:
delegate_account_email:
description: Your organization's Datadog principal email address.
example: ddgci-1a19n28hb1a812221893@datadog-gci-sts-us5-prod.iam.gserviceaccount.com
type: string
type: object
GCPSTSDelegateAccountResponse:
description: Your delegate service account response data.
properties:
data:
$ref: '#/components/schemas/GCPSTSDelegateAccount'
type: object
GCPSTSDelegateAccountType:
default: gcp_sts_delegate
description: The type of account.
enum:
- gcp_sts_delegate
example: gcp_sts_delegate
type: string
x-enum-varnames:
- GCP_STS_DELEGATE
GCPSTSEnabledAccountData:
description: Object containing all your STS enabled accounts.
properties:
data:
description: Array of GCP STS enabled service accounts.
items:
$ref: '#/components/schemas/GCPSTSAccount'
type: array
type: object
GCPServiceAccount:
description: Info on your service account.
properties:
attributes:
$ref: '#/components/schemas/GCPServiceAccountAttributes'
id:
description: Your service account's unique ID.
example: d291291f-12c2-22g4-j290-123456678897
type: string
meta:
$ref: '#/components/schemas/GCPServiceAccountMeta'
type:
$ref: '#/components/schemas/GCPServiceAccountType'
type: object
GCPServiceAccountAttributes:
description: Attributes associated with your service account.
properties:
automute:
description: Silence monitors for expected GCE instance shutdowns.
type: boolean
client_email:
description: Your service account email address.
example: [email protected]
type: string
host_filters:
description: Your Host Filters.
items:
description: Host Filters
type: string
type: array
is_cspm_enabled:
description: When enabled, Datadog performs configuration checks across
your Google Cloud environment by continuously scanning every resource.
type: boolean
type: object
GCPServiceAccountCreateRequestData:
description: Data on your newly generated service account.
properties:
data:
$ref: '#/components/schemas/GCPServiceAccountData'
type: object
GCPServiceAccountData:
description: Additional metadata on your generated service account.
properties:
attributes:
$ref: '#/components/schemas/GCPServiceAccountAttributes'
type:
$ref: '#/components/schemas/GCPServiceAccountType'
type: object
GCPServiceAccountMeta:
description: Additional information related to your service account.
properties:
accessible_projects:
description: The current list of projects accessible from your service account.
items:
description: List of GCP projects.
type: string
type: array
type: object
GCPServiceAccountResponse:
description: The account creation response.
properties:
data:
$ref: '#/components/schemas/GCPServiceAccount'
type: object
GCPServiceAccountType:
default: gcp_service_account
description: The type of account.
enum:
- gcp_service_account
example: gcp_service_account
type: string
x-enum-varnames:
- GCP_SERVICE_ACCOUNT
GCPServiceAccountUpdateRequest:
description: Service account info.
properties:
data:
$ref: '#/components/schemas/GCPServiceAccountUpdateRequestData'
type: object
GCPServiceAccountUpdateRequestData:
description: Info on your newly generated service account.
properties:
attributes:
$ref: '#/components/schemas/GCPServiceAccountAttributes'
id:
description: Your service account's unique ID.
example: d291291f-12c2-22g4-j290-123456678897
type: string
type:
$ref: '#/components/schemas/GCPServiceAccountType'
type: object
GetFindingResponse:
description: The expected response schema when getting a finding.
properties:
Expand Down Expand Up @@ -16844,6 +17001,154 @@ paths:
x-unstable: '**Note**: This endpoint is in public beta.

If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v2/integration/gcp/accounts:
get:
description: List all GCP STS-enabled service accounts configured in your Datadog
account.
operationId: ListGCPSTSAccounts
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/GCPSTSEnabledAccountData'
description: OK
'403':
$ref: '#/components/responses/NotAuthorizedResponse'
'404':
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: List all GCP STS-enabled service accounts
tags:
- GCP Integration
post:
description: Create a new entry within Datadog for your STS enabled service
account.
operationId: CreateGCPSTSAccount
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/GCPServiceAccountCreateRequestData'
required: true
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/GCPServiceAccountResponse'
description: OK
'400':
$ref: '#/components/responses/BadRequestResponse'
'401':
$ref: '#/components/responses/UnauthorizedResponse'
'403':
$ref: '#/components/responses/NotAuthorizedResponse'
'409':
$ref: '#/components/responses/ConflictResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Create a new entry for your service account
tags:
- GCP Integration
x-codegen-request-body-name: body
/api/v2/integration/gcp/accounts/{account_id}:
delete:
description: Delete an STS enabled GCP account from within Datadog.
operationId: DeleteGCPSTSAccount
parameters:
- $ref: '#/components/parameters/GCPServiceAccountID'
responses:
'204':
description: No Content
'400':
$ref: '#/components/responses/BadRequestResponse'
'403':
$ref: '#/components/responses/NotAuthorizedResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Delete an STS enabled GCP Account
tags:
- GCP Integration
patch:
description: Update an STS enabled service account.
operationId: UpdateGCPSTSAccount
parameters:
- $ref: '#/components/parameters/GCPServiceAccountID'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/GCPServiceAccountUpdateRequest'
required: true
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/GCPServiceAccountResponse'
description: OK
'400':
$ref: '#/components/responses/BadRequestResponse'
'403':
$ref: '#/components/responses/NotAuthorizedResponse'
'404':
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Update STS Service Account
tags:
- GCP Integration
x-codegen-request-body-name: body
/api/v2/integration/gcp/sts_delegate:
get:
description: List your Datadog-GCP STS delegate account configured in your Datadog
account.
operationId: GetGCPSTSDelegate
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/GCPSTSDelegateAccountResponse'
description: OK
'403':
$ref: '#/components/responses/NotAuthorizedResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: List delegate account
tags:
- GCP Integration
x-codegen-request-body-name: body
post:
description: Create a Datadog GCP principal.
operationId: MakeGCPSTSDelegate
requestBody:
content:
application/json:
schema:
example: {}
type: object
description: Create a delegate service account within Datadog.
required: false
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/GCPSTSDelegateAccountResponse'
description: OK
'403':
$ref: '#/components/responses/NotAuthorizedResponse'
'409':
$ref: '#/components/responses/ConflictResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Create a Datadog GCP principal
tags:
- GCP Integration
x-codegen-request-body-name: body
/api/v2/integration/opsgenie/services:
get:
description: Get a list of all services from the Datadog Opsgenie integration.
Expand Down Expand Up @@ -24352,6 +24657,12 @@ tags:
- description: Configure your Datadog Fastly integration directly through the Datadog
API.
name: Fastly Integration
- description: 'Configure your Datadog-Google Cloud Platform (GCP) integration directly

through the Datadog API. Read more about the [Datadog-Google Cloud Platform integration](https://docs.datadoghq.com/integrations/google_cloud_platform).'
externalDocs:
url: https://docs.datadoghq.com/integrations/google_cloud_platform
name: GCP Integration
- description: 'The IP allowlist API is used to manage the IP addresses that

can access the Datadog API and web UI. It does not block
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2023-05-18T15:02:26.265Z"
Loading

0 comments on commit 567fa47

Please sign in to comment.