@@ -1347,8 +1347,8 @@ class GroupVariableManager(CRUDMixin, RESTManager):
13471347 _path = "/groups/%(group_id)s/variables"
13481348 _obj_cls = GroupVariable
13491349 _from_parent_attrs = {"group_id" : "id" }
1350- _create_attrs = (("key" , "value" ), ("protected" , "variable_type" ))
1351- _update_attrs = (("key" , "value" ), ("protected" , "variable_type" ))
1350+ _create_attrs = (("key" , "value" ), ("protected" , "variable_type" , "masked" ))
1351+ _update_attrs = (("key" , "value" ), ("protected" , "variable_type" , "masked" ))
13521352
13531353
13541354class Group (SaveMixin , ObjectDeleteMixin , RESTObject ):
@@ -4018,8 +4018,8 @@ class ProjectVariableManager(CRUDMixin, RESTManager):
40184018 _path = "/projects/%(project_id)s/variables"
40194019 _obj_cls = ProjectVariable
40204020 _from_parent_attrs = {"project_id" : "id" }
4021- _create_attrs = (("key" , "value" ), ("protected" , "variable_type" ))
4022- _update_attrs = (("key" , "value" ), ("protected" , "variable_type" ))
4021+ _create_attrs = (("key" , "value" ), ("protected" , "variable_type" , "masked" ))
4022+ _update_attrs = (("key" , "value" ), ("protected" , "variable_type" , "masked" ))
40234023
40244024
40254025class ProjectService (SaveMixin , ObjectDeleteMixin , RESTObject ):
0 commit comments