summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/groups.py
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-05-01 12:20:37 +0200
committerNejc Habjan <hab.nejc@gmail.com>2021-05-01 12:20:37 +0200
commitd20ff4ff7427519c8abccf53e3213e8929905441 (patch)
tree035da18690de636f97eeff822722a76cf761b48c /gitlab/v4/objects/groups.py
parent09ef8d405c8c0bd4ac2af076304113f0c7e544e2 (diff)
downloadgitlab-d20ff4ff7427519c8abccf53e3213e8929905441.tar.gz
fix(objects): add missing group attributes
Diffstat (limited to 'gitlab/v4/objects/groups.py')
-rw-r--r--gitlab/v4/objects/groups.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/gitlab/v4/objects/groups.py b/gitlab/v4/objects/groups.py
index bc83889..4a84e99 100644
--- a/gitlab/v4/objects/groups.py
+++ b/gitlab/v4/objects/groups.py
@@ -201,6 +201,7 @@ class GroupManager(CRUDMixin, RESTManager):
"owned",
"with_custom_attributes",
"min_access_level",
+ "top_level_only",
)
_create_attrs = RequiredOptional(
required=("name", "path"),
@@ -221,6 +222,8 @@ class GroupManager(CRUDMixin, RESTManager):
"request_access_enabled",
"parent_id",
"default_branch_protection",
+ "shared_runners_minutes_limit",
+ "extra_shared_runners_minutes_limit",
),
)
_update_attrs = RequiredOptional(
@@ -242,6 +245,11 @@ class GroupManager(CRUDMixin, RESTManager):
"lfs_enabled",
"request_access_enabled",
"default_branch_protection",
+ "file_template_project_id",
+ "shared_runners_minutes_limit",
+ "extra_shared_runners_minutes_limit",
+ "prevent_forking_outside_group",
+ "shared_runners_setting",
),
)
_types = {"avatar": types.ImageAttribute}
@@ -292,4 +300,5 @@ class GroupSubgroupManager(ListMixin, RESTManager):
"statistics",
"owned",
"with_custom_attributes",
+ "min_access_level",
)