@@ -34,6 +34,7 @@ def openapi_types(_):
3434 "attributes" : (SyntheticsGlobalVariableAttributes ,),
3535 "description" : (str ,),
3636 "id" : (str ,),
37+ "is_email" : (bool ,),
3738 "is_fido" : (bool ,),
3839 "is_totp" : (bool ,),
3940 "name" : (str ,),
@@ -47,6 +48,7 @@ def openapi_types(_):
4748 "attributes" : "attributes" ,
4849 "description" : "description" ,
4950 "id" : "id" ,
51+ "is_email" : "is_email" ,
5052 "is_fido" : "is_fido" ,
5153 "is_totp" : "is_totp" ,
5254 "name" : "name" ,
@@ -66,6 +68,7 @@ def __init__(
6668 tags : List [str ],
6769 attributes : Union [SyntheticsGlobalVariableAttributes , UnsetType ] = unset ,
6870 id : Union [str , UnsetType ] = unset ,
71+ is_email : Union [bool , UnsetType ] = unset ,
6972 is_fido : Union [bool , UnsetType ] = unset ,
7073 is_totp : Union [bool , UnsetType ] = unset ,
7174 parse_test_options : Union [SyntheticsGlobalVariableParseTestOptions , UnsetType ] = unset ,
@@ -74,7 +77,7 @@ def __init__(
7477 ** kwargs ,
7578 ):
7679 """
77- Details of the global variable to create.
80+ Details of the global variable to create or update .
7881
7982 :param attributes: Attributes of the global variable.
8083 :type attributes: SyntheticsGlobalVariableAttributes, optional
@@ -85,6 +88,12 @@ def __init__(
8588 :param id: Unique identifier of the global variable.
8689 :type id: str, optional
8790
91+ :param is_email: Whether this global variable is a persistent email variable. Set to ``true`` and omit ``value`` when creating
92+ a persistent email variable; Datadog generates an immutable email address. When updating an existing
93+ persistent email variable, omit ``value`` and either keep ``is_email`` set to ``true`` or omit it.
94+ The variable cannot be converted to or from a persistent email variable.
95+ :type is_email: bool, optional
96+
8897 :param is_fido: Determines if the global variable is a FIDO variable.
8998 :type is_fido: bool, optional
9099
@@ -110,6 +119,8 @@ def __init__(
110119 kwargs ["attributes" ] = attributes
111120 if id is not unset :
112121 kwargs ["id" ] = id
122+ if is_email is not unset :
123+ kwargs ["is_email" ] = is_email
113124 if is_fido is not unset :
114125 kwargs ["is_fido" ] = is_fido
115126 if is_totp is not unset :
0 commit comments