def by_group_id(self,group_id: str) -> GroupItemRequestBuilder:
        """
        Gets an item from the msgraph.generated.print.shares.item.allowedGroups.item collection
        param group_id: The unique identifier of group
        Returns: GroupItemRequestBuilder
        """
        if group_id is None:
            raise TypeError("group_id cannot be null.")
        from .item.group_item_request_builder import GroupItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["group%2Did"] = group_id
        return GroupItemRequestBuilder(self.request_adapter, url_tpl_params)

        Gets an item from the msgraph.generated.print.shares.item.allowedGroups.item collection
        param group_id: The unique identifier of group
        Returns: GroupItemRequestBuilder
        
msgraph/generated/print/shares/item/allowed_groups/allowed_groups_request_builder.py