Skip to content

Commit

Permalink
Regenerate client from commit 39b75d82 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Feb 27, 2024
1 parent df2d451 commit e8d4efd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 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.6",
"regenerated": "2024-02-26 18:27:06.393279",
"spec_repo_commit": "65e025be"
"regenerated": "2024-02-27 14:00:13.959065",
"spec_repo_commit": "39b75d82"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-02-26 18:27:06.408833",
"spec_repo_commit": "65e025be"
"regenerated": "2024-02-27 14:00:14.094164",
"spec_repo_commit": "39b75d82"
}
}
}
1 change: 0 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10410,7 +10410,6 @@ components:
example: project-id
type: string
required:
- project_id
- client_email
type: object
LogsArchiveIntegrationS3:
Expand Down
10 changes: 7 additions & 3 deletions src/datadog_api_client/v2/model/logs_archive_integration_gcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
# Copyright 2019-Present Datadog, Inc.
from __future__ import annotations

from typing import Union

from datadog_api_client.model_utils import (
ModelNormal,
cached_property,
unset,
UnsetType,
)


Expand All @@ -23,17 +26,18 @@ def openapi_types(_):
"project_id": "project_id",
}

def __init__(self_, client_email: str, project_id: str, **kwargs):
def __init__(self_, client_email: str, project_id: Union[str, UnsetType] = unset, **kwargs):
"""
The GCS archive's integration destination.
:param client_email: A client email.
:type client_email: str
:param project_id: A project ID.
:type project_id: str
:type project_id: str, optional
"""
if project_id is not unset:
kwargs["project_id"] = project_id
super().__init__(kwargs)

self_.client_email = client_email
self_.project_id = project_id

0 comments on commit e8d4efd

Please sign in to comment.