summaryrefslogtreecommitdiff
path: root/gitlab/v4
diff options
context:
space:
mode:
authorJohn Villalovos <john@sodarock.com>2021-05-01 09:05:24 -0700
committerGitHub <noreply@github.com>2021-05-01 09:05:24 -0700
commit5061972f7852002927805d82f133239d48141eb9 (patch)
treed34913d71498f46c060ca2cb0da3693e1e366f09 /gitlab/v4
parent1e6305e865d4e586f2fa3a5f638095d0c885e224 (diff)
parentd20ff4ff7427519c8abccf53e3213e8929905441 (diff)
downloadgitlab-5061972f7852002927805d82f133239d48141eb9.tar.gz
Merge pull request #1438 from python-gitlab/fix/missing-group-attributes
fix(objects): add missing group attributes
Diffstat (limited to 'gitlab/v4')
-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",
)