From 31628a74857f9f43732cc9ba77a4d7bd3e8a3813 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 13 Jul 2023 19:09:35 +0000 Subject: [PATCH] Regenerate client from commit 9ad4f63e of spec repo --- .apigentools-info | 8 ++--- .generator/schemas/v2/openapi.yaml | 16 ++++++++++ ...workload_security_agent_rule_attributes.py | 32 +++++++++++++++++++ 3 files changed, 52 insertions(+), 4 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 151fe9ba0e..55d6bc4815 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-11 16:39:33.303769", - "spec_repo_commit": "824086bb" + "regenerated": "2023-07-13 19:08:05.234547", + "spec_repo_commit": "9ad4f63e" }, "v2": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-11 16:39:33.412435", - "spec_repo_commit": "824086bb" + "regenerated": "2023-07-13 19:08:05.246545", + "spec_repo_commit": "9ad4f63e" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 0193b8aeaa..22e7fabaac 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -2756,10 +2756,17 @@ components: CloudWorkloadSecurityAgentRuleAttributes: description: A Cloud Workload Security Agent rule returned by the API. properties: + agentConstraint: + description: The version of the agent. + type: string category: description: The category of the Agent rule. example: Process Activity type: string + creationAuthorUuId: + description: The ID of the user who created the rule. + example: e51c9744-d158-11ec-ad23-da7ad0900002 + type: string creationDate: description: When the Agent rule was created, timestamp in milliseconds. example: 1624366480320 @@ -2787,6 +2794,15 @@ components: description: The name of the Agent rule. example: my_agent_rule type: string + updateAuthorUuId: + description: The ID of the user who updated the rule. + example: e51c9744-d158-11ec-ad23-da7ad0900002 + type: string + updateDate: + description: Timestamp in milliseconds when the Agent rule was last updated. + example: 1624366480320 + format: int64 + type: integer updatedAt: description: When the Agent rule was last updated, timestamp in milliseconds. example: 1624366480320 diff --git a/src/datadog_api_client/v2/model/cloud_workload_security_agent_rule_attributes.py b/src/datadog_api_client/v2/model/cloud_workload_security_agent_rule_attributes.py index 1242ddc9e1..baf2174e19 100644 --- a/src/datadog_api_client/v2/model/cloud_workload_security_agent_rule_attributes.py +++ b/src/datadog_api_client/v2/model/cloud_workload_security_agent_rule_attributes.py @@ -33,7 +33,9 @@ def openapi_types(_): ) return { + "agent_constraint": (str,), "category": (str,), + "creation_author_uu_id": (str,), "creation_date": (int,), "creator": (CloudWorkloadSecurityAgentRuleCreatorAttributes,), "default_rule": (bool,), @@ -41,13 +43,17 @@ def openapi_types(_): "enabled": (bool,), "expression": (str,), "name": (str,), + "update_author_uu_id": (str,), + "update_date": (int,), "updated_at": (int,), "updater": (CloudWorkloadSecurityAgentRuleUpdaterAttributes,), "version": (int,), } attribute_map = { + "agent_constraint": "agentConstraint", "category": "category", + "creation_author_uu_id": "creationAuthorUuId", "creation_date": "creationDate", "creator": "creator", "default_rule": "defaultRule", @@ -55,6 +61,8 @@ def openapi_types(_): "enabled": "enabled", "expression": "expression", "name": "name", + "update_author_uu_id": "updateAuthorUuId", + "update_date": "updateDate", "updated_at": "updatedAt", "updater": "updater", "version": "version", @@ -62,7 +70,9 @@ def openapi_types(_): def __init__( self_, + agent_constraint: Union[str, UnsetType] = unset, category: Union[str, UnsetType] = unset, + creation_author_uu_id: Union[str, UnsetType] = unset, creation_date: Union[int, UnsetType] = unset, creator: Union[CloudWorkloadSecurityAgentRuleCreatorAttributes, UnsetType] = unset, default_rule: Union[bool, UnsetType] = unset, @@ -70,6 +80,8 @@ def __init__( enabled: Union[bool, UnsetType] = unset, expression: Union[str, UnsetType] = unset, name: Union[str, UnsetType] = unset, + update_author_uu_id: Union[str, UnsetType] = unset, + update_date: Union[int, UnsetType] = unset, updated_at: Union[int, UnsetType] = unset, updater: Union[CloudWorkloadSecurityAgentRuleUpdaterAttributes, UnsetType] = unset, version: Union[int, UnsetType] = unset, @@ -78,9 +90,15 @@ def __init__( """ A Cloud Workload Security Agent rule returned by the API. + :param agent_constraint: The version of the agent. + :type agent_constraint: str, optional + :param category: The category of the Agent rule. :type category: str, optional + :param creation_author_uu_id: The ID of the user who created the rule. + :type creation_author_uu_id: str, optional + :param creation_date: When the Agent rule was created, timestamp in milliseconds. :type creation_date: int, optional @@ -102,6 +120,12 @@ def __init__( :param name: The name of the Agent rule. :type name: str, optional + :param update_author_uu_id: The ID of the user who updated the rule. + :type update_author_uu_id: str, optional + + :param update_date: Timestamp in milliseconds when the Agent rule was last updated. + :type update_date: int, optional + :param updated_at: When the Agent rule was last updated, timestamp in milliseconds. :type updated_at: int, optional @@ -111,8 +135,12 @@ def __init__( :param version: The version of the Agent rule. :type version: int, optional """ + if agent_constraint is not unset: + kwargs["agent_constraint"] = agent_constraint if category is not unset: kwargs["category"] = category + if creation_author_uu_id is not unset: + kwargs["creation_author_uu_id"] = creation_author_uu_id if creation_date is not unset: kwargs["creation_date"] = creation_date if creator is not unset: @@ -127,6 +155,10 @@ def __init__( kwargs["expression"] = expression if name is not unset: kwargs["name"] = name + if update_author_uu_id is not unset: + kwargs["update_author_uu_id"] = update_author_uu_id + if update_date is not unset: + kwargs["update_date"] = update_date if updated_at is not unset: kwargs["updated_at"] = updated_at if updater is not unset: